http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9992
Revision: 9992
Author: xqt
Date: 2012-03-10 17:58:48 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
re-use alphabetic sorting order from family.py, update from trunk r9991
Modified Paths:
--------------
branches/rewrite/pywikibot/families/wikibooks_family.py
branches/rewrite/pywikibot/families/wikiquote_family.py
branches/rewrite/pywikibot/families/wikisource_family.py
Modified: branches/rewrite/pywikibot/families/wikibooks_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikibooks_family.py 2012-03-10 17:57:57 UTC (rev 9991)
+++ branches/rewrite/pywikibot/families/wikibooks_family.py 2012-03-10 17:58:48 UTC (rev 9992)
@@ -28,21 +28,18 @@
# and what order is it? If a language is not in interwiki_putfirst,
# alphabetical order on language code is used. For languages that are in
# interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are put
- # after those, in code-alphabetical order.
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
+ self.interwiki_putfirst = {
+ 'en': self.alphabetic,
+ 'fi': self.alphabetic,
+ 'fr': self.alphabetic,
+ 'he': ['en'],
+ 'hu': ['en'],
+ 'pl': self.alphabetic,
+ 'simple': self.alphabetic
+ }
- alphabetic = ['af', 'ar', 'roa-rup', 'om', 'bg', 'be', 'bn', 'bs', 'ca',
- 'chr', 'co', 'cs', 'cy', 'da', 'de', 'als', 'et', 'el',
- 'en', 'es', 'eo', 'eu', 'fa', 'fr', 'fy', 'gv', 'gd',
- 'gl', 'ko', 'hi', 'hr', 'io', 'id', 'ia', 'is', 'it',
- 'he', 'jv', 'ka', 'csb', 'sw', 'la', 'lv', 'lt', 'hu',
- 'mk', 'mg', 'ml', 'mi', 'mr', 'ms', 'zh-cfr', 'mn', 'nah',
- 'na', 'nl', 'ja', 'no', 'nb', 'oc', 'nds', 'pl', 'pt',
- 'ro', 'ru', 'sa', 'st', 'sq', 'si', 'simple', 'sk', 'sl',
- 'sr', 'su', 'fi', 'sv', 'ta', 'tt', 'th', 'ur', 'vi',
- 'tpi', 'tr', 'uk', 'vo', 'yi', 'za', 'zh', 'zh-cn',
- 'zh-tw']
-
self.obsolete = {
'aa': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Af…
'ak': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ak…
@@ -90,15 +87,6 @@
'zu': None, # https://bugzilla.wikimedia.org/show_bug.cgi?id=25425
}
- self.interwiki_putfirst = {
- 'en': alphabetic,
- 'fi': alphabetic,
- 'fr': alphabetic,
- 'he': ['en'],
- 'hu': ['en'],
- 'pl': alphabetic,
- 'simple': alphabetic
- }
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa…
self.cross_allowed = ['af', 'ang', 'ca', 'fa', 'it', 'nl', 'ru', 'th', 'zh']
# CentralAuth cross avaliable projects.
Modified: branches/rewrite/pywikibot/families/wikiquote_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikiquote_family.py 2012-03-10 17:57:57 UTC (rev 9991)
+++ branches/rewrite/pywikibot/families/wikiquote_family.py 2012-03-10 17:58:48 UTC (rev 9992)
@@ -54,34 +54,22 @@
'wikipedia', 'wiktionary', 'wikibooks', 'wikisource', 'wikinews', 'wikiversity',
'meta', 'mediawiki', 'test', 'incubator', 'commons', 'species'
]
+
# Which languages have a special order for putting interlanguage links,
# and what order is it? If a language is not in interwiki_putfirst,
# alphabetical order on language code is used. For languages that are in
# interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are put
- # after those, in code-alphabetical order.
-
- alphabetic = ['af','am','ang','ar','roa-rup','ast','az','bn',
- 'zh-min-nan','bg','be','bs','br','ca','chr','co','cs','cy',
- 'da','de','als','et','el','en','es','eo','eu','fa','fr',
- 'fy','ga','gv','gu','gd','gl','ko','hy','hi','hr','io',
- 'id','ia','is','it','he','jv','kn','ka','ks','csb','kk',
- 'ky','sw','ku','la','lb','lt','li','hu','mk','mg','ml',
- 'mi','mr','zh-cfr','mn','nah','na','nl','ja','no','nb',
- 'nn','oc','om','nds','uz','pl','pt','ro','ru','sa','st',
- 'sq','si','simple','sk','sl','sr','su','fi','sv','ta','tt',
- 'te','th','ur','vi','tpi','tr','uk','vo','yi','yo','wo',
- 'za','zh','zh-cn','zh-tw']
-
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
self.interwiki_putfirst = {
- 'en': alphabetic,
- 'fi': alphabetic,
- 'fr': alphabetic,
+ 'en': self.alphabetic,
+ 'fi': self.alphabetic,
+ 'fr': self.alphabetic,
'he': ['en'],
'hu': ['en'],
- 'pl': alphabetic,
- 'simple': alphabetic,
- 'pt': alphabetic,
+ 'pl': self.alphabetic,
+ 'simple': self.alphabetic,
+ 'pt': self.alphabetic,
}
self.obsolete = {
Modified: branches/rewrite/pywikibot/families/wikisource_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikisource_family.py 2012-03-10 17:57:57 UTC (rev 9991)
+++ branches/rewrite/pywikibot/families/wikisource_family.py 2012-03-10 17:58:48 UTC (rev 9992)
@@ -42,6 +42,12 @@
'zh-cn': 'zh'
}
+ # Which languages have a special order for putting interlanguage links,
+ # and what order is it? If a language is not in interwiki_putfirst,
+ # alphabetical order on language code is used. For languages that are in
+ # interwiki_putfirst, interwiki_putfirst is checked first, and
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
self.interwiki_putfirst = {
'en': self.alphabetic,
'fi': self.alphabetic,
@@ -51,10 +57,24 @@
'pl': self.alphabetic,
'simple': self.alphabetic
}
+
+ self.obsolete = {
+ 'ang': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ol…
+ 'dk': 'da',
+ 'ht': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ha…
+ 'jp': 'ja',
+ 'minnan':'zh-min-nan',
+ 'nb': 'no',
+ 'tokipona': None,
+ 'zh-tw': 'zh',
+ 'zh-cn': 'zh'
+ }
+
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa…
self.cross_allowed = [
'el','fa','it','ko','no','vi','zh'
]
+
# CentralAuth cross avaliable projects.
self.cross_projects = [
'wikipedia', 'wiktionary', 'wikibooks', 'wikiquote', 'wikinews', 'wikiversity',
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9991
Revision: 9991
Author: xqt
Date: 2012-03-10 17:57:57 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
re-use slphabetic sorting order from family.py
Modified Paths:
--------------
trunk/pywikipedia/families/wikibooks_family.py
trunk/pywikipedia/families/wikiquote_family.py
trunk/pywikipedia/families/wikisource_family.py
Modified: trunk/pywikipedia/families/wikibooks_family.py
===================================================================
--- trunk/pywikipedia/families/wikibooks_family.py 2012-03-10 17:56:00 UTC (rev 9990)
+++ trunk/pywikipedia/families/wikibooks_family.py 2012-03-10 17:57:57 UTC (rev 9991)
@@ -415,21 +415,18 @@
# and what order is it? If a language is not in interwiki_putfirst,
# alphabetical order on language code is used. For languages that are in
# interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are put
- # after those, in code-alphabetical order.
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
+ self.interwiki_putfirst = {
+ 'en': self.alphabetic,
+ 'fi': self.alphabetic,
+ 'fr': self.alphabetic,
+ 'he': ['en'],
+ 'hu': ['en'],
+ 'pl': self.alphabetic,
+ 'simple': self.alphabetic
+ }
- alphabetic = ['af', 'ar', 'roa-rup', 'om', 'bg', 'be', 'bn', 'bs', 'ca',
- 'chr', 'co', 'cs', 'cy', 'da', 'de', 'als', 'et', 'el',
- 'en', 'es', 'eo', 'eu', 'fa', 'fr', 'fy', 'gv', 'gd',
- 'gl', 'ko', 'hi', 'hr', 'io', 'id', 'ia', 'is', 'it',
- 'he', 'jv', 'ka', 'csb', 'sw', 'la', 'lv', 'lt', 'hu',
- 'mk', 'mg', 'ml', 'mi', 'mr', 'ms', 'zh-cfr', 'mn', 'nah',
- 'na', 'nl', 'ja', 'no', 'nb', 'oc', 'nds', 'pl', 'pt',
- 'ro', 'ru', 'sa', 'st', 'sq', 'si', 'simple', 'sk', 'sl',
- 'sr', 'su', 'fi', 'sv', 'ta', 'tt', 'th', 'ur', 'vi',
- 'tpi', 'tr', 'uk', 'vo', 'yi', 'za', 'zh', 'zh-cn',
- 'zh-tw']
-
self.obsolete = {
'aa': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Af…
'ak': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ak…
@@ -477,15 +474,6 @@
'zu': None, # https://bugzilla.wikimedia.org/show_bug.cgi?id=25425
}
- self.interwiki_putfirst = {
- 'en': alphabetic,
- 'fi': alphabetic,
- 'fr': alphabetic,
- 'he': ['en'],
- 'hu': ['en'],
- 'pl': alphabetic,
- 'simple': alphabetic
- }
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa…
self.cross_allowed = ['af', 'ang', 'ca', 'fa', 'it', 'nl', 'ru', 'th', 'zh']
# CentralAuth cross avaliable projects.
Modified: trunk/pywikipedia/families/wikiquote_family.py
===================================================================
--- trunk/pywikipedia/families/wikiquote_family.py 2012-03-10 17:56:00 UTC (rev 9990)
+++ trunk/pywikipedia/families/wikiquote_family.py 2012-03-10 17:57:57 UTC (rev 9991)
@@ -287,34 +287,22 @@
'wikipedia', 'wiktionary', 'wikibooks', 'wikisource', 'wikinews', 'wikiversity',
'meta', 'mediawiki', 'test', 'incubator', 'commons', 'species'
]
+
# Which languages have a special order for putting interlanguage links,
# and what order is it? If a language is not in interwiki_putfirst,
# alphabetical order on language code is used. For languages that are in
# interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are put
- # after those, in code-alphabetical order.
-
- alphabetic = ['af','am','ang','ar','roa-rup','ast','az','bn',
- 'zh-min-nan','bg','be','bs','br','ca','chr','co','cs','cy',
- 'da','de','als','et','el','en','es','eo','eu','fa','fr',
- 'fy','ga','gv','gu','gd','gl','ko','hy','hi','hr','io',
- 'id','ia','is','it','he','jv','kn','ka','ks','csb','kk',
- 'ky','sw','ku','la','lb','lt','li','hu','mk','mg','ml',
- 'mi','mr','zh-cfr','mn','nah','na','nl','ja','no','nb',
- 'nn','oc','om','nds','uz','pl','pt','ro','ru','sa','st',
- 'sq','si','simple','sk','sl','sr','su','fi','sv','ta','tt',
- 'te','th','ur','vi','tpi','tr','uk','vo','yi','yo','wo',
- 'za','zh','zh-cn','zh-tw']
-
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
self.interwiki_putfirst = {
- 'en': alphabetic,
- 'fi': alphabetic,
- 'fr': alphabetic,
+ 'en': self.alphabetic,
+ 'fi': self.alphabetic,
+ 'fr': self.alphabetic,
'he': ['en'],
'hu': ['en'],
- 'pl': alphabetic,
- 'simple': alphabetic,
- 'pt': alphabetic,
+ 'pl': self.alphabetic,
+ 'simple': self.alphabetic,
+ 'pt': self.alphabetic,
}
self.obsolete = {
Modified: trunk/pywikipedia/families/wikisource_family.py
===================================================================
--- trunk/pywikipedia/families/wikisource_family.py 2012-03-10 17:56:00 UTC (rev 9990)
+++ trunk/pywikipedia/families/wikisource_family.py 2012-03-10 17:57:57 UTC (rev 9991)
@@ -513,12 +513,21 @@
'he': u'שיחת מפתח',
}
- self.alphabetic = ['ang','ar','az','bg','bs','ca','cs','cy',
- 'da','de','el','en','es','et','fa','fi',
- 'fo','fr','gl','he','hr','ht','hu','id',
- 'is','it','ja', 'ko','la','lt','ml','nl',
- 'no','pl','pt','ro','ru','sk','sl','sr',
- 'sv','te','th','tr','uk','vi','yi','zh']
+ # Which languages have a special order for putting interlanguage links,
+ # and what order is it? If a language is not in interwiki_putfirst,
+ # alphabetical order on language code is used. For languages that are in
+ # interwiki_putfirst, interwiki_putfirst is checked first, and
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
+ self.interwiki_putfirst = {
+ 'en': self.alphabetic,
+ 'fi': self.alphabetic,
+ 'fr': self.alphabetic,
+ 'he': ['en'],
+ 'hu': ['en'],
+ 'pl': self.alphabetic,
+ 'simple': self.alphabetic
+ }
self.obsolete = {
'ang': None, # http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Ol…
@@ -532,16 +541,6 @@
'zh-cn': 'zh'
}
- self.interwiki_putfirst = {
- 'en': self.alphabetic,
- 'fi': self.alphabetic,
- 'fr': self.alphabetic,
- 'he': ['en'],
- 'hu': ['en'],
- 'pl': self.alphabetic,
- 'simple': self.alphabetic
- }
-
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa…
self.cross_allowed = [
'el','fa','it','ko','no','vi','zh'
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9990
Revision: 9990
Author: xqt
Date: 2012-03-10 17:56:00 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
Format doc to PEP 8, update from trunk r9989
Modified Paths:
--------------
branches/rewrite/pywikibot/families/wikinews_family.py
Modified: branches/rewrite/pywikibot/families/wikinews_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikinews_family.py 2012-03-10 17:55:23 UTC (rev 9989)
+++ branches/rewrite/pywikibot/families/wikinews_family.py 2012-03-10 17:56:00 UTC (rev 9990)
@@ -33,8 +33,8 @@
# and what order is it? If a language is not in interwiki_putfirst,
# alphabetical order on language code is used. For languages that are in
# interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are put
- # after those, in code-alphabetical order.
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
self.interwiki_putfirst = {
'en': self.alphabetic,
'fi': self.alphabetic,
@@ -46,6 +46,7 @@
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa…
self.cross_allowed = ['ca', 'cs', 'fa',]
+
# CentralAuth cross avaliable projects.
self.cross_projects = [
'wikipedia', 'wiktionary', 'wikibooks', 'wikiquote', 'wikisource', 'wikiversity',
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9989
Revision: 9989
Author: xqt
Date: 2012-03-10 17:55:23 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
Format doc to PEP 8
Modified Paths:
--------------
trunk/pywikipedia/families/wikinews_family.py
Modified: trunk/pywikipedia/families/wikinews_family.py
===================================================================
--- trunk/pywikipedia/families/wikinews_family.py 2012-03-10 17:52:20 UTC (rev 9988)
+++ trunk/pywikipedia/families/wikinews_family.py 2012-03-10 17:55:23 UTC (rev 9989)
@@ -252,8 +252,8 @@
# and what order is it? If a language is not in interwiki_putfirst,
# alphabetical order on language code is used. For languages that are in
# interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are put
- # after those, in code-alphabetical order.
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
self.interwiki_putfirst = {
'en': self.alphabetic,
'fi': self.alphabetic,
@@ -265,6 +265,7 @@
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementa…
self.cross_allowed = ['ca', 'cs', 'fa',]
+
# CentralAuth cross avaliable projects.
self.cross_projects = [
'wikipedia', 'wiktionary', 'wikibooks', 'wikiquote', 'wikisource', 'wikiversity',
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9988
Revision: 9988
Author: xqt
Date: 2012-03-10 17:52:20 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
remove pdt from interwiki_putfirst sorting order - keeps still in incubator for next time; reorder doc string; update from trunk r9987
Modified Paths:
--------------
branches/rewrite/pywikibot/families/wikipedia_family.py
Modified: branches/rewrite/pywikibot/families/wikipedia_family.py
===================================================================
--- branches/rewrite/pywikibot/families/wikipedia_family.py 2012-03-10 17:50:02 UTC (rev 9987)
+++ branches/rewrite/pywikibot/families/wikipedia_family.py 2012-03-10 17:52:20 UTC (rev 9988)
@@ -305,6 +305,13 @@
# but some languages don't use this.
self.nocapitalize = ['jbo',]
+ # Which languages have a special order for putting interlanguage links,
+ # and what order is it? If a language is not in interwiki_putfirst,
+ # alphabetical order on language code is used. For languages that are in
+ # interwiki_putfirst, interwiki_putfirst is checked first, and
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
+
self.alphabetic_sr = [
'ace', 'kbd', 'af', 'ak', 'als', 'am', 'ang', 'ab', 'ar', 'an',
'arc', 'roa-rup', 'frp', 'arz', 'as', 'ast', 'gn', 'av', 'ay', 'az',
@@ -337,13 +344,6 @@
'zh-tw', 'zh-cn', 'zh-classical', 'zh-yue', 'bat-smg',
]
- # Which languages have a special order for putting interlanguage links,
- # and what order is it? If a language is not in interwiki_putfirst,
- # alphabetical order on language code is used. For languages that are in
- # interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are
- # put after those, in code-alphabetical order.
-
self.interwiki_putfirst = {
'be-x-old': self.alphabetic,
'en': self.alphabetic,
@@ -356,8 +356,8 @@
'lb': self.alphabetic,
'mk': self.alphabetic,
'ms': self.alphabetic_revised,
- 'nds': ['nds-nl', 'pdt'], # Note: as of 2008-02-24, pdt:
- 'nds-nl': ['nds', 'pdt'], # (Plautdietsch) is still in the Incubator.
+ 'nds': ['nds-nl'],
+ 'nds-nl': ['nds'],
'nn': ['no', 'sv', 'da'] + self.alphabetic,
'no': self.alphabetic,
'nv': ['en', 'es'] + self.alphabetic,
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9987
Revision: 9987
Author: xqt
Date: 2012-03-10 17:50:02 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
remove pdt from interwiki_putfirst sorting order - keeps still in incubator for next time; reorder doc string
Modified Paths:
--------------
trunk/pywikipedia/families/wikipedia_family.py
Modified: trunk/pywikipedia/families/wikipedia_family.py
===================================================================
--- trunk/pywikipedia/families/wikipedia_family.py 2012-03-10 17:46:47 UTC (rev 9986)
+++ trunk/pywikipedia/families/wikipedia_family.py 2012-03-10 17:50:02 UTC (rev 9987)
@@ -1210,6 +1210,13 @@
# but some languages don't use this.
self.nocapitalize = ['jbo',]
+ # Which languages have a special order for putting interlanguage links,
+ # and what order is it? If a language is not in interwiki_putfirst,
+ # alphabetical order on language code is used. For languages that are in
+ # interwiki_putfirst, interwiki_putfirst is checked first, and
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
+
self.alphabetic_sr = [
'ace', 'kbd', 'af', 'ak', 'als', 'am', 'ang', 'ab', 'ar', 'an',
'arc', 'roa-rup', 'frp', 'arz', 'as', 'ast', 'gn', 'av', 'ay', 'az',
@@ -1242,13 +1249,6 @@
'zh-tw', 'zh-cn', 'zh-classical', 'zh-yue', 'bat-smg',
]
- # Which languages have a special order for putting interlanguage links,
- # and what order is it? If a language is not in interwiki_putfirst,
- # alphabetical order on language code is used. For languages that are in
- # interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are
- # put after those, in code-alphabetical order.
-
self.interwiki_putfirst = {
'be-x-old': self.alphabetic,
'en': self.alphabetic,
@@ -1261,8 +1261,8 @@
'lb': self.alphabetic,
'mk': self.alphabetic,
'ms': self.alphabetic_revised,
- 'nds': ['nds-nl', 'pdt'], # Note: as of 2008-02-24, pdt:
- 'nds-nl': ['nds', 'pdt'], # (Plautdietsch) is still in the Incubator.
+ 'nds': ['nds-nl'],
+ 'nds-nl': ['nds'],
'nn': ['no', 'sv', 'da'] + self.alphabetic,
'no': self.alphabetic,
'nv': ['en', 'es'] + self.alphabetic,
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9986
Revision: 9986
Author: xqt
Date: 2012-03-10 17:46:47 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
Format doc to PEP 8
Modified Paths:
--------------
trunk/pywikipedia/families/wikitravel_family.py
Modified: trunk/pywikipedia/families/wikitravel_family.py
===================================================================
--- trunk/pywikipedia/families/wikitravel_family.py 2012-03-10 16:13:41 UTC (rev 9985)
+++ trunk/pywikipedia/families/wikitravel_family.py 2012-03-10 17:46:47 UTC (rev 9986)
@@ -406,12 +406,12 @@
]
# for Wikitravel Shared (wts:)
- # Which languages have a special order for putting interlanguage links,
- # and what order is it? If a language is not in interwiki_putfirst,
- # alphabetical order on language code is used. For languages that are in
- # interwiki_putfirst, interwiki_putfirst is checked first, and
- # languages are put in the order given there. All other languages are put
- # after those, in code-alphabetical order.
+ # Which languages have a special order for putting interlanguage links,
+ # and what order is it? If a language is not in interwiki_putfirst,
+ # alphabetical order on language code is used. For languages that are
+ # in interwiki_putfirst, interwiki_putfirst is checked first, and
+ # languages are put in the order given there. All other languages are
+ # put after those, in code-alphabetical order.
self.interwiki_putfirst = {
'ar': self.alphabetic,
'ca': self.alphabetic,