User:SDrewthbot

From Wikisource
Jump to navigation Jump to search
System-users.svgThis username is an alternative account of billinghurst.

Pages[edit]


Workings list[edit]

  • Substituting accents and other diacritic 06:51, 6 August 2010 (UTC)


  • updating data within Category:DNB no contributor 06:01, 11 September 2010 (UTC)
    • remove {{TextQuality}}
    • where is article and has <pages> and no contributor add contributor = | override_author = no contributor recorded
    • where is Author field in extra notes, add contributor field and add data
    • some general tidy up
  • converting {{header2}} to {{CE13}} and updating the parameters to align with template using AWB 13:25, 16 October 2010 (UTC)
  • replaced {{sisterlinks}} with {{plain sister}}
  • replaced {{spoken}}/{{speaker}} with {{media}} variations. Spoken had been updated to be part of a more universal template media, converting to use that form. 00:55, 24 January 2011 (UTC)
  • removing redundant (and interfering) <div class="indented-page"> formatting from DNB pages. Starting with As and will be proceeding through the remainder. 11:48, 28 January 2011 (UTC)
  • removing redundant <div class="indented-page"> formatting from Irish Bio pages, and converting {{plain sister}} template to wikipedia parameter within {{header}}
  • exchanging Wikisource:(Islam|Mermaids) links from welcome template Portal:Islam and Portal:Mermaids
  • convert template:dropcap to {{dropinitial}} [1]
  • trim trailing LF from Page: ns pages following PrP.js update that is problematic example query and collated in AWB using HTML Scraper with regex title="([^"]+) with group set to 1
  • PotM formatting cleanup 20111030.
    • <Typo word="<enter a name>" find="H(B|3)" replace="HB" />
    • <Typo word="<enter a name>" find="(\{\{outside R?L\|)(\{\{sc\|)" replace="$1align=center|$2" />
  • convert to {{Pd/1923}} 10 February 2012
    Note: what was initially going to be a simple conversion of licences, however, also identified incorrect licensing, and formatting issues. These maintenance tasks were completed at the same time. Each page was manually reviewed prior to saving.
  • (August 2015) Remove parameters now served from Wikidata from Author: namespace pages, these being Wikipedia, Wikidata, Wikiquote, Wikibooks, Wikivoyage, Wikinews, Commons, Commonscat, and empty image. removal of superfluous sister links in WD
    • Ran Authors-A (paused), and one reported issue of disrupting {{copyright until}}.
  • Updated regex, and check for other potential templates that couple play poorly in Author ns. Ran Authors-[UVXYZ]. Paused
  • (September 2016) In author pages removing parameters from {{authority control}} templates per Special:PermanentLink/6437533#Removal of local authority control data
<Typo word="<enter a name>" find="{{authority control\|[^}]+?}}" replace="{{authority control}}" />
{{header\n *\| *title.*?\n *\| *author.*\n *\| *(?:translator|wikipedia) *=.*\n *\| *section.*\n *\| *previous[^\/]+?\/([^\/]+?)/.*\n *\| *next[^\/]+?\/([^\/]+?)/.*(\n *\| *notes.*?)\n}}\n+\<div class="leftoutdent" {{ts\|mc}}\>\n{{#tag:pages\|\|index=Thom's Irish who's who.djvu\|from=(\d{2,3})\|to=(\d{2,3})[^{]+?({{DEFAULTSORT:.+?}})\n<\/div>

to

{{TIWW\n | previous = $1\n | next     = $2\n | from     = $4  | to       = $5 $3\n}}\n$6


Oxon[edit]

  1. advanced rule to remove "\n" inside template
  2. advanced rule to remove </div>
  3. run following normal replacement as an AFTER FIX
<Typo word="<enter a name>" find="{{header.*\| previous += \[\[\.\.\/([^\/]+?)/\]\] +\| next += \[\[\.\.\/([^\/]+?)\/.*\| notes += *([^}]+)}}\n.*volume (\d).*from="?(\d+)"?.*to="?(\d+)"?.*({{DEFAULTSORT[^}]+}})(?:\<\/div\>)?" replace="{{oxon\n | previous = $1 \n | next     = $2 \n | volume   = $4\n | from     = $5\n | to       = $6\n | notes    = $3\n}}\n$7" />
  • Later regex \n?{{header.*\| *previous *= *\[\[\.\.\/([^\/]+?)/\]\] *\| *next *= *\[\[\.\.\/([^\/]+?)\/.*\| *notes *= *([^}]*?)}}\n*.*volume[ _](\d).*from="?(\d+)"?.*to="?(\d+)"?.*({{DEFAULTSORT[^}]+}})(?:\<\/div\>)?
  • Rough check for pages that need doing phab:17843178, last check 20201120

Men-at-the-Bar[edit]

  1. advanced rule to remove "\n" inside template
  2. advanced rule to remove </div>
  3. run following normal replacement as an AFTER FIX
    initially skipped all articles pushed with Wikipedia to ensure that we have correct property in place prior to removal.
<Typo word="<enter a name>" find="\n?{{header.*\| ?previous *?= ?\[\[\.\.\/([^\/]+?)/\]\] *?\| *?next *?= ?\[\[\.\.\/([^\/]+?)\/.*\| ?notes *?= *([^}]*?)}}\n*?.*from="?(\d+)"?.*to="?(\d+)"?.*({{DEFAULTSORT[^}]+}})(?:\<\/div\>)?" replace="{{MatB\n | previous = $1 \n | next     = $2 \n | from     = $4\n | to       = $5\n | notes    = $3\n}}\n$6" />

Dictionary of Australasian Biography[edit]

<Typo word="<enter a name>" find="\n?{{header.*\| ?previous *?= ?\[\[\.\.\/([^\/]+?)/\]\]\n *?\| *?next *?= ?\[\[\.\.\/([^\/]+?)\/.*\| ?notes *?= *([^}]*?)}}\n*?.*from="?(\d+)"?.*to="?(\d+)"?.*({{DEFAULTSORT[^}]+}})\n?(?:\<\/div\>)?" replace="{{Dictionary of Australasian Biography\n | previo</blockquote>us = $1 \n | next     = $2 \n | from     = $4\n | to       = $5\n | notes    = $3}}\n$6" />

Did need to manually handle pages that transcluded errata as a second part of page, and apply onlysection = to page names with apostrophes

AWB modules[edit]

done current
1700-1969 1970s