Revision: 4415
Author: huji
Date: 2007-10-04 07:28:42 +0000 (Thu, 04 Oct 2007)
Log Message:
-----------
*enabling unicode
*adding persian translation
*removing useless parantheses
Modified Paths:
--------------
branches/pywikipedia/messages/messages.py
Modified: branches/pywikipedia/messages/messages.py
===================================================================
--- branches/pywikipedia/messages/messages.py 2007-10-03 21:29:49 UTC (rev 4414)
+++ branches/pywikipedia/messages/messages.py 2007-10-04 07:28:42 UTC (rev 4415)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
"""
This file contains the edit summaries used by other modules.
It is imported by wikipedia.py
@@ -2,6 +3,8 @@
"""
+__version__ = '$Id: basic.py 4401 2007-10-03 12:52:09Z huji $'
edit_summaries = {
'Adding "test" to the beginning of the page.':
{
- 'nl' : (u'"Test" toegevoegd aan het begin van de pagina.'),
+ 'nl' : u'"Test" toegevoegd aan het begin van de pagina.',
+ 'fa' : u'افزودن «Test» به ابتدای صفحه',
}
Revision: 4407
Author: leogregianin
Date: 2007-10-03 17:27:14 +0000 (Wed, 03 Oct 2007)
Log Message:
-----------
messages in top of the page
Modified Paths:
--------------
trunk/pywikipedia/disambredir.py
Modified: trunk/pywikipedia/disambredir.py
===================================================================
--- trunk/pywikipedia/disambredir.py 2007-10-03 17:07:26 UTC (rev 4406)
+++ trunk/pywikipedia/disambredir.py 2007-10-03 17:27:14 UTC (rev 4407)
@@ -16,6 +16,13 @@
import sys, re
import catlib
+msg = {
+ 'en': u'Changing redirects on a disambiguation page',
+ 'nl': u'Verandering van redirects op een doorverwijspagina',
+ 'pl': u'Zmiana przekierowań na stronie ujednoznaczającej',
+ 'pt': u'Arrumando redirects na página de desambiguação',
+}
+
def firstcap(string):
return string[0].upper()+string[1:]
@@ -118,12 +125,6 @@
page.put(text, comment)
try:
- msg = {
- 'en': u'Changing redirects on a disambiguation page',
- 'nl': u'Verandering van redirects op een doorverwijspagina',
- 'pl': u'Zmiana przekierowań na stronie ujednoznaczającej',
- 'pt': u'Arrumando redirects na página de desambiguação',
- }
start = []
test = False
for arg in wikipedia.handleArgs():