Revision: 4542 Author: leogregianin Date: 2007-11-14 16:02:19 +0000 (Wed, 14 Nov 2007)
Log Message: ----------- Fixed Bug 1831422, wrong model fort for the french wiki Ignoring capital letters in the search template
Modified Paths: -------------- trunk/pywikipedia/featured.py
Modified: trunk/pywikipedia/featured.py =================================================================== --- trunk/pywikipedia/featured.py 2007-11-14 13:29:40 UTC (rev 4541) +++ trunk/pywikipedia/featured.py 2007-11-14 16:02:19 UTC (rev 4542) @@ -71,7 +71,7 @@ 'en': u'Link FA', 'eo': u'LigoElstara', 'es': u'destacado', - 'fr': u'lien AdQ', + 'fr': u'Lien AdQ', 'he': u'Link FA', 'hr': u'Link FA', 'it': u'Link AdQ', @@ -236,7 +236,7 @@ cc={}
findtemplate = wikipedia.translate(wikipedia.getSite(), template) - re_Link_FA=re.compile(ur"{{%s|%s}}" % (findtemplate, fromsite.lang)) + re_Link_FA=re.compile(ur"{{%s|%s}}" % (findtemplate, fromsite.lang), re.IGNORECASE) re_this_iw=re.compile(ur"[[%s:[^]]+]]" % fromsite.lang)
arts=featuredArticles(fromsite)