On 3/30/2010 04:25, ccornell - OpenOffice.org wrote:
the wiki seems to get confused with pages using non-existant
namespaces. See for example here:

http://wiki.services.openoffice.org/wiki/User:B_Michaelsen/LicenseOnlyCatPages

The first link is reported by the query but is nonexistant.
Same for the first link on:

http://wiki.services.openoffice.org/wiki/Special:UncategorizedPages

Anyone having an idea on how to make the wiki sane again in this
regard?


The guys on the MediaWiki mailing lists suggested a solution that will
work... I ran a maintenance script (as suggested) in "dry run" mode and
it found quite a few broken pages (see below for sanitized output).

I can run this script in "fix" mode, and then we would have to wade
through the Broken/ subpages to sort out where the broken pages should
actually end up (or delete them).



C.


page 934 ( default WebRss) doesn't match self.
DRY RUN: would rename 934 (0,'_default_WebRss') to
(0,'Broken/Default_WebRss')
page 935 ( default WebLeftBar) doesn't match self.
DRY RUN: would rename 935 (0,'_default_WebLeftBar') to
(0,'Broken/Default_WebLeftBar')
page 2181 (Ja:JavaEclipseTutorial) doesn't match self.
DRY RUN: would rename 2181 (0,'Ja:JavaEclipseTutorial') to
(0,'Broken/ja:JavaEclipseTutorial')
page 2300 (SL:Povezava) doesn't match self.
DRY RUN: would rename 2300 (0,'SL:Povezava') to (0,'Broken/sl:Povezava')
page 2305 (SL:DigitalnoPodpisovanje) doesn't match self.
DRY RUN: would rename 2305 (0,'SL:DigitalnoPodpisovanje') to
(0,'Broken/sl:DigitalnoPodpisovanje')
page 3993 (ES:Calc) doesn't match self.
DRY RUN: would rename 3993 (0,'ES:Calc') to (0,'Broken/es:Calc')
page 3995 (Talk:ES:Calc) is illegal.
DRY RUN: would rename 3995 (1,'ES:Calc') to (1,'Broken/ES\x3aCalc')
page 4451 (Talk:Ja:JavaEclipseTutorial) is illegal.
DRY RUN: would rename 4451 (1,'Ja:JavaEclipseTutorial') to
(1,'Broken/Ja\x3aJavaEclipseTutorial')
page 5237 (Ja:Developer Center) doesn't match self.
DRY RUN: would rename 5237 (0,'Ja:Developer_Center') to
(0,'Broken/ja:Developer_Center')
page 5377 (:Calc Error Codes) doesn't match self.
DRY RUN: would rename 5377 (100,'Calc_Error_Codes') to
(100,'Calc_Error_Codes')
page 6659 (:Overview) doesn't match self.
DRY RUN: would rename 6659 (100,'Overview') to (100,'Overview')
page 6663 (:General) doesn't match self.
DRY RUN: would rename 6663 (100,'General') to (100,'General')
page 6664 (:General) doesn't match self.
DRY RUN: would rename 6664 (101,'General') to (101,'General')
page 6665 (:Installation) doesn't match self.
DRY RUN: would rename 6665 (100,'Installation') to
(100,'Broken/Installation')
page 6667 (:Writer) doesn't match self.
DRY RUN: would rename 6667 (100,'Writer') to (100,'Broken/Writer')
page 6668 (:Writer) doesn't match self.
DRY RUN: would rename 6668 (101,'Writer') to (101,'Broken/Writer')
page 6669 (:Writer:AutomaticFunctions) doesn't match self.
DRY RUN: would rename 6669 (100,'Writer:AutomaticFunctions') to
(100,'Writer:AutomaticFunctions')
page 6670 (:Writer:DocumentManagement) doesn't match self.
DRY RUN: would rename 6670 (100,'Writer:DocumentManagement') to
(100,'Writer:DocumentManagement')
page 6671 (:Writer:FormattingPagesAndDocuments) doesn't match self.
DRY RUN: would rename 6671 (100,'Writer:FormattingPagesAndDocuments') to
(100,'Writer:FormattingPagesAndDocuments')
page 6672 (:Writer:FormattingText) doesn't match self.
DRY RUN: would rename 6672 (100,'Writer:FormattingText') to
(100,'Writer:FormattingText')
page 6673 (:Writer:GraphicsFramesObjects) doesn't match self.
DRY RUN: would rename 6673 (100,'Writer:GraphicsFramesObjects') to
(100,'Writer:GraphicsFramesObjects')
page 6674 (:Writer:IndexToc) doesn't match self.
DRY RUN: would rename 6674 (100,'Writer:IndexToc') to
(100,'Writer:IndexToc')
page 6675 (:Writer:Printing) doesn't match self.
DRY RUN: would rename 6675 (100,'Writer:Printing') to
(100,'Writer:Printing')
page 6676 (:Calc) doesn't match self.
DRY RUN: would rename 6676 (100,'Calc') to (100,'Broken/Calc')
page 6677 (:Draw) doesn't match self.
DRY RUN: would rename 6677 (100,'Draw') to (100,'Broken/Draw')
page 6678 (:Impress) doesn't match self.
DRY RUN: would rename 6678 (100,'Impress') to (100,'Broken/Impress')
page 6679 (:Formula) doesn't match self.
DRY RUN: would rename 6679 (100,'Formula') to (100,'Formula')
page 6680 (:Databases) doesn't match self.
DRY RUN: would rename 6680 (100,'Databases') to (100,'Databases')
page 7722 (It:2.3 TCM Test) doesn't match self.
DRY RUN: would rename 7722 (0,'It:2.3_TCM_Test') to
(0,'Broken/it:2.3_TCM_Test')
page 10812 (It:Test localisation27) doesn't match self.
DRY RUN: would rename 10812 (0,'It:Test_localisation27') to
(0,'Broken/it:Test_localisation27')
page 15901 (Bg:Bg/Documentation) doesn't match self.
DRY RUN: would rename 15901 (0,'Bg:Bg/Documentation') to
(0,'Broken/bg:Bg/Documentation')


Looks like only about a dozen "broken" pages will need fixing: most of them are almost certainly obsolete duplicates of existing pages. IMHO, go ahead and run the script for real. (After that, you might want to "dry run" again, to be sure it fixed those "leading colon" pages.)

--
/tj/

"What you mean, 'we', Kemo Sabe?"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to