Bugs item #2930108, was opened at 2010-01-11 22:34
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2930108&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: Fixed
Priority: 5
Private: No
Submitted By: Multichill (multichill)
>Assigned to: xqt (xqt)
Summary: -usercontribs: broken
Initial Comment:
The pagegenerator -usercontribs should return all the edits by a certain user. It doesn't. It stops after a couple of pages:
D:\Wikipedia\pywikipedia>version.py
Pywikipedia [svn+ssh] multichill@trunk/pywikipedia (r7850, 2010/01/02, 12:59:20)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
D:\Wikipedia\pywikipedia>imagecopy.py -lang:en -usercontribs:R.J.Oosterbaan
WARNING: Configuration variable 'CommonsDelinker' is defined but unknown. Misspe
lled?
Getting 60 pages from wikipedia:en...
Skipping File:HablehRud.JPG
Skipping File:PunataFan.png
Skipping File:KhuzdarFan.JPG
Skipping File:Flood&recession.JPG
Skipping File:BundPhoto.JPG
Skipping File:OkavangoPhoto.JPG
Skipping File:OkavangoMap.JPG
Skipping File:PunataReserv.JPG
Skipping File:PunataTransmis.JPG
Skipping File:PunataRegion.JPG
Skipping File:PunataCropping.JPG
Skipping File:StripCropping.jpg
Skipping File:GarmsarWatBal.JPG
Skipping File:GarmsarAquifer.JPG
Skipping File:GarmsarMap.JPG
Skipping File:Well&Karez.JPG
Skipping File:KhuzdarBund.JPG
Skipping File:KhuzdarAgri.JPG
Skipping File:OkavangoFan.png
Skipping File:GarmsarFan.png
Skipping File:TidalCrossSection.GIF
Getting 29 pages from wikipedia:en...
Skipping File:WellDrain.gif
Skipping File:WellDrain.png
Skipping File:AbadanIsland.GIF
Skipping File:Drainsection.PNG
Skipping File:AnisotropicSoil.PNG
Skipping File:DrainSection.jpg
Still 1 active threads, lets wait
All threads are done
D:\Wikipedia\pywikipedia>
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-02-16 10:56
Message:
done in r7938
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2930108&group_…
Bugs item #2948341, was opened at 2010-02-09 09:41
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2948341&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: Foxie001 (foxie001)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia.py
Initial Comment:
Since a recent update of wikipedia.py its impossible to run the following command: python pywikipedia/interwiki.py. In stead I have to change the directory to the map pywikipedia and run the command: python interwiki.py
----------------------------------------------------------------------
Comment By: Foxie001 (foxie001)
Date: 2010-02-09 20:05
Message:
I have also r7921
I enter the following command
foxie001@nightshade:~$ nice python pywikipedia/interwiki.py -autonomous
-quiet -askhints -lang:nl
Traceback (most recent call last):
File "pywikipedia/interwiki.py", line 328, in <module>
import wikipedia as pywikibot
File "/home/foxie001/pywikipedia/wikipedia.py", line 148, in <module>
import config, login, query, version
File "/home/foxie001/pywikipedia/config.py", line 88, in <module>
for _filename in os.listdir(os.path.join(_base_dir, 'families')):
OSError: [Errno 2] No such file or directory: '/home/foxie001/families'
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-02-09 19:42
Message:
Both possibilities works for me in r7921. Do you have additional
informations like error messages and versions?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2948341&group_…
Bugs item #2605385, was opened at 2009-02-16 13:28
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2605385&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: Robert Ullmann (robertullmann)
Assigned to: Nobody/Anonymous (nobody)
Summary: wiktionary sort order for ms and da
Initial Comment:
It was pointed out to me that the order used for ms.wikt (default code-alpha) is incorrect, they use the order used by ms.wp: "alphabetic_revised"
Also: da.wikt wants the order to be "alphabetic"
Does anyone look at "feature requests"? Took me a while to realize they were separate from "bugs".
Pywikipedia [http] trunk/pywikipedia (r6353, Feb 14 2009, 14:36:27)
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-02-16 08:51
Message:
Please give a link of a community consensus and register the new sorting
order at http://meta.wikimedia.org/wiki/Interwiki_sorting_order
----------------------------------------------------------------------
Comment By: Robert Ullmann (robertullmann)
Date: 2009-03-09 16:01
Message:
I have no idea how to "create a patch file".
----------------------------------------------------------------------
Comment By: erwin85 (erwin85_wp)
Date: 2009-03-07 12:01
Message:
Could you please create a patch file including the alphabetic_revised list
for the Wiktionary family?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2605385&group_…
Bugs item #2110095, was opened at 2008-09-14 11:46
Message generated for change (Comment added) 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: 5
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_…
Feature Requests item #1722782, was opened at 2007-05-21 17:21
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1722782&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: Byrial Ole Jensen (byrial)
>Assigned to: xqt (xqt)
Summary: interwiki.py should follow category redirect templates
Initial Comment:
Sometimes when a category is moved, a template like [[en:template:Template:Category redirect]] (see its interwiki links for similar templates in other languages) is left at the old category page.
It would be good if interwiki.py could check for the presence of a such template and follow the redirect to the new category as given by the template argument.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-02-16 08:09
Message:
category redirects are handled similar to normal redirects since release
7936 (fix for #2949822). This also affects -initialredirect and -noredirect
as well
----------------------------------------------------------------------
Comment By: Lars Aronsson (aronsson)
Date: 2009-01-17 17:34
Message:
Could you describe how you measure this slowdown, and what level of
slowdown would be acceptable? All the code does is to test for strings
similar to {{category redirect | something}}, which shouldn't be much
slower than testing for #REDIRECT [[something]].
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-01-15 15:45
Message:
aronsson: Although your patch works, it causes an unacceptable slowdown in
the loading of category pages. I have therefore reverted the change, and
will not implement this feature for the time being. I'll leave this open
in case anyone has a better idea.
----------------------------------------------------------------------
Comment By: Lars Aronsson (aronsson)
Date: 2009-01-12 23:22
Message:
The previous comment was a failed attempt to submit a patch. The same code
is available as the attached file mydiff. Most of this patch is a list of
template names, that originated in category_redirect.py and really should
move to family.py or some place like that.
What I've done is to add an "elif" branch in the two places, where
self.site.redirectRegex() is tested, so it also looks for these templates,
but only if we are in a category page. Maybe self.site shouldn't hand out a
regex, but instead provide the function that tests for redirects. Feel free
to refactor this.
----------------------------------------------------------------------
Comment By: Lars Aronsson (aronsson)
Date: 2009-01-10 02:41
Message:
Thanks, I hadn't even looked in category_redirect.py. For the moment, I
just copied the list of template names to my version of wikipedia.py so all
my changes are in one file. I have updated the list with more template
names (and more synonyms).
The detection of #REDIRECT in wikipedia.py is done in two places, using
self.site.redirectRegex() both in Page._getEditPage() and GetAll.oneDone().
These are the two places I added an "elif" branch to look for category
redirects. I don't fully understand why there needs to be two places to do
this test, but that's a matter of overall design. The naming of
redirectRegex() is also hardwired to the use of a single regex, which
doesn't scale to category redirects. Perhaps a refactoring would lead to
that function being renamed to isRedirect(). I think redirect detection
does belong in the Site object, since it depends on language-specific
synonyms to REDIRECT and to specific templates used for category redirects.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-01-09 14:17
Message:
category_redirect.py already contains a list of category redirect
templates, although only for a few sites. If it is desired to use this
capability in other bots, then the template lists should probably be moved
into the family files, and an is_category_redirect() method added to the
Category object in catlib.py, or alternatively to the Page object.
----------------------------------------------------------------------
Comment By: Lars Aronsson (aronsson)
Date: 2009-01-09 12:40
Message:
I now have some code that I believe solves this. But since I'm a beginner
in Python, I'd like someone more experienced to look at my code before it
is submitted.
----------------------------------------------------------------------
Comment By: Lars Aronsson (aronsson)
Date: 2009-01-09 01:46
Message:
The previous comment was by me. I don't know why I wasn't logged in.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-09 01:43
Message:
Implementing this feature involves several steps.
First the template needs to be detected. This is similar to isDisambig()
in wikipedia.py. Perhaps that function should also require isCategory(), so
the template is only detected when used in category pages. Unfortunately,
there is no equivalent to the MediaWiki:Disambiguationspage to help us find
out what the template name is in each language, so we have to list the
template translations for each language. I think that should be manageable.
I propose the new function be called isCategoryRedirect(). Then this
function needs to be introduced where isRedirect() is used. Or perhaps
isRedirect() should call it? That would save a lot of work.
Are there some situations where it would be harmful to detect this
template? Should the use of the new function be configurable?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1722782&group_…
Feature Requests item #2785014, was opened at 2009-05-01 14:56
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785014&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: 3
Private: No
Submitted By: Multichill (multichill)
Assigned to: Multichill (multichill)
Summary: Fallback templates in commonscat.py
Initial Comment:
Currently commonscat.py has a list of templates to work on (commonscatTemplates) and a list of templates to ignore and skip (ignoreTemplates).
A list of fallback templates should be added so that non-default commonscat templates (like Commonscatklein) are not ignored by the bot, but used or even replaced with the default template.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-02-15 21:27
Message:
already done in r7667
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785014&group_…
Feature Requests item #2952079, was opened at 2010-02-15 14:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2952079&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: 7
Private: No
Submitted By: TXiKi (tx1k1)
>Assigned to: xqt (xqt)
Summary: Interwiki.py should consider category redirects
Initial Comment:
When working with interwiki.py over category pages, redirects are not considered, so that the script adds interwikis in 'category_redirect' pages. A new feature to consider category redirects would be interesting, in order to follow the redirects, and add the interwikis in the target page instead.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-02-15 16:13
Message:
duplicate to #2949822
done in release 7933, 7935, 7936
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2952079&group_…
Bugs item #2949822, was opened at 2010-02-11 18:29
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2949822&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: alchimista ()
>Assigned to: xqt (xqt)
Summary: Bots doesn't recognize category redirect template
Initial Comment:
In pt.wp iw bots and commonscat.py doesn't recognize the {{redirecionamento de categoria}} template as redirect, adding commonscat and iw on those cats. The use of the template is {{redirecionamento de categoria|correct cat}}. Template is also already in wikipedia_family.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-02-15 16:08
Message:
done in release 7933, 7935, 7936
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2949822&group_…
Feature Requests item #2952079, was opened at 2010-02-15 14:38
Message generated for change (Settings changed) made by tx1k1
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2952079&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
>Priority: 7
Private: No
Submitted By: TXiKi (tx1k1)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interwiki.py should consider category redirects
Initial Comment:
When working with interwiki.py over category pages, redirects are not considered, so that the script adds interwikis in 'category_redirect' pages. A new feature to consider category redirects would be interesting, in order to follow the redirects, and add the interwikis in the target page instead.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2952079&group_…
Feature Requests item #2952079, was opened at 2010-02-15 14:38
Message generated for change (Tracker Item Submitted) made by tx1k1
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2952079&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
Priority: 5
Private: No
Submitted By: TXiKi (tx1k1)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interwiki.py should consider category redirects
Initial Comment:
When working with interwiki.py over category pages, redirects are not considered, so that the script adds interwikis in 'category_redirect' pages. A new feature to consider category redirects would be interesting, in order to follow the redirects, and add the interwikis in the target page instead.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2952079&group_…