Menu

#98 interwiki.py - add command line option -hintnobracket

closed-fixed
None
5
2008-12-15
2007-06-01
No

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

Discussion

  • Purodha B Blissenbach

    Patch: adding "-hintnobracket" command line option to interwiki.py

     
  • Purodha B Blissenbach

    • assigned_to: nobody --> purodha
    • status: open --> open-accepted
     
  • Purodha B Blissenbach

    • status: open-accepted --> closed-fixed
     
  • Purodha B Blissenbach

    solved with revision 6149.

     
  • Purodha B Blissenbach

    • status: closed-fixed --> pending-fixed
     
  • Purodha B Blissenbach

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB