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=172937…
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: Pending
Resolution: Fixed
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
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2008-12-15 13:30
Message:
solved with revision 6149.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=172937…