Last modified: 2012-05-11 18:50:48 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 T19154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17154 - Rollback does not restore linking tables (categorylinks, pagelinks)
Rollback does not restore linking tables (categorylinks, pagelinks)
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.14.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 17686 18267 23336 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-25 20:43 UTC by JaGa
Modified: 2012-05-11 18:50 UTC (History)
7 users (show)

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


Attachments

Description JaGa 2009-01-25 20:43:38 UTC
If a vandal blanks a page and that edit is rolled back, the page is restored to Wikipedia but pagelinks is not restored.  As far as pagelinks is concerned, that page has no outgoing links.  The problem goes away with a null edit.

I've seen this happen with page blanking and when vandals replace content with "hi" etc.  Also, I've seen it when ClueBot does the rollback, and when a Huggle user does the rollback, so it isn't a bot-only problem or something like that.

This could happen with every rollback.  It has come to my attention because I've created a toolserver page that builds a list of deadend pages, and I kept getting articles that had no business whatsoever in the list - Yoko Ono, for instance.

How to reproduce:

1) Pick one of these articles I've found to exhibit the bug (as of time of writing): "2006 Winter Olympics", "Infectious disease", "List of poems"

2) Verify that the last edit in its history is a user rolling back blanking vandalism

3) Pick any link on the page (on "Infectious disease", I chose "Clostridium difficile") and click it

4) Click "What links here" for the random link

5) Search the "What links here" list for your article, it isn't there

This is causing a problem for me because if it weren't for this bug, my deadend articles list would be suitable for a bot to use for auto-tagging.  But because of this, everything must be reviewed manually.
Comment 1 Roan Kattouw 2009-01-26 12:09:07 UTC
(In reply to comment #0)
> 3) Pick any link on the page (on "Infectious disease", I chose "Clostridium
> difficile") and click it
> 
> 4) Click "What links here" for the random link
> 
> 5) Search the "What links here" list for your article, it isn't there
> 
A faster way is to use <http://en.wikipedia.org/w/api.php?action=query&prop=links|revisions&titles=2006_Winter_Olympics|Infectious_disease|List_of_poems> which lists all outgoing links (according to the pagelinks table that is) on the given pages and their latest revision. And you're right: those lists are empty and the last revision is a revert (at the time or writing).
Comment 2 Chad H. 2009-03-31 07:45:21 UTC
*** Bug 18267 has been marked as a duplicate of this bug. ***
Comment 3 Chad H. 2009-08-17 22:06:07 UTC
*** Bug 17686 has been marked as a duplicate of this bug. ***
Comment 4 Alex Z. 2009-10-03 00:56:01 UTC
I can't seem to reproduce this. If this is still an issue, it must be some sort of transitory fluke.
Comment 5 Craig 2010-05-31 01:46:02 UTC
Here's an example of this bug in action:

University of Warsaw was [http://en.wikipedia.org/w/index.php?title=University_of_Warsaw&oldid=359035641 vandalized on April 29], and [http://en.wikipedia.org/w/index.php?title=University_of_Warsaw&diff=359035647&oldid=359035641 reverted by ClueBot] within *seconds*. However, the article remained listed on the [http://toolserver.org/~jason/uncategorized_articles.php uncategorized articles] list for a full month, even though categories *were* present on the article, until I caught it on May 30 and did a no-edit save to the article to force it off the list.
Comment 6 Craig 2010-06-03 17:45:10 UTC
Another one: Bulgars was blanked and reverted on May 19; the page is still listed as an "uncategorized" article, even though categories are present, as I write this on June 6.

This needs to be fixed, because we can't deal with uncategorized articles in a quick and timely manner (e.g. setting a bot loose to tag them) if it isn't.
Comment 7 Chad H. 2010-08-06 12:42:27 UTC
*** Bug 23336 has been marked as a duplicate of this bug. ***

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


Navigation
Links