Topic on Project:Support desk

Category page does not show links to pages in category

5
84.72.156.189 (talkcontribs)

I've just finished installing a new MediaWiki 1.27.0 installation in a Docker container based on Debian Jessie. backed by MariaDB. The extension VisualEditor is installed and works fine. The Wiki is configured to use the German language.

I created a new page and added [[Category:Test]]. I now see the link to the category page but when I follow this link the category-page keeps telling me: "No pages in this category". I also tried [[Kategorie:Test]] but same issue here. Link to the category is visible on this page but the category-page still says "empty".

Any ideas what could be wrong here?

87.123.58.46 (talkcontribs)

Often this problem is happening, because the job queue is not executing jobs properly.

You could now debug, what is going wrong in your case. It might be that jobs are not executed at all. Or that the value of $wgJobRunRate is too low for how you are using the wiki.

Finally, you can run the maintenance script runJobs.php, maybe also regularly as a cron job to get jobs executed.

84.72.156.189 (talkcontribs)

Thank you!

Looks like the jobs did not execute at all. I executed the command on the console and it did at least 50 jobs. Now the page is shown on the category page.

I assume something prevents the "job execution on page request" from working. Maybe related to the short-url rewrites I'm doing. I'll dig into it.

84.72.156.189 (talkcontribs)

I may have found it…

MediaWiki tries to access http://domainname/index.php. This URL is behind a reverse proxy which redirects everything to https but it does not look like MediaWiki follows this redirect. As soon as I overwrite the domain name with "localhost" it starts to work.

Ciencia Al Poder (talkcontribs)

task T68485. You'll need to set $wgRunJobsAsync to false in LocalSettings.php

Reply to "Category page does not show links to pages in category"