Operator: GoingBatty (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 21:53, Monday December 30, 2013 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): AWB
Source code available: AWB
Function overview: Fix links to http://www.neilbrown.newcastlefans.com/
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 58#Changing the url suffix from .htm to .html for a specific site and Wikipedia talk:FOOTY#Neil Brown's site
Edit period(s): One time tun
Estimated number of pages affected: 1,000+
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: For all the instances of urls referencing Neil Brown's site to be changed from .htm to .html. The urls to be changed are of the form www.neilbrown.newcastlefans.com/
followed by a variable part and then .htm, e.g. www.neilbrown.newcastlefans.com/player/barriethomas.htm
. To make these changes, I would use the following regex:
(\/\/www\.neilbrown\.newcastlefans\.com\/(.*?).htm)(?!l)
$1l
Is there any reason not to convert external links to use the ((NeilBrownPlayers)) template? I can foresee a time when the subdomain moves to its own domain, requiring another 1000 article changes; if the links were changed to use the template, that would require changing one template. Josh Parris 01:40, 31 December 2013 (UTC)[reply]
That went well. Approved. Josh Parris 02:10, 5 January 2014 (UTC)[reply]