Talk:Pywikibot/template.py: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Latest comment: 15 years ago by Xeno in topic New entry for regex matches
Content deleted Content added
Line 5: Line 5:


:Syntax? Maybe run it <code style="background:steelblue;color:white">template.py -remove "templatename"</code> Do You have the newest version, have You visited {{channel|pywikipediabot}} (they are quite helpful there). Best regards, --[[User:Spacebirdy|birdy <small>geimfyglið</small>]] [[User_talk:Spacebirdy|<sub>(:>&nbsp;)=|</sub>]] [[commons:User:Spacebirdy/Myndir|<small>∇</small>]] 11:12, 30 June 2008 (UTC)
:Syntax? Maybe run it <code style="background:steelblue;color:white">template.py -remove "templatename"</code> Do You have the newest version, have You visited {{channel|pywikipediabot}} (they are quite helpful there). Best regards, --[[User:Spacebirdy|birdy <small>geimfyglið</small>]] [[User_talk:Spacebirdy|<sub>(:>&nbsp;)=|</sub>]] [[commons:User:Spacebirdy/Myndir|<small>∇</small>]] 11:12, 30 June 2008 (UTC)

== New entry for regex matches ==

When there is a space between {{Template: and the template being replaced, i.e.
<pre>
{{template: User moxie}}
</pre>
[http://en.wikipedia.org/w/index.php?title=User:MF14&diff=285461937&oldid=239803259 cf.] –<font face="Verdana">[[User:Xeno|<font color="black">'''xeno'''</font>]] ([[User talk:Xeno|<font color="black">talk</font>]])</font> 15:36, 22 April 2009 (UTC)

Revision as of 15:36, 22 April 2009

-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