"Valhallasw" changed the status of pywikipedia.r10152 to "fixme" and commented
it.
URL: http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10152#c32757
Old Status: new
New Status: fixme
Commit summary for pywikipedia.r10152:
Adding categories sort for Persian Wikipedia
Valhallasw's comment:
"if re.search(u"(.+?)\|(.{,1}?)",name.title()) or
name.title()==name.title().split(":")[0]+title:"
Please document the intention behind this code (especially the regexp!). It is
not clear to me why some categories are 'main' categories and some others are
not.
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview