Patches item #2840076, was opened at 2009-08-19 08:49
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2840076&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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: vec translations of interwiki.py
Initial Comment:
adding vec translations of messages in interwiki.py
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-29 14:08
Message:
r7184 by alexsh
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2840076&group_…
Patches item #2843716, was opened at 2009-08-24 19:45
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2843716&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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: DixonD (dixond)
Assigned to: Nobody/Anonymous (nobody)
Summary: Ukranian messages in template.py
Initial Comment:
As title
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-29 14:00
Message:
r7184 by alexsh
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2843716&group_…
Feature Requests item #2846508, was opened at 2009-08-28 16:48
Message generated for change (Tracker Item Submitted) made by vvinet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2846508&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: 5
Private: No
Submitted By: Vincent Vinet (vvinet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Replace in-code translations by gettext
Initial Comment:
Having thousands of lines of translations in the text is not very elegant, plus it requires people to look at the code to make translations.
Using gettext could make this a lot easier to manage.
Attached is a patch that changes the family.py to use gettext translations in some places, as well as a simple script to generate and compile translation files.
Since the translation is not dependant on the user's locale, but on the wiki's, the i18n.py file created by the patch allows choosing the language to get the translation from, and then getting the translation string.
In order to translate, "Category" for a French wiki, for example, you just need to do _GT("fr").ugettext("Category") where _GT is a short alias for the get_translation function in i18n.py
The .po file for "fr" language code is partly filled up for some of the translations.
Sorry if this does not cover all strings so far. It only covers those I needed so far. If there is interest for this feature, I can help to continue the integration, as well as automatically generate the .po files for every language based on the current namespace dictionary.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2846508&group_…
Bugs item #2846488, was opened at 2009-08-28 16:22
Message generated for change (Tracker Item Submitted) made by vvinet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488&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: Vincent Vinet (vvinet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Import/Path errors
Initial Comment:
Pywikipedia (r-1 (unknown), 0 (unknown))
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
When modifying the path for performing imports, the config userData path should not be used, since the files are laid out in a static fashion. Instead, the __file__ path allows for the path to always contain the required files.
The included patch fixes the various import errors I found while trying to develop a bot that acted from outside de pywikipedia source folder.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488&group_…
Bugs item #2846484, was opened at 2009-08-28 16:15
Message generated for change (Tracker Item Submitted) made by vvinet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846484&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: Vincent Vinet (vvinet)
Assigned to: Nobody/Anonymous (nobody)
Summary: syntax errors in simple_family.py
Initial Comment:
The file does not pass syntax checking.
Attached is a patch to fix it
python pywikipedia/version.py
Pywikipedia (r-1 (unknown), 0 (unknown))
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846484&group_…
Feature Requests item #2846370, was opened at 2009-08-28 17:02
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2846370&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: rewrite
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Suggestions regarding -addcat option in replace.py
Initial Comment:
The initial problem: I wanted to replace text in categories AND simultaneously add another category, but the addcat function undid the textual replacement. I got it to work, here's the replacement.py diff (the first change is a syntax correction, the second change is from http://osdir.com/ml/pywikipedia-bugs/2009-07/msg00067.html ):
304c304
< cat_ns + ':' + addedCat)
---
> cat_ns + addedCat)
390c390
< cats = page.categories(nofollow_redirects=True)
---
> cats = page.categories()
392d391
< cats.append(self.addedCat)
394c393
< cats)
---
> [self.addedCat],addOnly = True)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2846370&group_…
Bugs item #2555767, was opened at 2009-02-01 17:25
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2555767&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: interwiki
Group: None
Status: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py removes redirects
Initial Comment:
interwiki.py vers. 6312
My interwiki-options are -autonomous -force -noredirect .
As I found at this link e.g. [http://it.wikipedia.org/w/index.php?title=Assiomi_di_Huzita-Hatori&diff=217…] interwiki.py removes redirected interwiki links instead of fixing it during -noredirect option. I supposed that -noredirect ignores links coming from the redirected page and keep or fix the redirect link but not deleting it. In this given case, the english page has been moved before the bot does its work. Here are some statements from the logfile depending on this matter:
[[折り紙公ç†]]: [[ja:折り紙公ç†]] gives new interwiki [[it:Assiomi di Huzita-Hatori]]
[[折り紙公ç†]]: [[ja:折り紙公ç†]] gives new interwiki [[en:Huzita-Hatori axioms]]
[[折り紙公ç†]]: [[ja:折り紙公ç†]] gives new interwiki [[ru:Правила Худзита]]
[[折り紙公ç†]]: [[ja:折り紙公ç†]] gives new interwiki [[fa:اصل هوزیتا-هاتوری]]
Getting 60 pages from wikipedia:en...
NOTE: [[en:Huzita-Hatori axioms]] is redirect to [[en:Huzita–Hatori axioms]]
NOTE: not following redirects.
======Post-processing [[ja:折り紙公ç†]]======
Updating links on page [[it:Assiomi di Huzita-Hatori]].
Changes to be made: Aggiungo: [[ja:折り紙公ç†]] Tolgo: [[en:Huzita-Hatori axioms]]
- [[en:Huzita-Hatori axioms]]
+ [[ja:折り紙公ç†]]
ERROR: Found incorrect link to en in [[it:Assiomi di Huzita-Hatori]]
NOTE: Performing a recursive query first to save time....
NOTE: Nothing left to do 2
NOTE: Updating live wiki...
Changing page [[it:Assiomi di Huzita-Hatori]]
Updating links on page [[ja:折り紙公ç†]].
Changes to be made: 除去: [[en:Huzita-Hatori axioms]]
- [[en:Huzita-Hatori axioms]]
ERROR: Found incorrect link to en in [[ja:折り紙公ç†]]
NOTE: Performing a recursive query first to save time....
NOTE: Nothing left to do 2
NOTE: Updating live wiki...
Changing page [[折り紙公ç†]]
Updating links on page [[ru:Правила Худзита]].
Changes to be made: добавил: [[ja:折り紙公ç†]] удалил: [[en:Huzita-Hatori axioms]]
- [[en:Huzita-Hatori axioms]]
+ [[ja:折り紙公ç†]]
ERROR: Found incorrect link to en in [[ru:Правила Худзита]]
NOTE: Performing a recursive query first to save time....
NOTE: Nothing left to do 2
NOTE: Updating live wiki...
Changing page [[ru:Правила Худзита]]
Updating links on page [[fa:اصل هوزیتا-هاتوری]].
Changes to be made: اÙزودن: [[ja:折り紙公ç†]] ØØ°Ù: [[en:Huzita-Hatori axioms]]
- [[en:Huzita-Hatori axioms]]
+ [[ja:折り紙公ç†]]
ERROR: Found incorrect link to en in [[fa:اصل هوزیتا-هاتوری]]
NOTE: Performing a recursive query first to save time....
NOTE: Nothing left to do 2
NOTE: Updating live wiki...
Changing page [[fa:اصل هوزیتا-هاتوری]]
[w:de:User:Xqt]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2555767&group_…
Bugs item #2484627, was opened at 2009-01-03 23:54
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2484627&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: interwiki
Group: None
Status: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: removing sr interwiki
Initial Comment:
There is problem with sr.wikipedia - latin characters in URL or in interwiki are automatically translated to cyrilic, but bot does not recognize it ant wants to remove this valid interwiki
see
http://cs.wikipedia.org/w/index.php?title=Nikdo_v%C3%A1s_nesm%C3%AD_b%C3%AD…
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-02-12 09:28
Message:
I've found the same problem here, but it could solve it founding a cyrilic
link. Otherwise the sr-link would be deleted:
[[Dušan Simović]]: [[de:Dušan Simović]] gives new interwiki
[[no:Dušan Simović]]
[[Dušan Simović]]: [[de:Dušan Simović]] gives new interwiki
[[sr:Душан Симовић]]
[[Dušan Simović]]: [[de:Dušan Simović]] gives new interwiki
[[en:Dušan Simović]]
[[Dušan Simović]]: [[de:Dušan Simović]] gives new interwiki
[[fr:Dušan Simović]]
[[Dušan Simović]]: [[de:Dušan Simović]] gives new interwiki
[[pl:Dušan Simović]]
Getting 1 pages from wikipedia:no...
NOTE: [[Dušan Simović]]: [[no:Dušan Simović]] gives duplicate
interwiki on same site [[de:Dušan Simović]]
Getting 1 pages from wikipedia:de...
Getting 1 pages from wikipedia:sr...
Getting 1 pages from wikipedia:en...
NOTE: [[Dušan Simović]]: [[en:Dušan Simović]] gives duplicate
interwiki on same site [[sr:Dušan Simović]]
Getting 1 pages from wikipedia:sr...
NOTE: [[sr:Dušan Simović]] does not exist
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-27 07:25
Message:
See also this edit:
http://cs.wikipedia.org/w/index.php?title=Vidovdansk%C3%A1_%C3%BAstava&diff…
interwiki.py types:
Getting 1 pages from wikipedia:sr...
NOTE: [[sr:Vidovdanski ustav]] does not exist
=====Post-processing [[Videovdanská ústava]]=====
WARNING: [[sr:Vidovdanski ustav]] is either deleted or has mismatching
disambiguation state
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2484627&group_…
Feature Requests item #2845899, was opened at 2009-08-28 02:11
Message generated for change (Tracker Item Submitted) made by dixond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2845899&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: 5
Private: No
Submitted By: DixonD (dixond)
Assigned to: Nobody/Anonymous (nobody)
Summary: More useful movepages.py
Initial Comment:
Script movepages.py will be very much useful if it also change links in all pages linked to moved page.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2845899&group_…
Bugs item #2816205, was opened at 2009-07-03 11:02
Message generated for change (Settings changed) made by jandudik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2816205&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: interwiki
Group: None
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: -whenneeded does not work correctly
Initial Comment:
When I run bot
interwiki.py -whenneeded -force cs:New_York_(stát) -ignore:bcl:New_Mexico
it repair ONLY cs and en, not other languages with this bad (but ignored) link
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2816205&group_…