Patches item #1729378, was opened at 2007-06-01 09:40
Message generated for change (Settings changed) made by purodha
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1729378&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: Accepted
Priority: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
>Assigned to: Purodha B Blissenbach (purodha)
Summary: interwiki.py - add command line option -hintnobracket

Initial Comment:
Often you have page titles like "xyzname (specialcase)" in your language while 
others only have "xyzname".

In English, there are many page titles like "abc (disambiguation)", while other 
languages use "abc" for their disambiguations, and vice versa.

Both such cases can be more easily dealt with, when -askhint, -same, etc. 
automatically ignore the " (whatever there is in brackets) " upon request

Suggestion: Add a command line option -hintnobracket which does exactly that.

Attached is a patch which works for me.

Review is strongly suggested: I am not a python expert, and I am uncertain 
about negative side-effects. Most specifically, I did not check for other 
callers of the ameded translate.py



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

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

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to