[Pywikipedia-bugs] [ pywikipediabot-Bugs-3412350 ] Commonscat.py issues

SourceForge.net noreply at sourceforge.net
Wed Oct 12 16:14:47 UTC 2011


Bugs item #3412350, was opened at 2011-09-21 11:21
Message generated for change (Settings changed) made by avicennasis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3412350&group_id=93107

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: Avicennasis (avicennasis)
Assigned to: xqt (xqt)
Summary: Commonscat.py issues

Initial Comment:
Commonscat.py should ignore the case of the first letter: http://en.wikipedia.org/w/index.php?title=Angel&diff=prev&oldid=445385375

It should also ignore trailing spaces at the end of the template: http://en.wikipedia.org/w/index.php?title=AIGA&diff=prev&oldid=451683414

And underscores: http://en.wikipedia.org/w/index.php?title=AIGA&action=historysubmit&diff=451687457&oldid=451687400

 python version.py
Pywikipedia [http] trunk/pywikipedia (r9535, 2011/09/20, 17:07:54)
Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01)
[GCC 4.3.4 20090804 (release) 1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok

----------------------------------------------------------------------

>Comment By: Avicennasis (avicennasis)
Date: 2011-10-12 12:14

Message:
Sorry for the slow reply. 
I am using "python commonscat.py -lang;en -checkcurrent" for this. 

The same errors seem present in your test page:
http://de.wikipedia.org/w/index.php?title=Benutzer%3AXqt%2FTest&action=historysubmit&diff=94003620&oldid=94003607

The trailing space that was removed at the end of the template does
nothing - the Commons link on either side of the diff works the same; it's
a pointless edit. 

----------------------------------------------------------------------

Comment By: xqt (xqt)
Date: 2011-09-24 07:28

Message:
Sorry, I cannot follow I do not have these bugs, look at the last edits of
xqbot at the test page de:user:xqt/Test

what was your command line?

----------------------------------------------------------------------

Comment By: Avicennasis (avicennasis)
Date: 2011-09-21 13:20

Message:
Also, while I'm at it, there are some additional templates for EnWp that
should be added (Not sure which were there before, but here's my working
list:)

    'en' : (u'Commons category', [u'Commoncat', u'Commons2',
u'Cms-catlist-up', u'Commons+cat', u'Sister project links',
                                  u'Catlst commons', u'Commonscat-inline',
u'Commonscategory', u'Commons and category',
                                  u'Commonscat', u'Commons
category-inline', u'Commonscat show2', u'Commons cat']),

Also, on SimpleWp, + u'Commons cat'

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3412350&group_id=93107



More information about the Pywikipedia-bugs mailing list