[Pywikipedia-l] [ pywikipediabot-Bugs-1881742 ] Casing problem with mediawiki_message
SourceForge.net
noreply at sourceforge.net
Tue Jan 29 11:27:12 UTC 2008
Bugs item #1881742, was opened at 2008-01-29 12:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1881742&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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dashiva (magnusrk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Casing problem with mediawiki_message
Initial Comment:
mediawiki_message in wikipedia.py uses the PHP view of Special:Allmessages as fallback if the specific message page is missing (common in older MW versions).
However, this only registers messages with the first letter lowercase, while regular page access is first letter CI. There are six calls to mediawiki_message using uppercased first letters in wikipedia.py alone, probably many more elsewhere (based on current HEAD).
mediawiki_message should lowercase the first letter of the requested message name before doing the lookup.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1881742&group_id=93107
More information about the Pywikipedia-l
mailing list