User:Bongolium500/bot: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
|Enforce [[T:SPELL]]
|Enforce [[T:SPELL]]
|<pre>python pwb.py replace -fix:spelling -start:":____"</pre>
|<pre>python pwb.py replace -fix:spelling -start:":____"</pre>
|Continue from <tt>Dalek drone</tt>
|Continue from <tt>Death's Head (series)</tt>
|Always run in manual
|Always run in manual
|-
|-
Line 17: Line 17:
|Done 16:28, 18 April 2023 (UTC)
|Done 16:28, 18 April 2023 (UTC)
|Probably safe to run automatically
|Probably safe to run automatically
|-
|Check the entire <tt>(main)</tt> namespace for dead links
|<pre>python pwb.py weblinkchecker -xml:"tardis_pages.xml" -ns:0 -xmlstart:":____" </pre>
|Done [[User:Bongolium500|<span title="aka Bongolium500">Bongo50</span>]] [[User talk:Bongolium500|<span title="talk to me">☎</span>]] 18:33, 25 April 2023 (UTC)
|Runs in background, reports links dead for more than a week on talk pages, uses XML dump ([[Special:Statistics|update before running]])
|-
|Recheck links that have already been reported as dead at least once from the script above
|<pre>python pwb.py weblinkchecker -repeat</pre>
|Done [[User:Bongolium500|<span title="aka Bongolium500">Bongo50</span>]] [[User talk:Bongolium500|<span title="talk to me">☎</span>]] 18:44, 25 April 2023 (UTC)
|Runs in background, reports links dead for more than a week on talk pages.
|-
|-
|Fix double redirects
|Fix double redirects
|<pre>python pwb.py redirect do -always</pre>
|<pre>python pwb.py redirect do -always</pre>
|Done 22:38, 21 April 2023 (UTC)
|Done 20:48, 1 December 2023 (UTC)
|Safe to run automatically
|Safe to run automatically
|-
|-
|Fix broken redirects
|Fix broken redirects
|<pre>python pwb.py redirect br</pre>
|<pre>python pwb.py redirect br</pre>
|Done 22:38, 21 April 2023 (UTC)
|Done 20:48, 1 December 2023 (UTC)
|Probably safe to run automatically
|Probably safe to run automatically
|-
|-
Line 45: Line 35:


== Scripts that should not be run ==
== Scripts that should not be run ==
* [[mw:Manual:Pywikibot/interwiki.py|interwiki.py]]
* [[mw:Manual:Pywikibot/interwiki.py|interwiki.py]] - does not work with the precise format used for date pages.
* [[mw:Manual:Pywikibot/interwiki.py|weblinkchecker.py]] - identifies far too many false positives.
 
== One-off tasks ==
; Moving categories
: <pre>python pwb.py category move -hist -nowb -keepsortkey -from:"____" -to:"____"</pre>

Latest revision as of 20:48, 1 December 2023

Regular runs[[edit] | [edit source]]

Purpose Command Progress Notes
Fix wikitext errors
python pwb.py replace -fix:syntax -start:":____"
Done 16:28, 18 April 2023 (UTC) Always run in manual
Enforce T:SPELL
python pwb.py replace -fix:spelling -start:":____"
Continue from Death's Head (series) Always run in manual
Fix ISBN formatting errors
python pwb.py replace -fix:isbn -start:":____"
Done 16:28, 18 April 2023 (UTC) Probably safe to run automatically
Fix double redirects
python pwb.py redirect do -always
Done 20:48, 1 December 2023 (UTC) Safe to run automatically
Fix broken redirects
python pwb.py redirect br
Done 20:48, 1 December 2023 (UTC) Probably safe to run automatically
Fix HTML errors, convert HTML to wikitext and convert HTML to XHTML where applicable
python pwb.py replace -fix:HTML -start:":____"
Continue from Aliases of the Master Might be safe to run automatically - more testing needed. Unsure whever running this is actually useful.

Scripts that should not be run[[edit] | [edit source]]

One-off tasks[[edit] | [edit source]]

Moving categories
python pwb.py category move -hist -nowb -keepsortkey -from:"____" -to:"____"