Operator: Madman (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:26, Wednesday March 28, 2012 (UTC)
Automatic, Supervised, or Manual: Automatic.
Programming language(s): PHP.
Source code available: Yes.
Function overview: Changes host of (dead) external links to www.zerozerofootball.com to www.footballzz.co.uk. Replaces links to http://www.zerozerofootball.com/jogador.php with ((Zerozero profile)) to accommodate any future changes in domain name.
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Football#Bugger :(, Wikipedia:Bot requests/Archive 47#Bot needed to convert links to a template
Edit period(s): One-time run.
Estimated number of pages affected: 1771.
Exclusion compliant (Y/N): Yes.
Already has a bot flag (Y/N): Yes.
Function details: 50 example diffs of first change here, 50 example diffs of second change here.
-*[http://www.zerozerofootball.com/arbitro.php?id=848&search=1 István Zsolt :: zerozerofootball.com]
+*[http://www.footballzz.co.uk/arbitro.php?id=848&search=1 István Zsolt :: zerozerofootball.com]
"Edits" look fine technically. Any chance something like above can be handled? Like a report of pages that may have "zerozerofootball" somewhere for manual review. And replacing obvious ones. — HELLKNOWZ ▎TALK 16:45, 28 March 2012 (UTC)[reply]
-* [http://www.zerozerofootball.com/equipa.php?id=10751 club profile] at zerozerofootball.com
+* [http://www.footballzz.co.uk/equipa.php?id=10751 club profile] at zerozerofootball.com
|publisher=zerozerofootball.com
. — HELLKNOWZ ▎TALK 17:03, 28 March 2012 (UTC)[reply]
|publisher=
and |work=
are generally safe to change. — HELLKNOWZ ▎TALK 17:09, 28 March 2012 (UTC)[reply]
I'll update the code later today to change the domain name within link text, no problem. I'm fine with changing the domain name on the same line as the link as well. Templates might be a little more difficult, as I can't use a regular expression for that and my template parser currently needs the names of the templates to change. The scope of this task is larger than I anticipated. But I suppose it helps me test my framework and gives me code that can be reused later. — madman 17:39, 28 March 2012 (UTC)[reply]
-*[http://www.zerozerofootball.com/arbitro.php?id=848&search=1 István Zsolt :: zerozerofootball.com<!-- Bot generated title -->
+*[http://www.footballzz.co.uk/arbitro.php?id=848&search=1 István Zsolt :: footballzz.co.uk<!-- Bot generated title -->]
-* [http://www.zerozerofootball.com/equipa.php?id=10751 club profile] at zerozerofootball.com
+* [http://www.footballzz.co.uk/equipa.php?id=10751 club profile] at footballzz.co.uk
|url=http://www.zerozerofootball.co.uk/...
and that should cover all bases. — madman 18:39, 28 March 2012 (UTC)[reply]
Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — HELLKNOWZ ▎TALK 19:49, 28 March 2012 (UTC)[reply]
Approved. All good, have fun. — HELLKNOWZ ▎TALK 20:33, 28 March 2012 (UTC)[reply]