User:Flubot/Adding sort key to French words

How to run
 * A PC running Linux is needed; also python and pywikipedia.
 * Copy the following script into pywikipedia folder.
 * Make a list of words to modify and save it in the same folder or else chose a whole category
 * Run with
 * python taxin-fr.py -file:filename
 * python taxin-fr.py -cat:CategoryName
 * For more options see def main

Known problems


 * The script cannot handle headword templates including other templates like . So, it will not modify any such pages.
 * Other templates outside of the inflexion line are used also for categorizing pages (see for instance Template:past participle of)
 * Some pages do not have any headword template and use instead.