[Pywikipedia-l] [ pywikipediabot-Bugs-1881742 ] Casing problem with mediawiki_message

SourceForge.net noreply at sourceforge.net
Tue Jan 29 15:11:50 UTC 2008


Bugs item #1881742, was opened at 2008-01-29 06:27
Message generated for change (Comment added) made by andreasjs
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.

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

>Comment By: AndreasJS (andreasjs)
Date: 2008-01-29 10:11

Message:
Logged In: YES 
user_id=1738850
Originator: NO

Module is deprecated since Wed Jun 20 14:42:55 2007 UTC

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

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