Bugs item #2877280, was opened at 2009-10-12 22:46
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2877280&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: other
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: masti (masti01)
>Assigned to: xqt (xqt)
Summary: replace.py does not accept 2arguments with regexp
Initial Comment:
python pywikipedia/replace.py -regexp "J\.Giżycki" "[[Jerzy Giżycki (krytyk filmowy)|J.Giżycki]]" -catr:Szachy -log
Traceback (most recent call last):
File "pywikipedia/replace.py", line 716, in <module>
main()
File "pywikipedia/replace.py", line 580, in main
raise wikipedia.Error, 'require even number of replacements.'
wikipedia.Error: require even number of replacements.
using it with wikidump helps, but no reason to crash
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-13 08:48
Message:
use -regex instead of -regexp
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-10-13 08:34
Message:
python replace.py -help
-regex Make replacements using regular expressions. If this
argument
isn't given, the bot will make simple text replacements.
-regex, not -regexp
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2877280&group_…
Bugs item #2822814, was opened at 2009-07-17 00:02
Message generated for change (Comment added) made by dmitrynikitin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822814&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: 5
Private: No
Submitted By: Maurits (mcknol)
Assigned to: Nobody/Anonymous (nobody)
Summary: self-interwikis shouldn't be removed
Initial Comment:
Interwiki.py removes every internal link which refers to the own language site. For example, in en.wiki a link like [[en:article]] would be removed by the bot. This seems logical (the main syntax for non-interwiki interlanguage links would be [[:en:article]]), but the wiki-software doesn't interpret self-links as interwiki-links, so the pywikipedia-bot should neither do that.
Here is an example: http://en.wikipedia.org/w/index.php?title=Help:Parser_function&diff=2907957…
Pywikipedia [http] trunk/pywikipedia (r7065, 2009/07/14, 19:34:51)
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-10-13 06:48
Message:
Why you decided that it was interwiki.py ? I as see on edit-description
it'is not interwiki.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822814&group_…
Bugs item #2877280, was opened at 2009-10-12 20:46
Message generated for change (Comment added) made by dmitrynikitin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2877280&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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py does not accept 2arguments with regexp
Initial Comment:
python pywikipedia/replace.py -regexp "J\.Giżycki" "[[Jerzy Giżycki (krytyk filmowy)|J.Giżycki]]" -catr:Szachy -log
Traceback (most recent call last):
File "pywikipedia/replace.py", line 716, in <module>
main()
File "pywikipedia/replace.py", line 580, in main
raise wikipedia.Error, 'require even number of replacements.'
wikipedia.Error: require even number of replacements.
using it with wikidump helps, but no reason to crash
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-10-13 06:34
Message:
python replace.py -help
-regex Make replacements using regular expressions. If this
argument
isn't given, the bot will make simple text replacements.
-regex, not -regexp
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2877280&group_…
Bugs item #2873605, was opened at 2009-10-06 17:58
Message generated for change (Settings changed) made by dmitrynikitin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605&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: General
Group: None
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dmitry Nikitin (dmitrynikitin)
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.py uploads an image several minutes
Initial Comment:
upload.py uploads image to site (MediaWiki version 1.15.1 = latest official release) very long ... several minutes
I thinks that the reason is the latest changes in mediawiki and hence in pywikipedia. But 1.16 is not released and 1.15.1 remains latest official release of MediaWiki. Now the latest pywikipedia version doesn't work properly with the latest official release of MediaWiki.
python /export/wiki/pywikipedia/upload.py "Dubno_set070_k0.jpg" -keep -noverify "{{Cc|Александр}} [[Категория:Без Клейма]] [[Категория:Ровенская cерия]]"
Reading file Dubno_set070_k0.jpg
The suggested description is:
{{Cc|Александр}}
[[Category:Без Клейма]]
[[Category:Ровенская серия]]
Uploading file to ...wiki:ru...
Error downloading data: Expecting , delimiter: line 1 column 199666 (char 199666)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 1 minutes...
Error downloading data: Invalid \uXXXX escape: line 1 column 376301 (char 376301)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 2 minutes...
Error downloading data: Invalid \uXXXX escape: line 1 column 276942 (char 276942)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 4 minutes...
Upload successful.
== python version.py ==
Pywikipedia [http] trunk/pywikipedia (r7379, 2009/10/06, 06:39:04)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
MediaWiki version: 1.15.1
----------------------------------------------------------------------
>Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-10-13 06:09
Message:
xqt, I tried without API and had the same problem. There was no difference
with or without API.
And yes ... request is still valid.
multichill, r7382 works fine. And it's may be considered as workaround,
but ... I want to use the same pywikimedia installation for editing
wikipedia.org and my own site on MediaWiki 1.15.1. Now I have to switch
between latest version of pywikipedia for editing wikipedia and r7382 for
editing my site.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-10-12 20:48
Message:
Could you try running r7382 of upload.py (version before the big change)
and see how that one works?
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-10 10:35
Message:
The upload modules hast been changed a lot since r7379. The actual release
is 7416.
Is this request still valid?
You may try it without API as workaround but it is not recommented in
gerneral
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-10-09 17:58
Message:
May be someone could give me workaround?
It's awful to wait for 4 min while file uploading.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605&group_…
Bugs item #2873605, was opened at 2009-10-06 19:58
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605&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: General
Group: None
Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Dmitry Nikitin (dmitrynikitin)
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.py uploads an image several minutes
Initial Comment:
upload.py uploads image to site (MediaWiki version 1.15.1 = latest official release) very long ... several minutes
I thinks that the reason is the latest changes in mediawiki and hence in pywikipedia. But 1.16 is not released and 1.15.1 remains latest official release of MediaWiki. Now the latest pywikipedia version doesn't work properly with the latest official release of MediaWiki.
python /export/wiki/pywikipedia/upload.py "Dubno_set070_k0.jpg" -keep -noverify "{{Cc|Александр}} [[Категория:Без Клейма]] [[Категория:Ровенская cерия]]"
Reading file Dubno_set070_k0.jpg
The suggested description is:
{{Cc|Александр}}
[[Category:Без Клейма]]
[[Category:Ровенская серия]]
Uploading file to ...wiki:ru...
Error downloading data: Expecting , delimiter: line 1 column 199666 (char 199666)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 1 minutes...
Error downloading data: Invalid \uXXXX escape: line 1 column 376301 (char 376301)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 2 minutes...
Error downloading data: Invalid \uXXXX escape: line 1 column 276942 (char 276942)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 4 minutes...
Upload successful.
== python version.py ==
Pywikipedia [http] trunk/pywikipedia (r7379, 2009/10/06, 06:39:04)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
MediaWiki version: 1.15.1
----------------------------------------------------------------------
>Comment By: Multichill (multichill)
Date: 2009-10-12 22:48
Message:
Could you try running r7382 of upload.py (version before the big change)
and see how that one works?
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-10 12:35
Message:
The upload modules hast been changed a lot since r7379. The actual release
is 7416.
Is this request still valid?
You may try it without API as workaround but it is not recommented in
gerneral
----------------------------------------------------------------------
Comment By: Dmitry Nikitin (dmitrynikitin)
Date: 2009-10-09 19:58
Message:
May be someone could give me workaround?
It's awful to wait for 4 min while file uploading.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605&group_…
Bugs item #2877280, was opened at 2009-10-12 22:46
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2877280&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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py does not accept 2arguments with regexp
Initial Comment:
python pywikipedia/replace.py -regexp "J\.Giżycki" "[[Jerzy Giżycki (krytyk filmowy)|J.Giżycki]]" -catr:Szachy -log
Traceback (most recent call last):
File "pywikipedia/replace.py", line 716, in <module>
main()
File "pywikipedia/replace.py", line 580, in main
raise wikipedia.Error, 'require even number of replacements.'
wikipedia.Error: require even number of replacements.
using it with wikidump helps, but no reason to crash
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2877280&group_…
Feature Requests item #2788694, was opened at 2009-05-08 01:11
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2788694&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: Interface Improvements
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Maurits (mcknol)
>Assigned to: xqt (xqt)
Summary: Cosmetic changes nationalization
Initial Comment:
Some like them, some don't, some like some, some like none...
Is it possible to implement an easy opt-in or opt-out system for language codes in cosmetic_changes.py, preferably per function, so that different wiki's can decide differently?
For example:
CapitalizeNamespaces = not en, not fr.
Or something equivalent in the proper code.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-12 10:59
Message:
done in 7434
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-09-15 18:51
Message:
It would be the best to exclude these options in general manner and not as
an option. I could realize this request asap. But for other funktions you
should give a new request.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2788694&group_…
Bugs item #2853934, was opened at 2009-09-08 01:10
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853934&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Global bot receives warning for not having local bot flag
Initial Comment:
My bot account currently has the global bot status.
Nevertheless, in wikis where a bot flag was not granted locally, I get the warning:
NOTE: Updating live wiki...
WARNING: Your account on wiktionary:uk does not have a bot flag. Its edits will
be visible in the recent changes and it may get blocked.
This becomes pretty annoying when there are lots of wikis in this situation to update.
The bot should be able to tell whether it's a global bot.
Thanks.
--------------------------------
Pywikipedia [http] trunk/pywikipedia (r7218, 2009/09/07, 09:12:09)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-12 09:31
Message:
Did you set the following parameter in your user_config.py:
account_global = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853934&group_…
Bugs item #2875107, was opened at 2009-10-08 23:46
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2875107&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py looping on editing page in pl.wp
Initial Comment:
C:\py\interwiki>version.py
Pywikipedia [http] trunk/pywikipedia (r7394, 2009/10/08, 21:27:56)
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
C:\py\interwiki>interwiki.py -lang:en List_of_highest_mountains
WARNING: Configuration variable 'language' is defined but unknown. Misspelled?
Getting 1 pages from wikipedia:en...
Getting 1 pages from wikipedia:ur...
Getting 1 pages from wikipedia:cy...
Getting 1 pages from wikipedia:lt...
Getting 1 pages from wikipedia:zh...
Getting 1 pages from wikipedia:es...
NOTE: [[en:List of highest mountains]]: [[es:Anexo:Monta¤as m s altas]] gives du
plicate interwiki on same site [[lt:Auk??iausi kalnai]]
Getting 1 pages from wikipedia:lt...
NOTE: [[lt:Auk??iausi kalnai]] is redirect to [[lt:S?ra?as:Auk??iausi kalnai]]
Getting 1 pages from wikipedia:ms...
Getting 1 pages from wikipedia:id...
Getting 1 pages from wikipedia:cs...
Getting 1 pages from wikipedia:pl...
Getting 1 pages from wikipedia:fi...
Getting 1 pages from wikipedia:no...
Getting 1 pages from wikipedia:ru...
Getting 1 pages from wikipedia:nn...
Getting 1 pages from wikipedia:de...
Getting 1 pages from wikipedia:pt...
Getting 1 pages from wikipedia:fr...
Getting 1 pages from wikipedia:is...
Getting 1 pages from wikipedia:vi...
======Post-processing [[en:List of highest mountains]]======
Updating links on page [[ur:???? ?? ????? ?????? ?? ?????]].
No changes needed
Updating links on page [[cy:Rhestr mynyddoedd uchaf y byd]].
No changes needed
Updating links on page [[cs:Seznam nejvy??¡ch hor]].
No changes needed
Updating links on page [[lt:S?ra?as:Auk??iausi kalnai]].
No changes needed
Updating links on page [[ms:Senarai gunung tertinggi]].
No changes needed
Updating links on page [[id:Daftar puncak gunung tertinggi di dunia]].
No changes needed
Updating links on page [[zh:??????]].
No changes needed
Updating links on page [[en:List of highest mountains]].
No changes needed
Updating links on page [[pl:Lista najwy?szych szczyt¢w Ziemi]].
Changes to be made: poprawia: [[lt:S?ra?as:Auk??iausi kalnai]]
- [[lt:Auk??iausi kalnai]]
+ [[lt:S?ra?as:Auk??iausi kalnai]]
NOTE: Updating live wiki...
Updating page [[pl:Lista najwy?szych szczyt¢w Ziemi]] via API
Traceback (most recent call last):
File "C:\py\interwiki\wikipedia.py", line 1550, in _putPage
response, data = query.GetData(params, self.site(), sysop=sysop, back_respon
se = True)
File "C:\py\interwiki\query.py", line 134, in GetData
raise wikipedia.ServerError
ServerError
Got a server error when putting [[pl:Lista najwy?szych szczyt¢w Ziemi]]; will re
try in 1 minute.
Dump en (wikipedia) saved
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-12 09:28
Message:
Do you have a maxretries-Parameter in your user_config.py? And is your
config.py unchanged?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2875107&group_…
Bugs item #2875107, was opened at 2009-10-08 23:46
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2875107&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: Deleted
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py looping on editing page in pl.wp
Initial Comment:
C:\py\interwiki>version.py
Pywikipedia [http] trunk/pywikipedia (r7394, 2009/10/08, 21:27:56)
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
C:\py\interwiki>interwiki.py -lang:en List_of_highest_mountains
WARNING: Configuration variable 'language' is defined but unknown. Misspelled?
Getting 1 pages from wikipedia:en...
Getting 1 pages from wikipedia:ur...
Getting 1 pages from wikipedia:cy...
Getting 1 pages from wikipedia:lt...
Getting 1 pages from wikipedia:zh...
Getting 1 pages from wikipedia:es...
NOTE: [[en:List of highest mountains]]: [[es:Anexo:Monta¤as m s altas]] gives du
plicate interwiki on same site [[lt:Auk??iausi kalnai]]
Getting 1 pages from wikipedia:lt...
NOTE: [[lt:Auk??iausi kalnai]] is redirect to [[lt:S?ra?as:Auk??iausi kalnai]]
Getting 1 pages from wikipedia:ms...
Getting 1 pages from wikipedia:id...
Getting 1 pages from wikipedia:cs...
Getting 1 pages from wikipedia:pl...
Getting 1 pages from wikipedia:fi...
Getting 1 pages from wikipedia:no...
Getting 1 pages from wikipedia:ru...
Getting 1 pages from wikipedia:nn...
Getting 1 pages from wikipedia:de...
Getting 1 pages from wikipedia:pt...
Getting 1 pages from wikipedia:fr...
Getting 1 pages from wikipedia:is...
Getting 1 pages from wikipedia:vi...
======Post-processing [[en:List of highest mountains]]======
Updating links on page [[ur:???? ?? ????? ?????? ?? ?????]].
No changes needed
Updating links on page [[cy:Rhestr mynyddoedd uchaf y byd]].
No changes needed
Updating links on page [[cs:Seznam nejvy??¡ch hor]].
No changes needed
Updating links on page [[lt:S?ra?as:Auk??iausi kalnai]].
No changes needed
Updating links on page [[ms:Senarai gunung tertinggi]].
No changes needed
Updating links on page [[id:Daftar puncak gunung tertinggi di dunia]].
No changes needed
Updating links on page [[zh:??????]].
No changes needed
Updating links on page [[en:List of highest mountains]].
No changes needed
Updating links on page [[pl:Lista najwy?szych szczyt¢w Ziemi]].
Changes to be made: poprawia: [[lt:S?ra?as:Auk??iausi kalnai]]
- [[lt:Auk??iausi kalnai]]
+ [[lt:S?ra?as:Auk??iausi kalnai]]
NOTE: Updating live wiki...
Updating page [[pl:Lista najwy?szych szczyt¢w Ziemi]] via API
Traceback (most recent call last):
File "C:\py\interwiki\wikipedia.py", line 1550, in _putPage
response, data = query.GetData(params, self.site(), sysop=sysop, back_respon
se = True)
File "C:\py\interwiki\query.py", line 134, in GetData
raise wikipedia.ServerError
ServerError
Got a server error when putting [[pl:Lista najwy?szych szczyt¢w Ziemi]]; will re
try in 1 minute.
Dump en (wikipedia) saved
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-12 09:28
Message:
Do you have a maxretries-Parameter in your user_config.py? And is your
config.py unchanged?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2875107&group_…