Topic on Project:Support desk

Jump to navigation Jump to search

Categories aren't populated after XML import, refreshLinks, and runJobs

3
PFWOz (talkcontribs)

I've read Topic:Uqs4b6a7u20b4fsu. I'm running MW 1.31.1, PHP 7.2, Apache2 with APCu.

If I import a large number of XML-exported pages via Special:Import, the categories for those pages aren't populated until I edit and save a new revision on each page, or run a bot to touch each page without revising them.

Topic:Uqs4b6a7u20b4fsu strongly suggests this is a symptom of the job queue not having been run, but I've got the runJobs.php maintenance task running every 30 seconds. The topic also suggests running refreshLinks.php to force reparsing the page; this also does not work.

Are there any other options that don't require running a bot across all of the imported pages after each import?

Ciencia Al Poder (talkcontribs)

refreshLinks.php should work. If it doesn't, then there's a job queue problem, maybe caused by a misbehaving extension that crashes when the LinksUpdate jobs are run or inserted on the job queue.

Enable the display of PHP errors and add logs for errors and exceptions, as explained in Manual:How_to_debug

PFWOz (talkcontribs)

This is on a stock tarball install of 1.31.1 so no added extensions. Debug logging did not log crashes or errors, the imported pages simply are not being queued until touched. I've abandoned the project as a result but will revisit if I try again and file a bug if this behavior persists.

Reply to "Categories aren't populated after XML import, refreshLinks, and runJobs"