Last modified: 2014-05-27 15:22:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67665, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65665 - Revisions missing from mediawiki.org.
Revisions missing from mediawiki.org.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.24rc
All All
: Highest critical with 1 vote (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks: wmf-deployment
  Show dependency treegraph
 
Reported: 2014-05-23 06:25 UTC by Nemo
Modified: 2014-05-27 15:22 UTC (History)
13 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---
bjorsch: Backport_WMF+


Attachments
Screenshot of sidebar on mediawiki.org (91.70 KB, image/png)
2014-05-23 06:25 UTC, Nemo
Details
Screenshot of a sidebar message (10.39 KB, image/png)
2014-05-23 07:01 UTC, Nemo
Details

Description Nemo 2014-05-23 06:25:35 UTC
Created attachment 15460 [details]
Screenshot of sidebar on mediawiki.org

Several custom sidebar links on mediawiki.org have "disappeared": they now show an empty bullet in monobook and an empty space in Vector. Tested with: en, it interface language; Firefox, Chromium; registered or unregistered.

There were no changes to MediaWiki:Sidebar or any of its messages in the last weeks.
https://www.mediawiki.org/w/index.php?title=MediaWiki:Sidebar&oldid=933913
https://www.mediawiki.org/w/index.php?namespace=8&title=Special%3ARecentChanges
Comment 2 Nemo 2014-05-23 07:01:06 UTC
Created attachment 15461 [details]
Screenshot of a sidebar message

Right. Some sidebar messages seem to have vanished in the space void. For instance mw-download is displayed as empty on wiki and even an old revision which should have 13 bytes lost its text: https://www.mediawiki.org/w/index.php?title=MediaWiki:Mw-download&action=edit&oldid=229289
Comment 3 FunPika 2014-05-23 10:22:02 UTC
From what I'm seeing, any revisions on mediawiki.org between early 2007 and early 2009 (not sure of the exact dates) have disappeared. This is probably a problem with mediawiki.org's database instead of MediaWiki. 

Ex: https://www.mediawiki.org/w/index.php?title=MediaWiki:Mw-extensions&diff=229287&oldid=64636 (One revision of this difference (229287) was not found.)
https://www.mediawiki.org/w/index.php?title=MediaWiki%3ASidebar&diff=231738&oldid=79314 2 revisions of this difference (79314 and 231738) were not found.
Comment 4 Nemo 2014-05-23 10:29:37 UTC
Ok, checking 100 rev_id's later gives an example outside ns8. https://www.mediawiki.org/?oldid=229389
Comment 5 Andre Klapper 2014-05-23 10:31:47 UTC
Thanks everybody for reporting and investigating here!

1.24wmf6 group 0. From mediawiki.org source code:
<li id="n-mw-bugtracker"><a href="/wiki/Bugzilla"></a></li>
[...]
<li id="n-cat-browser"><a href="INVALID-TITLE"></a></li>
<li id="n-portal"><a href="INVALID-TITLE" title="About the project, what you can do, where to find things">Community portal</a></li>
Comment 6 Sean Pringle 2014-05-23 11:19:16 UTC
The example revisions appear intact on the mediawikiwiki database servers (master and slaves), so it might be broken on a higher layer.

Will check external storage and db error logs.
Comment 7 Erwin Dokter 2014-05-23 11:36:47 UTC
Purged MediaWiki:Support and it reappeared.
Comment 8 Erwin Dokter 2014-05-23 11:40:21 UTC
That only works on default messages. Purging messages with history only makes the message *name* appear in the menu (revision still not found).
Comment 9 Brad Jorsch 2014-05-23 13:47:13 UTC
I see the same thing on testwiki, which leads me to suspect an issue in 1.24wmf6.
Comment 10 Kevin Israel (PleaseStand) 2014-05-23 14:13:23 UTC
(In reply to FunPika from comment #3)
> From what I'm seeing, any revisions on mediawiki.org between early 2007 and
> early 2009 (not sure of the exact dates) have disappeared. This is probably
> a problem with mediawiki.org's database instead of MediaWiki. 

Probably caused by a7fbdd6503ba, which changed visibility modifiers in includes/HistoryBlob.php, in particular DiffHistoryBlob::$mCompressed.

This sort of problem already appeared twice; see bug 56911 and bug 65375. It has to stop.
Comment 11 Brad Jorsch 2014-05-23 15:05:30 UTC
(In reply to Kevin Israel (PleaseStand) from comment #10)
> Probably caused by a7fbdd6503ba, which changed visibility modifiers in
> includes/HistoryBlob.php, in particular DiffHistoryBlob::$mCompressed.

Yes, I just determined that myself. Patch to follow momentarily.

> This sort of problem already appeared twice; see bug 56911 and bug 65375. It
> has to stop.

Also yes.
Comment 12 Gerrit Notification Bot 2014-05-23 15:07:13 UTC
Change 135043 had a related patch set uploaded by Anomie:
Revert visibility change on DiffHistoryBlob::$mCompressed

https://gerrit.wikimedia.org/r/135043
Comment 13 Gerrit Notification Bot 2014-05-23 18:59:58 UTC
Change 135043 merged by jenkins-bot:
Revert visibility change on DiffHistoryBlob::$mCompressed

https://gerrit.wikimedia.org/r/135043
Comment 14 Gerrit Notification Bot 2014-05-23 19:20:53 UTC
Change 135089 had a related patch set uploaded by Anomie:
Revert visibility change on DiffHistoryBlob::$mCompressed

https://gerrit.wikimedia.org/r/135089
Comment 15 Gerrit Notification Bot 2014-05-23 19:30:55 UTC
Change 135089 merged by jenkins-bot:
Revert visibility change on DiffHistoryBlob::$mCompressed

https://gerrit.wikimedia.org/r/135089
Comment 16 Brad Jorsch 2014-05-23 19:52:01 UTC
Fixed and backported. If you see any pages still showing the problem, try purging. If you see any messages not showing up, try going to the MediaWiki-namespace page for the message and purge that (even if it shows up correctly on the page itself). I did this already for the sidebar messages on mediawiki.org.
Comment 17 Kevin Israel (PleaseStand) 2014-05-23 20:26:45 UTC
DiffHistoryBlob::$mCompressed isn't the only bad visibility change in HistoryBlob.php though.

* HistoryBlobStub: $mOldId, $mHash (not sure about $mRef)
* HistoryBlobCurStub: $mCurId
Comment 18 Nemo 2014-05-23 23:03:52 UTC
Looks all ok.

(In reply to Kevin Israel (PleaseStand) from comment #17)
> DiffHistoryBlob::$mCompressed isn't the only bad visibility change in
> HistoryBlob.php though.
> 
> * HistoryBlobStub: $mOldId, $mHash (not sure about $mRef)
> * HistoryBlobCurStub: $mCurId

Can you file a separate bug to investigate that?
Comment 19 Kevin Israel (PleaseStand) 2014-05-25 21:04:47 UTC
(In reply to Nemo from comment #18)
> Can you file a separate bug to investigate that?

It's essentially the same problem and would cause a different set of revisions to be inaccessible.

The diff <https://www.mediawiki.org/w/index.php?title=MediaWiki&diff=935&oldid=1> should indicate an increase of 167 bytes. However, "One revision of this difference (935) was not found." and <https://www.mediawiki.org/wiki/Special:Redirect/revision/935> gives me a blank page.

Without DB access, I don't know for sure whether that revision's text row has either kind of object, though the revision did end up in the most recent database dump, and there are definitely revisions on other wikis that would be affected (anything that was current at the time of the 1.5 upgrade, plus some more).
Comment 20 Gerrit Notification Bot 2014-05-25 21:11:00 UTC
Change 135382 had a related patch set uploaded by PleaseStand:
Revert more visibility changes in HistoryBlob.php

https://gerrit.wikimedia.org/r/135382
Comment 21 Gerrit Notification Bot 2014-05-27 14:50:54 UTC
Change 135382 merged by jenkins-bot:
Revert more visibility changes in HistoryBlob.php

https://gerrit.wikimedia.org/r/135382
Comment 22 Gerrit Notification Bot 2014-05-27 14:51:59 UTC
Change 135574 had a related patch set uploaded by Anomie:
Revert more visibility changes in HistoryBlob.php

https://gerrit.wikimedia.org/r/135574
Comment 23 Gerrit Notification Bot 2014-05-27 15:19:34 UTC
Change 135574 merged by jenkins-bot:
Revert more visibility changes in HistoryBlob.php

https://gerrit.wikimedia.org/r/135574
Comment 24 Brad Jorsch 2014-05-27 15:22:24 UTC
Additional patch merged and backported.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links