Topic on Project:Support desk

What makes wiki links go from red to blue/purple?

8
198.129.106.24 (talkcontribs)

From: http://www.mediawiki.org/wiki/Help:Starting_a_new_page


Once the page has been created, the link will change from red to blue (purple for pages you've visited) indicating that the article now exists.


What (maintenance scripts?) makes the link go from red to blue/purple after the page has been created? I am noticing the links are not getting updated to blue/purple after the page is created. Are there any manual jobs I can run to make this happen?

88.130.75.87 (talkcontribs)

YES! And there you are, another one of the "job queue not working" problems!

You can run the maintenance script runJobs.php to get open jobs done; this includes re-rendering pages, which have to be updated (e.g. because they contain links, which need an update).

198.129.106.24 (talkcontribs)

runJobs.php did the trick - Thank you. There were MANY jobs in queue... I guess this will have to go in my crontab. Are there any fixes for this? I think this started happening after upgrading from 1.22 to 1.24..

88.130.75.87 (talkcontribs)

And this is still unfixed in 1.25. :-(

Sure, you can add the script to your crontab, but I only consider this to be a workaround, not a proper fix.

Ciencia Al Poder (talkcontribs)

Apparently, MediaWiki is using the job queue for more things lately, so the refreshlinks / cache jobs need to compete with others. So basically, after you create the page it may take a few jobs until the cache of those pages is refreshed.

Setting $wgJobRunRate to a value less than 1 makes the thing worse.

88.130.88.6 (talkcontribs)

Right. The default makes it so that one job is run on average every hundred's page request. If you change a page, which is linked at a number of places and if your wiki only has a few hits (e.g. an internal wiki used only by some company members), you will likely come to the point where the queue gets more new entries than it can work away. In the result the queue is filling more and more and your wiki will seem more and more broken (e.g. because of outdated links).

TheDJ (talkcontribs)

I've opened ticket phab:T101967 for this, since I feel that this is coming up way too often lately.....

Norsen1983 (talkcontribs)

Hi gents!

What can I do as a quick workaround? I tried to run runJobs.php, but my links are still red... I described details here Topic:Shozlbms8znlu0jx

Sergey

Reply to "What makes wiki links go from red to blue/purple?"