Last modified: 2010-05-15 15:33:53 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'.
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.
(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.
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...
Brion, didn't you forget to assign the bug?
Hi there. Any news on this bug?
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
Shouldn't this bug be closed as a consequence of resolution of duplicate bug 2331?
bug 2331 has been closed so I guess this one is too.