Last modified: 2010-04-16 22:24:43 UTC
On [en] wiktionary, there is an xslt file (for use with the xslt option of the api) called [[wikt:mediawiki:extractFirst.xsl]]. Since the software update, it appears that pages in the mediawiki and mediwiki talk namespace have their first letter case insensitive, even on wikis where normal pages can begin with a lowercase letter. Thus it is now impossible to access [[wikt:mediawiki:extractFirst.xsl]] as it gets converted to [[wikt:mediawiki:ExtractFirst.xsl]] (Which does not exist).
Looks like its caused by r57558 . If some namespaces switched capitalization, shouldn't a maintence script be run to fix the broken pages that started with a lowercase letter?
btw, this affects user pages too. http://en.wiktionary.org/wiki/User:Penubag vs http://en.wiktionary.org/wiki/?curid=1053333
cleanupTitles.php should be run on all wiktionaries and other wikis that have wgCapitalLinks set to false.
There are problems when running cleanupTitles: $ php maintenance/cleanupTitles.php angwiktionary --fix|grep -v done.on.page Checking and fixing bad titles... Processing page... page 993 (Syndrig:NÃwlicahwierfunga) doesn't match self. renaming 993 (-1,'NÃwlicahwierfunga') to (-1,'NÃwlicahwierfunga') page 3379 (Syndrig:HlÃetlictramet) doesn't match self. renaming 3379 (-1,'HlÃetlictramet') to (-1,'HlÃetlictramet') page 4799 (Syndrig:HlÃetlictramet) doesn't match self. renaming 4799 (0,'Syndrig:HlÃetlictramet') to (-1,'HlÃetlictramet') A database query syntax error has occurred. The last attempted database query was: "UPDATE `page` SET page_namespace = '-1',page_title = 'HlÃetlictramet' WHERE page_id = '4799'" from within function "TitleCleanup::moveInconsistentPage". Database returned error "1062: Duplicate entry '-1-HlÃetlictramet' for key 2 (10.0.6.27)"
cleanupTitles.php was unable to handle such cases. Fixed in r64966.
Done.
I don't see the change done on wmf-deployment nor 1.16wmf4. Shouldn't it have passed through it before being run? Should I do myself the backport?