Revision: 4005 Author: valhallasw Date: 2007-08-07 23:28:47 +0000 (Tue, 07 Aug 2007)
Log Message: ----------- reverted borked unicode strings; Id still updated
Modified Paths: -------------- trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py =================================================================== --- trunk/pywikipedia/welcome.py 2007-08-07 23:14:38 UTC (rev 4004) +++ trunk/pywikipedia/welcome.py 2007-08-07 23:28:47 UTC (rev 4005) @@ -11,12 +11,12 @@ Ensure you have community support before running this bot!
URLs to current implementations: -* Arabic Wikipedia: http://ar.wikipedia.org/wiki/?????????:??? ??????? +* Arabic Wikipedia: http://ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8... الترحيب * Wikimedia Commons: http://commons.wikimedia.org/wiki/Commons:Welcome_log * Dutch Wikipedia: http://nl.wikipedia.org/wiki/Wikipedia:Logboek_welkom * Italian Wikipedia: http://it.wikipedia.org/wiki/Wikipedia:Benvenuto_log * English Wikiquote: http://en.wikiquote.org/wiki/Wikiquote:Welcome_log -* Persian Wikipedia: http://fa.wikipedia.org/wiki/?????????:????? ?????? +* Persian Wikipedia: http://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%D... خوشامد
Everything that needs customisation to support additional projects is indicated by comments. @@ -149,7 +149,7 @@ # # Distributed under the terms of the MIT license. # -__version__ = '$Id$' +__version__ = '$Id: welcome.py,v 1.4 2007/04/14 18:05:42 siebrand Exp$' #
import wikipedia, string @@ -188,10 +188,10 @@ #The page where the bot will save the log (e.g. Wikipedia:Welcome log). logbook = { 'commons': u'Project:Welcome log', - 'ar': u'Project:??? ???????', + 'ar': u'Project:سجل الترحيب', 'de': None, # no welcome log on de: 'en': u'Project:Welcome log', - 'fa': u'Project:????? ??????', + 'fa': u'Project:سیاهه خوشامد', 'it': u'Project:Benvenuto log', 'nl': u'Project:Logboek welkom', 'no': u'Project:Velkomstlogg', @@ -200,10 +200,10 @@ #The edit summary for the welcome message (e.g. Welcome!). summary = { 'commons':u'Welcome!', - 'ar':u'?????!', + 'ar':u'مرحبا!', 'de':u'Herzlich willkommen!', 'en':u'Welcome!', - 'fa':u'??? ?????!', + 'fa':u'خوش آمدید!', 'it':u'Benvenuto!', 'nl':u'Welkom!', 'no':u'Velkommen!', @@ -214,10 +214,10 @@ # sign, so in this way it will change according to your parameters). netext = { 'commons':u'{{subst:welcome}}%s', - 'ar':u'{{???:??????:Alnokta/?????}}%s', + 'ar':u'{{نسخ:مستخدم:Alnokta/ترحيب}}%s', 'de':u'{{subst:Hallo}} %s', 'en':u'{{subst:welcome}}%s', - 'fa':u'{{??:??????}}%s', + 'fa':u'{{جا:خوشامد}}%s', 'it':u'{{Benvebot}} %s', 'nl':u'{{Welkomstbericht}}%s', 'no':u'{{subst:bruker:jhs/vk}}%s', @@ -226,10 +226,10 @@ # The edit summary for updating the welcome log (e.g. Updating log). summary2 = { 'commons':u'Updating log', - 'ar':u'????? ?????', + 'ar':u'تحديث السجل', 'de':u'Aktualisiere Logdatei', 'en':u'Updating log', - 'fa':u'?? ??? ????? ?????', + 'fa':u'به روز رسانی سیاهه', 'it':u'Aggiorno il log', 'nl':u'Logboek bijwerken', 'no':u'Oppdaterer logg', @@ -238,10 +238,10 @@ # The page where the bot will report users with a possibly bad username. report_page = { 'commons': u'Project:Administrators' noticeboard/User problems/Usernames to be checked', - 'ar': 'Project:????? ?????????/????? ???????? ?????', + 'ar': 'Project:إخطار الإداريين/أسماء مستخدمين للفحص', 'de': u'Benutzer:Filnik/Report', 'en': u'Project:Administrator intervention against vandalism', - 'fa': u'Project:?????? ??????? ??????/????? ????', + 'fa': u'Project:تابلوی اعلانات مدیران/گزارش ربات', 'it': u'Utente:Filbot/Report', 'nl': u'Project:Verzoekpagina voor moderatoren/RegBlok/Te controleren gebruikersnamen', 'no': u'Bruker:JhsBot II/Rapport', @@ -250,10 +250,10 @@ # The edit summary for reporting a possibly bad username. comment = { 'commons':u'Adding a username that needs to be checked', - 'ar':u'????? ??? ?????? ????? ?????', + 'ar':u'إضافة اسم مستخدم يحتاج للفحص', 'de':u'Ergänze zu überprüfenden Benutzernamen', 'en':u'Adding a username that needs to be checked', - 'fa':u'?????? ???? ?????? ??????? ?????', + 'fa':u'افزودن حساب کاربری نیازمند بررسی', 'it':u'Aggiunto utente da controllare', 'nl':u'Te controleren gebruikersnaam toegevoegd', 'no':u'Legger til et brukernavn som m? sjekkes', @@ -263,9 +263,9 @@ # (this parameter is optional). bad_pag = { 'commons': u'Project:Welcome log/Bad_names', - 'ar': u'Project:??? ???????/????? ????', + 'ar': u'Project:سجل الترحيب/أسماء سيئة', 'en': u'Project:Welcome log/Bad_names', - 'fa': u'Project:????? ??????/??? ??', + 'fa': u'Project:سیاهه خوشامد/نام بد', 'it': u'Utente:Filbot/Bad_words', 'nl': u'Project:Logboek_welkom/Bad_names', 'no': u'Bruker:JhsBot/Daarlige ord', @@ -278,7 +278,7 @@ 'ar':u"\n*{{user13|%s}}" + timeselected, 'de':u'\n*[[Benutzer Diskussion:%s]] ' + timeselected, 'en':u'\n*{{Userlinks|%s}} ' + timeselected, - 'fa':u'\n*{{?????|%s}}' + timeselected, + 'fa':u'\n*{{کاربر|%s}}' + timeselected, 'it':u"\n{{Reported|%s|", 'nl':u'\n*{{linkgebruiker%s}} ' + timeselected, 'no':u'\n*{{bruker|%s}} ' + timeselected, @@ -287,15 +287,15 @@ # Set where you load your list of signatures that the bot will load if you use # the random argument (this parameter is optional). random_sign = { - 'ar': u'?????????:??? ???????/???????', - 'fa': u'Project:????? ??????/??????', + 'ar': u'ويكيبيديا:سجل الترحيب/توقيعات', + 'fa': u'Project:سیاهه خوشامد/امضاها', 'en': u'User:Filnik/Sign', 'it': u'Project:Benvenuto log/User', } # The page where the bot reads the real-time whitelist page. # (this parameter is optional). whitelist_pg = { - 'ar':u'?????????:??? ???????/??????????', + 'ar':u'ويكيبيديا:سجل الترحيب/قائمةبيضاء', 'en':u'User:Filnik/whitelist', 'it':u'Utente:Filbot/whitelist', }