Last modified: 2010-05-15 15:33:53 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 T4081, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2081 - Restoring deleted page indexes page on letter E in its categories
Restoring deleted page indexes page on letter E in its categories
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://pt.wiktionary.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-05 20:16 UTC by Malafaya
Modified: 2010-05-15 15:33 UTC (History)
0 users

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


Attachments

Description Malafaya 2005-05-05 20:16:09 UTC
Whenever we try to restore a deleted page, listing a (any) category that holds that page, we find 
the page to be on letter E whatever its first letter is. The solution so far is to simulate an 
edition to the restored page. Even without any change (and no addition to the page history), just 
clicking on Save page will put the page back on the correct letter in its categories' index.

Example:
Article 'Wikipedia', included in category 'Help'.
I delete the article and then I restore it back.
If I go to the 'Help' category, 'Wikipedia' appears under letter 'E'.
Editing article 'Wikipedia' will move it back to letter 'W' in category 'Help'.
Comment 1 Brion Vibber 2005-05-05 20:30:14 UTC
This is hard to confirm since the pages mentioned don't appear to exist at pt.wiktionary.org so I 
can't look at their database entries. Please give the actual names of these pages if possible.

Likely a problem with updates incorrectly applying the global $wgTitle. This could use 'Especial:
Undelete' instead of the correct name.
Comment 2 Malafaya 2005-05-05 21:08:03 UTC
(In reply to comment #1)
> This is hard to confirm since the pages mentioned don't appear to exist at pt.wiktionary.org so I 
> can't look at their database entries. Please give the actual names of these pages if possible.
> Likely a problem with updates incorrectly applying the global $wgTitle. This could use 'Especial:
> Undelete' instead of the correct name.

One of our administrators has just reproduced a case and left it incorrect on purpose. The article's name is Beleza. Can you 
please check that one? Thanks.
Comment 3 Brion Vibber 2005-05-05 21:15:45 UTC
mysql> select * from categorylinks where cl_from=5152;
+---------+-------------+-------------------+----------------+
| cl_from | cl_to       | cl_sortkey        | cl_timestamp   |
+---------+-------------+-------------------+----------------+
|    5152 | Português  | Especial:Undelete | 20050505204937 |
|    5152 | Substantivo | Especial:Undelete | 20050505204937 |
+---------+-------------+-------------------+----------------+

Yep, that's the problem. Will poke at it in a bit...
Comment 4 Malafaya 2005-05-07 13:20:02 UTC
Brion, didn't you forget to assign the bug?
Comment 5 Malafaya 2005-10-07 14:01:05 UTC
Hi there. Any news on this bug?
Comment 6 lɛʁi לערי ריינהארט 2005-10-07 14:17:11 UTC
please see

bug 2331: undeleting pages does not add the pages to categories

last seems to be a duplicate of bug 2081 or describing a *newer* bahaviour
Comment 7 Malafaya 2006-04-26 16:22:40 UTC
Shouldn't this bug be closed as a consequence of resolution of duplicate bug 2331?
Comment 8 Malafaya 2007-02-23 00:34:15 UTC
bug 2331 has been closed so I guess this one is too.

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


Navigation
Links