Bugs item #2110095, was opened at 2008-09-14 11:46
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2110095&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: euku (eugo)
Assigned to: Nobody/Anonymous (nobody)
Summary: [[Special:Export]] not retrieving zh-traditional titles
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r5894, Sep 13 2008, 17:27:38)
Python 2.4.4 (#2, Apr 15 2008, 23:43:20)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
Hello,
my bot checked ru:Домашних духов обманув, душа Цянь-нюй расстаётся с телом on ru-WP for interwiki links and found an invalid link to zh-WP and removed it. But this link is valid as you can see. Why does this happen?
Best regards,
Euku
-----
python interwiki.py "-start:%D0%94%D0%BE%D0%BC%D0%B0%D1%88%D0%BD%D0%B8%D1%85_%D0%B4%D1%83%D1%85%D0%BE%D0%B2_%D0%BE%D0%B1%D0%BC%D0%B0%D0%BD%D1%83%D0%B2,_%D0%B4%D1%83%D1%88%D0%B0_%D0%A6%D1%8F%D0%BD%D1%8C-%D0%BD%D1%8E%D0%B9_%D1%80%D0%B0%D1%81%D1%81%D1%82%D0%B0%D1%91%D1%82%D1%81%D1%8F_%D1%81_%D1%82%D0%B5%D0%BB%D0%BE%D0%BC" "-number:1" -lang:ru
Checked for running processes. 1 processes currently running, including the current process.
NOTE: Number of pages queued is 0, trying to add 60 more.
Getting 1 pages from wikipedia:ru...
Getting 1 pages from wikipedia:zh...
NOTE: [[zh:????]] does not exist
======Post-processing [[ru:Domashnikh dukhov obmanuv, dusha Cyan'-nyuj rasstaëtsya s telom]]======
Updating links on page [[ru:Domashnikh dukhov obmanuv, dusha Cyan'-nyuj rasstaëtsya s telom]].
Changes to be made: udalil: [[zh:????]]
- [[zh:????]]
ERROR: Found incorrect link to zh in [[ru:Domashnikh dukhov obmanuv, dusha Cyan'-nyuj rasstaëtsya s telom]]
Submit? ([y]es, [n]o, [g]ive up)
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-02-16 08:41
Message:
The same happens with kyrillic letters on sr-wiki (#2484627)
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-09-20 03:13
Message:
better title.
----------------------------------------------------------------------
Comment By: euku (eugo)
Date: 2008-09-14 12:17
Message:
Thanks. But there should be a general solution for this. Is it a MediaWiki
bug or should the bot know about all distinctions made on WP-Projects?
----------------------------------------------------------------------
Comment By: Andre Engels (a_engels)
Date: 2008-09-14 12:08
Message:
It has to do with the zh-traditional/zh-simplified distinction. In normal
MediaWiki usage, both the simplified and the traditional orthography of
Chinese work, but the bot uses [[Special:Export]], which only works for
simplified Chinese.
If you change the link from [[zh:倩女离魂]] to [[zh:倩女離魂]],
you still go to the same page, but the link will work for the bot as well.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2110095&group_…
Bugs item #2819291, was opened at 2009-07-10 00:31
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2819291&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: 6
Private: No
Submitted By: NeuCeu (neuceu)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'template' exception in wikipedia.replaceExcept() isn't good
Initial Comment:
Version:
Pywikipedia [http] trunk/pywikipedia (r7032, Jul 08 2009, 03:18:37)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
Because of the 'template' exception, large part of a page text can be ignored.
How to reproduce : run replace.py on fr.wiki with page "Slayers" and exeption 'template'
python replace.py -exceptinsidetag:template -regex "([Aa])ncêtre" "\1ncêetre" -namespace:0 -page:"Slayers"
It should normally find something to replace.
Possible fix : If I remove (?s) in front of the 'template' regex, it works. IMHO I would replace the .* by [^}]*
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-12 23:24
Message:
see also bug #3158761
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2819291&group_…
Bugs item #3158761, was opened at 2011-01-15 10:17
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3158761&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: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Bináris (binbot)
>Assigned to: xqt (xqt)
Summary: Template exception overworks in replace.py
Initial Comment:
I correct spelling mistakes with replace.py, and use exception:
'exceptions': {
'inside-tags': [
'hyperlink',
'template',
],
etc. as shown at http://meta.wikimedia.org/wiki/Pywikipediabot/replace.py/it
This exception excludes a lot of text that should be replaced! After a long investigation I suspect that the problem may exist when the template is complicated, e. g. the article begins with an infobox. The bot probably thinks to be inside of the template when it is already closed.
Examples:
In the last sentence of section http://hu.wikipedia.org/w/index.php?title=Nagyv%C3%A1rad&oldid=9085449#N.C3… the word "telepitettek" was not found. The article begins with an infobox.
In the middle of section http://hu.wikipedia.org/w/index.php?title=Opera_%28sz%C3%ADnm%C5%B1%29&oldi… the word "Szenitávnéji" was not found. The article has no infobox, but the text is preceeded by some templates with parameters, one of them at the very beginning.
In section http://hu.wikipedia.org/w/index.php?title=Tennessee&oldid=9028125#Megy.C3.A… the word "alapitási" was not found. The article begins with an infobox.
But:
The bot made the replacement here: http://hu.wikipedia.org/w/index.php?title=Mozilla&diff=9106942&oldid=8920815
This is also preceeded by some templates, which have parameters, but the one at the beginning of the article has no parameters. Does this make the difference?
All the above mentioned instances were found by the bot when I commented the word "template" out of the exceptions.
Not clear whether the bug is in replace.py or pagegenerators.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-12 23:24
Message:
duplicate to bug #2819291
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2011-02-09 10:38
Message:
At least a comment, thank you for dealing with the problem.
What I know, in the present form it definitely works wrongly.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-02-09 08:56
Message:
Well... this is why we desperately need unit tests. In a quick response -
I'm afraid the suggested fix' will break detection of nested templates. Or
rather, a template like
{{ blah | {{ yakk }} | more stuff }} will not be detected as a nested
template, but as {{ blah | {{ yakk }}.
Not a 100% sure on this, but this should be tested before applying the
suggested fix.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2011-02-09 04:16
Message:
Would anyone please correct this bug? One character only. TIA
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2011-01-15 23:36
Message:
Hurray, I have caught it! The bugfix is easy. In pywikibot/textlib.py, line
83, the outer brace is greedy. Changing
'template': re.compile(r'(?s){{(({{.*?}})|.)*}}'),
to
'template': re.compile(r'(?s){{(({{.*?}})|.)*?}}'),
solved the problem for me.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3158761&group_…
Support Requests item #2913662, was opened at 2009-12-13 13:53
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2913662&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: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: pydot empty file
Initial Comment:
Hi,
I try to use the pywikipedia's pydot function, but when files are created, they are empty and i don't understand why.
Pywikipedia version : r7768
Python 2.5.2
python-pydot (v 1.0.2-1) installed with "apt-get" under Debian 5 stable
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-12 23:14
Message:
closed due to long time delay
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2913662&group_…
Patches item #3193927, was opened at 2011-02-27 10:11
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3193927&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: Pending
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: DixonD (dixond)
>Assigned to: xqt (xqt)
Summary: Fix for Site.uncategorizedpages
Initial Comment:
As a title. Patch is included
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-12 23:09
Message:
bugzilla Bug 542 was reverted in mw r87030 and title attribute is filled
again. Is this patch still necesary and compatible with older mw versions?
----------------------------------------------------------------------
Comment By: DixonD (dixond)
Date: 2011-02-27 13:42
Message:
I looked at the HTML markups of Special:UncategorizedPages on both English
and Ukranians wikis, so it seems that this patch should work for MediaWiki
1.17
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-02-27 13:21
Message:
For which mediawiki versions is this regex correct?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3193927&group_…
Feature Requests item #3029674, was opened at 2010-07-14 21:58
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3029674&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: 3
Private: No
Submitted By: Multichill (multichill)
Assigned to: Nobody/Anonymous (nobody)
Summary: Move translations to translatewiki.net
Initial Comment:
Currently are done in source code directly. It's much easier to do translations at http://translatewiki.net/ like is done with mediawiki for example.
We probably have three kinds of translations:
1. Edit summaries
2. Edits itself
3. Messages shown to the user
This request is aimed at the first.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-12 23:01
Message:
Decrease prio since first part has been moved to tw
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-08-24 10:46
Message:
Strong support. I was playing about that stuff implementing it. As Siebrand
explained some time ago, we need a separate class holding all these
translations. But I am uncertain whether this would exhaustly increase the
needed memory for using the scripts.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3029674&group_…
Feature Requests item #2326967, was opened at 2008-11-22 14:48
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2326967&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: Closed
Priority: 5
Private: No
Submitted By: Woo-Jin Kim (kwj2772)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py -wiktionary
Initial Comment:
interwiki.py -wiktionary take too much time to process.
Currently, interwiki bot retreives 60 en article, next 60 fr article. (language code is just an example)
I suggest for bot to retreive all wiki entries with same name at the same time to reduce time to retreive.
Thank you.
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2009-01-23 17:31
Message:
I am pretty confident that, the current way of retrieval is usually much
faster, because it is using the [[Special:Export]] special page so as to
retrieve those up to 60 (unless -array is used) pages at once, in a single
http request.
Pages of different language wikis are retrieved from URLs having different
domains, thus there is no way known to me to have them bundeld into a
single http request. Thus they would approximately take (up to) 60 times as
long. A http request consumes almost the same clock time, while increasing
its length only marginally adds to its duration.
Thus I suggest closing this suggestion as "wontfix". I leave it open
though so as to give others an opportunity to possibly disagree with me :-)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2326967&group_…
Feature Requests item #2612266, was opened at 2009-02-18 12:09
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2612266&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: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: Implement __STATICREDIRECT__ for redirect.py
Initial Comment:
Please check whether __STATICREDIRECT__ and its translations should be implemented in redirect.py to prevent changes on redirects by redirect bot as described at http://www.mediawiki.org/wiki/Help:Magic_words
<w:de:User:Xqt>
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-12 22:46
Message:
self.done in r8578
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-03-12 18:26
Message:
You may close this request. I didn't seen this magic word anywhere and btw
it prohibits that redirects works well.
<w:de:User:Xqt>
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-03-12 18:26
Message:
You may close this request. I didn't seen this magic word anywhere and btw
it prohibits that redirects works well.
<w:de:User:Xqt>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2612266&group_…
Feature Requests item #3140480, was opened at 2010-12-20 04:18
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3140480&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: betacommand (betacommand)
Assigned to: Nobody/Anonymous (nobody)
Summary: Upload protection
Initial Comment:
mediawiki now supports file upload protection and has for quite some time, yet we do not have the ability to protect images that way via the framework
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3140480&group_…
Bugs item #3126516, was opened at 2010-12-03 12:01
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3126516&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: Closed
>Resolution: Duplicate
Priority: 1
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: bot removes valid iw to zh
Initial Comment:
the bot (run in -cleanup mode) keeps removing iw links to zh that seem to be valid. what's the problem? Unicode conversion or anything else?
http://ja.wikipedia.org/w/index.php?title=%E5%BC%B5%E7%87%AE&diff=next&oldi…
Pywikipedia [http] trunk/pywikipedia (r8750, 2010/12/02, 07:25:51)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-12 22:27
Message:
Duplicate to bug #2110095
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-12-06 08:56
Message:
Link should be fixed as shown by zh-wiki:
http://ja.wikipedia.org/w/index.php?title=%E5%BC%B5%E7%87%AE&action=history…
mw converts zh characters but pbw couldn't do it yet
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3126516&group_…