Hello I see that Filnik has written add_text.py for pywikipedia bot. My bot [[en:user:VIAFbot]] calls this. It's an extremely useful function, but there is a problem. add_text.py puts all the templates that are below the categories above the categories when I call it [see http://en.wikipedia.org/w/index.php?title=David_K._Shipler&diff=next&...]. On English Wikipedia that's a problem because the [[en:Wikipedia:Manual_of_Style/Layout#Order_of_sections|English manual of style]] says that stub templates go below categories. Can you think of a way to patch this? Thanks, Max
On 10/04/2012 09:12 PM, Max Klein wrote:
Hello I see that Filnik has written add_text.py for pywikipedia bot. My bot [[en:user:VIAFbot]] calls this. It's an extremely useful function, but there is a problem. add_text.py puts all the templates that are below the categories above the categories when I call it [see http://en.wikipedia.org/w/index.php?title=David_K._Shipler&diff=next&... http://en.wikipedia.org/w/index.php?title=David_K._Shipler&diff=next&oldid=455476445]. On English Wikipedia that's a problem because the [[en:Wikipedia:Manual_of_Style/Layout#Order_of_sections|English manual of style]] says that stub templates go below categories. Can you think of a way to patch this? Thanks, Max
there is -noreorder parameter to prevent this. Have you tried it?
masti