Bugs item #2787059, was opened at 2009-05-05 08:57
Message generated for change (Tracker Item Submitted) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=278705…
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: siebrand (siebrand)
Assigned to: Multichill (multichill)
Summary: Commonscat: crashes on template with '=' parameters
Initial Comment:
To reproduce: python commonscat.py -lang:ja -start:Category:鉄
This page contains the following template code:
{{Commonscat
|ページ名=Iron
|タイトル=Iron
|追加1=Steel
|タイトル1=Steel
}}
Results in:
siebrand@v05-s341:~/nl$ nice python commonscat.py -lang:ja -start:Category:鉄
WARNING: Configuration variable 'language' is defined but unknown. Misspelled?
Getting 60 pages from wikipedia:ja...
Working on Category:鉄
Commonscat template is already on Category:鉄
NOTE: You have new messages on commons:commons
Traceback (most recent call last):
File "commonscat.py", line 364, in <module>
main()
File "commonscat.py", line 360, in main
(status, always) = addCommonscat(page, summary, always)
File "commonscat.py", line 227, in addCommonscat
checkedCommonscat = checkCommonscatLink(currentCommonscat)
File "commonscat.py", line 303, in checkCommonscatLink
if not commonsPage.exists():
File "/home/siebrand/nl/wikipedia.py", line 896, in exists
self.get()
File "/home/siebrand/nl/wikipedia.py", line 681, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle,
sysop = sysop)
File "/home/siebrand/nl/wikipedia.py", line 746, in _getEditPage
raise BadTitle('BadTitle: %s' % self)
]]kipedia.BadTitle: BadTitle: [[commons:Category:ページ名=Iron
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=278705…