[Pywikipedia-l] [ pywikipediabot-Patches-2005964 ] Update/optimization of featured.py

SourceForge.net noreply at sourceforge.net
Fri Jul 4 18:26:18 UTC 2008


Patches item #2005964, was opened at 2008-06-29 17:23
Message generated for change (Comment added) made by nicdumz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2005964&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: Closed
>Resolution: Accepted
Priority: 6
Private: No
Submitted By: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: Update/optimization of featured.py

Initial Comment:
1. added dsb summary
2. removed all namespace prefixes (else they just get obsolete with the time); using English standards in that patch (how to use module dicts?)...

Diff patch is attached ;-)

See also coloured diff:
http://als.wikipedia.org/w/index.php?title=Benutzer%3AMelancholieBot%2Ffeatured.py&diff=144732&oldid=143619

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

>Comment By: NicDumZ  Nicolas Dumazet (nicdumz)
Date: 2008-07-04 20:26

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

You are right. Parts of featured.py were quite badly written.

Applied your patch in r5669, along with some code cleanup. FYI, the
function you were searching for was :

Site::namespace( int ns ) returns string


Thanks ;)

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

Comment By: Melancholie (melancholie)
Date: 2008-07-04 16:08

Message:
Logged In: YES 
user_id=2089773
Originator: YES

Updated zh-classical
File Added: featured.diff

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

Comment By: Melancholie (melancholie)
Date: 2008-06-29 17:26

Message:
Logged In: YES 
user_id=2089773
Originator: YES

Note: The uz template namespace has been changed for example...

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

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



More information about the Pywikipedia-l mailing list