Good morning everyone,
I would like to add the translations to catalan & solve errors in
pywikipedia. I tried updating via SVN, but I guess I need permission for
that ;)
There is an ERROR in featured.py. Catalan featured articles are located in:
<<
'ca': (CAT, u"Llista d'articles de qualitat"),
<<
There are several TRANSLATIONS which need to be implemented:
In featured.py
<<
'ca': u'Bot: [[%s:%s]] és un article de qualitat',
'en': u'Bot: [[%s:%s]] is a featured article',
<<
In category.py
<<
'ca':u'Bot:Afegint [[Categoria:%s]]',
'en':u'Robot: Adding [[Category:%s]]',
'ca':u'Bot:Canviant %s',
'en':u'Robot: Changing %s',
'ca':u'Bot:La categoria ha estat moguda a [[:Categoria:%s|%s]]',
'en':u'Robot: Category was moved to [[:Category:%s|%s]]',
'ca':u'Bot: Fent un llistat de %s (%d entrades)',
'en':u'Robot: Listifying from %s (%d entries)',
'ca':u'Bot:La categoria ha estat eliminada',
'en':u'Robot: Category was disbanded',
'ca':u'Bot:Eliminant de %s',
'en':u'Robot: Removing from %s',
'ca': u'(també a %s)',
'en': u'(also in %s)',
<<
In replace.py
<<
'ca':u'Bot: Reemplaçament automàtic de text %s',
'en':u'Robot: Automated text replacement %s',
<<
Please let me know if I can help in anything else. Thank you,
Meldor
Revision: 6282
Author: purodha
Date: 2009-01-23 14:15:11 +0000 (Fri, 23 Jan 2009)
Log Message:
-----------
Save some memora and file handles by deleting page generators after -xxfile: parameter processing.
Add -hintfile parameter, see https://sourceforge.net/tracker2/?func=detail&aid=2284955&group_id=93107&at…
Modified Paths:
--------------
trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py
===================================================================
--- trunk/pywikipedia/interwiki.py 2009-01-23 13:39:53 UTC (rev 6281)
+++ trunk/pywikipedia/interwiki.py 2009-01-23 14:15:11 UTC (rev 6282)
@@ -91,6 +91,9 @@
* latin: All languages using the Latin script.
* scand: All Scandinavian languages.
+ -hintfile: similar to -hint, except that the hints are taken from
+ the given file, one per line, instead of the command line.
+
-askhints: for each page one or more hints are asked. See hint: above
for the format, one can for example give "en:something" or
"20:" as hint.
@@ -1612,6 +1615,12 @@
globalvar.auto = False
elif arg.startswith('-hint:'):
hints.append(arg[6:])
+ elif arg.startswith('-hintfile:'):
+ hintfile = arg[10:]
+ hintPageGen = pagegenerators.TextfilePageGenerator(hintfile)
+ for page in hintPageGen:
+ hints.append(page)
+ del hintPageGen
elif arg == '-force':
globalvar.force = True
elif arg == '-same':
@@ -1687,6 +1696,7 @@
skipPageGen = pagegenerators.TextfilePageGenerator(skipfile)
for page in skipPageGen:
globalvar.skip.add(page)
+ del skipPageGen
elif arg == '-skipauto':
globalvar.skipauto = True
elif arg == '-restore':
@@ -1710,6 +1720,7 @@
ignorePageGen = pagegenerators.TextfilePageGenerator(ignorefile)
for page in ignorePageGen:
globalvar.ignore.append(page)
+ del ignorePageGen
elif arg == '-showpage':
globalvar.showtextlink += globalvar.showtextlinkadd
elif arg == '-graph':
Feature Requests item #2531112, was opened at 2009-01-23 13:51
Message generated for change (Settings changed) made by purodha
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Priority: 6
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py - allow to combine -new with -namespace
Initial Comment:
Since the list of new pages supports selection of name spaces now, the api does it anyways, please allow interwiki.py the same.
While I believe, a page generator of new pages should be flexible enough to return pages of all name spaces upon 1 request, I suggest not to use this functionallity in interwiki.py for securing against unwanted interwikilinking of talk pages, and creating (usually wrong) interwiki links of template pages (where <noinclude> wold be usually required but is not added automatically, only left in place and used, if it is aready there)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531112&group_…
Patches item #2531112, was opened at 2009-01-23 13:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2531112&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py - allow to combine -new with -namespace
Initial Comment:
Since the list of new pages supports selection of name spaces now, the api does it anyways, please allow interwiki.py the same.
While I believe, a page generator of new pages should be flexible enough to return pages of all name spaces upon 1 request, I suggest not to use this functionallity in interwiki.py for securing against unwanted interwikilinking of talk pages, and creating (usually wrong) interwiki links of template pages (where <noinclude> wold be usually required but is not added automatically, only left in place and used, if it is aready there)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2531112&group_…
Patches item #2194817, was opened at 2008-10-25 17:39
Message generated for change (Comment added) made by purodha
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2194817&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Translations
Group: None
Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Purodha B Blissenbach (purodha)
Summary: Dutch values for noreferences.py
Initial Comment:
I created a diff file with dutch values for noreferences.py, so that it can be used in the dutch wikipedia. Request to add this to the standard version on the SVN network.
----------------------------------------------------------------------
>Comment By: Purodha B Blissenbach (purodha)
Date: 2009-01-23 13:42
Message:
Done with revison 6281.
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/noreferences.…
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2009-01-23 13:34
Message:
moved to patches.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2194817&group_…