Topic on Project:Support desk

Page Edits not shown for logged out users

9
Mick0sky (talkcontribs)

This has not been a problem until recently.

I log into my account on my mediawiki page (my account has admin rights) and make an edit to a page The edit does not show up for other users. If I log out, the edit is not shown - but there is an entry in the page history for the edit. Also I can change image files, and those changes show up for all users.

I have cleared my browser cache, logged out, logged in again. The page edit is not visible unless I am logged in. If I log in, I see the edit.

I don't know what has changed in the site. I am the sole admin.

Mick0sky (talkcontribs)

also, even when I am logged OUT, I can still see the changes show up in the diffs for the page.

EDIT and I can see the edit in the source tab.

Ciencia Al Poder (talkcontribs)

What MediaWiki version? If it's 1.27 or 1.28, it may be that the Manual:Job queue is not running properly. See how many jobs are pending, and if you see a lot (a hundred or more) consider set $wgRunJobsAsync to false and/or manually call runJobs.php.

83.135.234.235 (talkcontribs)

Ciencia, has there been a change that the job queue now also handles updates of regular pages? Note we are not speaking about an un-updated category here...

Mick0sky, what happens when after editing a page, you purge the cache of that page using action=purge? Does it then still display the old revision? Or is it showing the correct version then?

Mick0sky (talkcontribs)

Thank you for the replies. Using api.php ? action=query&meta=siteinfo&siprop=statistics

I see:

jobs="0"

I just tried purging of cache and still the old revision is displayed. (only when logged out)

  • MediaWiki: 1.15.5-2squeeze4
  • PHP: 5.3.3-7+squeeze29 (cgi-fcgi)
  • MySQL: 5.1.73-1+deb6u1-log
Mick0sky (talkcontribs)

Would an update to recent version of mediawiki be the best option for (attempted) fix? If I did an update would any of these "invisible" edits be lost?

83.135.233.127 (talkcontribs)

Version 1.15 is really old and really insecure. Yes, updating it is a good idea!

No edits will be lost in that process. Edits are saved inside the database (e.g. in the database tables text, revision and page). The recent changes table can always be rebuilt again based on the information from other tables.

But, you should make sure that you are having a recent and working(!) backup of the wiki before you start the upgrade.

For details see upgrading! With your PHP version you coul duse MediaWiki 1.23 or 1.26, but not newer versions. And don't hesitate to ask again here, if you have more questions!

Mick0sky (talkcontribs)

In the meantime would trying to execute rebuildFileCache.php be a reasonable thing to try? Or one of the other scripts in the maintenance directory?

83.135.233.127 (talkcontribs)

You could run it, but there are a few things to note: This script rebuilds the file cache. This cache contains rendered HTML of wiki pages. By default, $wgUseFileCache is set to false, so that MediaWiki will not use the file cache in which case running this script does not do anything useful.

If the file cache however is used, then running rebuildFileCache.php might be worth a try. However, I would upgrade anyway.

Reply to "Page Edits not shown for logged out users"