Topic on Project:Support desk

Pages not added to Categories (setting wgRunJobsAsync and wgJobRunRate didn't help)

3
2001:4B98:DC0:47:216:3EFF:FE3D:888C (talkcontribs)

Hi,


I installed MediaWiki 1.32.1 and created some test pages. Furthermore I created Category:Pages with some descriptionary text and added the test pages to categories (inserting Category:Foo in brackets). I can see the categories at the bottom of each page.


When I now try to access Special:Categories the page shows me the categories, but every page has 0 entries.


When looking for the issue, I found several sites which suggested to run the runJobs script which I did. I also set $wgRunJobsAsync = false; and $wgJobRunRate = 3; in my LocalSettings.php. Both changes didn't help. The site api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm shows that there are 0 open jobs.


What coudl be the issue here? Do you have other ideas why pages don't get added to category view?


Thanks

Ciencia Al Poder (talkcontribs)

Note that changing settings like $wgRunJobsAsync = false; etc when there are 0 jobs to run won't add the categories back. If some jobs failed completely to work, or even to be queued, due to a bad extension or problem with PHP, they won't get added again.

Anyway, $wgRunJobsAsync is false by default. I suggest to remove a category from a page, enable the debug log (see Manual:How to debug) and then add again the category to the page, and see if there's some relevant error on the debug log.

Jonathan3 (talkcontribs)
Reply to "Pages not added to Categories (setting wgRunJobsAsync and wgJobRunRate didn't help)"