"ویکیپیڈیا:سفارت خانہ" کے نسخوں کے درمیان فرق

Jump to navigation Jump to search
(code)
<div style="margin-left: 25px;">
# Arabic, Persian and English will be given priority on other languages and will appear on top
# All other languages will be listed in alphabetical order by their native names. This is the same order as '''self.alphabetic as''' given on [http://meta.wikimedia.org/wiki/Interwiki_sorting_order Interwiki sorting order]
</div>
 
* [[تبادلۂ خیال:وکیپیڈیا:رائے شماری برائے ترتیب روابط|Discussion Page]]
</div>
 
Bots using Python Wikipedia Robot Framework can easily implement this sort order by adding the following line in their file families\wikipedia.py or wikipedia_family.py
 
<source lang="python">
self.interwiki_putfirst = { 'ur': ['ar', 'fa', 'en'] + self.alphabetic_revised,alphabetic }
</source>
 
 
"zh-tw", "zh-cn"
</div>
Add this line in coorect place (<code> self.interwiki_putfirst = {</code>) in your file families\wikipedia.py:
<CODE>
'ur': ['ar', 'fa', 'en'] + self.alphabetic_revised,
</code>
</div>
 
12,555

ترامیم

فہرست رہنمائی