Is the package index broken on the wiki?

The package index at :
https://openwrt.org/packages/index/start
appears to not link to proper package pages and instead shows :

~NOCACHE~~ ~HIDEPAGE~~ ~NOTRANS~~

At the top of the page. Logged in or not.
Has someone edited the wiki and accidentally taken the package index out?
I was trying to link to an entry for php7-cli in a page I was editing but the package entry was not showing up in searches via the wiki's search box. Looking deeper it appears that something might have happened to all the package pages.

Has anyone else noticed it and is anyone fixing it?

Thanks.

Fixed.

@bobafetthotmail There was a missing "~" at the beginning of the line (must be 2x "~")

~NOCACHE~~
~HIDEPAGE~~
~NOTRANS~~

I added this now.

If you created this page via script, you should update it accordingly.

I thought I fixed it in the script last weekend, will have to look into it again.

Still, if you look into categories you see that the pagequery is failing. I'm a bit puzzled by that.
https://openwrt.org/packages/index/administration
Also the page query in the package index of LEDE package lists is failing, and I didn't touch that
https://openwrt.org/packages/index_lede17_1/administration

Oops, that was me.
I noticed that the wiki search was getting spammed again by packages and excluded the pkgdata namespace from the search. Obviously that was a bit too much.

I think we had the following already in the pkgdata entries, but seems it got lost somewhere:

~~HIDEPAGE~~
~~NOTRANS~~

This should hide the pkgdata from the search, but not from the pagequery.

Neat, that was caused by my attempt at fixing the lack of the ~ as I noticed also packages were missing the first "tilde" symbol for some reason, as the script is supposed to add that at the beginning of each package.

I'll have a look at the script tomorrow.

Cool.
Nice to see you guys on top of it. :+1:

@tmomas
@bobafetthotmail
I can see it's mostly fixed now. Good job. :+1:
FYI I'm seeing :

~HIDEPAGE~~ ~NOTRANS~~ ~NOSIDEBAR~~

at the top of :
https://openwrt.org/packages/index/languages---php

Yeah I know. The index pages (and the package pages) are generated by the package indexing script running in the wiki server, so the proper fix is fixing the script. I'll look into it today.

Good luck!

Ok the script should be fixed.
I started it and within a day or so (when it has finished indexing the packages) it should fix all the pkgdata not having the tags, and the index having broken tags.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.