http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10105
Revision: 10105 Author: xqt Date: 2012-04-12 19:13:18 +0000 (Thu, 12 Apr 2012) Log Message: ----------- some additional linktrails from mw: svnroot/mediawiki/trunk/phase3/languages/messages
Modified Paths: -------------- trunk/pywikipedia/family.py
Modified: trunk/pywikipedia/family.py =================================================================== --- trunk/pywikipedia/family.py 2012-04-11 23:18:54 UTC (rev 10104) +++ trunk/pywikipedia/family.py 2012-04-12 19:13:18 UTC (rev 10105) @@ -3097,20 +3097,29 @@ # Note: this is a regular expression. self.linktrails = { '_default': u'[a-z]*', + 'ca': u'[a-zàèéíòóúç·ïü]*', + 'cs': u'[a-záčďéěíňóřšťúůýž]*', 'de': u'[a-zäöüß]*', 'da': u'[a-zæøå]*', + 'es': u'[a-záéíóúñ]*', 'fa': u'[a-zابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهیآأئؤة]*', - 'fi': u'[a-zåäö]*', - 'fr': u'[a-zàâçéèêîôû]*', + 'fi': u'[a-zäö]*', + 'fr': u'[a-zàâçéèêîôûäëïöüùÇÉÂÊÎÔÛÄËÏÖÜÀÈÙ]*', 'frr': u'[a-zäöüßåāđē]*', 'he': u'[a-zא-ת]*', 'hu': u'[a-záéíóúöüőűÁÉÍÓÚÖÜŐŰ]*', - 'it': u'[a-zàèéìòù]*', - 'kk': u'[a-zäçéğıïñöşüýа-яёәғіқңөұүһʺʹ]*', - 'ksh': u'[äöüėëijßəğåůæœça-z]*', - 'nl': u'[a-zäöüïëéèéàç]*', + 'it': u'[a-zàéèíîìóòúù]*', + 'ka': u'[a-zაბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰ“»]*', + 'kk': u'[a-zäçéğıïñöşüýʺʹа-яёәғіқңөұүһٴابپتجحدرزسشعفقكلمنڭەوۇۋۆىيچھ“»]*', + 'ksh': u'[a-zäöüėëijßəğåůæœç]*', + 'mk': u'[a-zабвгдѓежзѕијклљмнњопрстќуфхцчџш]*', + 'nl': u'[a-zäöüïëéèà]*', + 'nl': u'[a-zæøå]*', + 'pl': u'[a-zęóąśłżźćńĘÓĄŚŁŻŹĆŃ]*', 'pt': u'[a-záâàãéêíóôõúüç]*', + 'ro': u'[a-zăâîşţșțĂÂÎŞŢȘȚ]*', 'ru': u'[a-zа-я]*', + 'sk': u'[a-záäčďéíľĺňóôŕšťúýž]*', }
# Wikimedia wikis all use "bodyContent" as the id of the <div>
pywikipedia-svn@lists.wikimedia.org