mwparserfromhell icon indicating copy to clipboard operation
mwparserfromhell copied to clipboard

add `after` parameter to Template.add() method

Open RheingoldRiver opened this issue 3 years ago • 0 comments

This would be a nice QOL update that doesn't really add missing functionality per se, but I often try to convince people how easy it is to edit wikis with Python scripts, and one sticking point is that it's just a bit tricky to add one parameter after another, when someone is brand-new to coding. And usually adding a new parameter after an existing one is the desired use case for Template.add (e.g. template.add('image_unlined', 'Yes', after='image') etc).

RheingoldRiver avatar Feb 03 '22 21:02 RheingoldRiver