Talk:Pywikibot/template.py

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Xeno (talk | contribs) at 15:36, 22 April 2009 (→‎New entry for regex matches: new section). It may differ significantly from the current version.

Latest comment: 15 years ago by Xeno in topic New entry for regex matches

-remove doesn't remove

Running template.py -remove template_name gives me a bunch of results like:

No changes were necessary in [[Help:Copying]]

Any idea why it won't remove the template? --w:User:Naught101 00:54, 30 June 2008 (UTC)Reply

Syntax? Maybe run it template.py -remove "templatename" Do You have the newest version, have You visited #pywikipediabotconnect (they are quite helpful there). Best regards, --birdy geimfyglið (:> )=| 11:12, 30 June 2008 (UTC)Reply

New entry for regex matches

When there is a space between {{Template: and the template being replaced, i.e.

{{template: User moxie}}

cf.xeno (talk) 15:36, 22 April 2009 (UTC)Reply