Manual talk:Pywikibot/Scripts

Hierarchy of script description pages
Any objection to putting the script description pages under  instead of directly under  ? I think it would be more intuitive, especially with the automatic breadcrumb trail ("&lt; Pywikipediabot &lt; Scripts"). —LarryGilbert 18:25, 8 January 2010 (UTC)
 * Hmm, I can see a certain logic behind doing it either way. Notice that on MediaWiki.org, we have mw:Manual:$wgTitle rather than mw:Manual:Globals/$wgTitle, but on the other hand we have mw:Manual:Hooks/ArticleSaveComplete rather than mw:Manual:ArticleSaveComplete. Because each script file ends in .py (much as the globals start with $), those pages' purpose is probably self-evident, and therefore we can leave them where they are. Tisane 21:54, 26 April 2010 (UTC)

What's the deal with the commented out stuff?
Are those scripts that it would be inadvisable to use? Tisane 22:06, 8 April 2010 (UTC)
 * Just missing from the list, now should be ok. --Dvorapa (talk) 13:05, 18 November 2018 (UTC)

Uploadmultiple.py
Shouldn't this script be taken off the page? It's not included in the framework as its page says. And anyway it's not working. --Plasmarelais 10:19, 3 April 2011 (UTC)
 * Moreover, Commonist is enough when we know the files names. JackPotte 10:23, 3 April 2011 (UTC)


 * I never seen that script. I removed it now. Xqt (talk) 17:30, 23 April 2012 (UTC)

Pageimport.py
The documentation of this script isn't here, and doesn't work on Wikibooks:

When I try it to import an existing page from en.b to fr.b, this script (without project=) writes "success" but does nothing: And this one (with project=) returns "failed": JackPotte (talk) 14:16, 4 November 2012 (UTC)

Missing compat scripts
ToDo list
 * blockreview
 * catimages
 * checkimages
 * create_categories
 * disambredir
 * imagecopy_self
 * interwiki_graph
 * ndashredir
 * nowcommons
 * overcat_simple_filter
 * pageimport
 * parserfunctioncount
 * patrol
 * spamremove
 * spellcheck
 * splitwarning
 * standardize_notes
 * subster
 * subster_irc
 * sum_disc
 * tag_nowcommons
 * unusedfiles

Hello world?
Is there a "Hello world!" script?

I cooked one and it worked: import pywikibot

site = pywikibot.Site page = pywikibot.Page(site, u"Sandbox") text = page.text

page.text = u"Hello world!" page.save(u"My bot's first edit!") The above replaces the text of the page Sandbox with "Hello world!". Haribo (talk) 05:54, 2 September 2014 (UTC)
 * Look on  ;) --Dvorapa (talk) 10:43, 11 July 2017 (UTC)

New files without fonts
I would like a script to search in "special: NewFiles" articles that have no reference (, , , , == References ==, == bibliography == )

Purpose: Create a list on my user page to add the default without fonts

Is the regular expression correct to find and replace? " "? ^ * \ <* ref * \> ---> \ n. Elilopes (talk) 17:25, 7 December 2018 (UTC)