http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10291
Revision: 10291 Author: xqt Date: 2012-06-03 22:01:00 +0000 (Sun, 03 Jun 2012) Log Message: ----------- disable some replacements due to changed behaviour in rw branch
Modified Paths: -------------- branches/rewrite/scripts/cosmetic_changes.py
Modified: branches/rewrite/scripts/cosmetic_changes.py =================================================================== --- branches/rewrite/scripts/cosmetic_changes.py 2012-06-03 21:47:06 UTC (rev 10290) +++ branches/rewrite/scripts/cosmetic_changes.py 2012-06-03 22:01:00 UTC (rev 10291) @@ -135,15 +135,15 @@ if self.site.sitename()== u'commons:commons' and self.namespace == 6: text = self.commonsfiledesc(text) text = self.fixSelfInterwiki(text) - text = self.standardizePageFooter(text) +## text = self.standardizePageFooter(text) # removes pipe links on categories text = self.fixSyntaxSave(text) - text = self.cleanUpLinks(text) +## text = self.cleanUpLinks(text) #module object has no attribute url2unicode text = self.cleanUpSectionHeaders(text) text = self.putSpacesInLists(text) ## text = self.translateAndCapitalizeNamespaces(text) ##excluded since family.namespaces does not exist anymore ## text = self.translateMagicWords(text) text = self.replaceDeprecatedTemplates(text) - text = self.resolveHtmlEntities(text) +## text = self.resolveHtmlEntities(text) text = self.validXhtml(text) text = self.removeUselessSpaces(text) text = self.removeNonBreakingSpaceBeforePercent(text)