Wikipedia:Bots/Requests for approval/MadmanBot 12
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Withdrawn by operator.
Operator: Madman (talk · contribs)
Time filed: 20:32, Tuesday February 14, 2012 (UTC)
Automatic, Supervised, or Manual: Automatic.
Programming language(s): PHP.
Source code available: No.
Function overview: Removes the nm prefix from transclusions of {{CongLinks}} per template change.
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 45#Requesting a search and replace.
Edit period(s): One-time run.
Estimated number of pages affected: <= 1782.
Exclusion compliant (Y/N): Yes.
Already has a bot flag (Y/N): Yes.
Function details: For each page in which Template:CongLinks is embedded, finds and parses the {{CongLinks}} transclusion, and removes the nm prefix if it exists.
Sample diff
|
---|
[[Donald Rumsfeld]]: @@ -338,9 +338,9 @@ ===Government service=== *[http://georgewbush-whitehouse.archives.gov/government/rumsfeld-bio.html White House Biography] *[http://web.archive.org/web/20061115085641/http://www.defenselink.mil/bios/secdef_bio.html Department of Defense Biography] *{{CongBio|r000508}} -*{{CongLinks | congbio = | votesmart = | washpo = | govtrack = | opencong = | ontheissues = | surge = | legistorm = | fec = | opensecrets = | followthemoney = | c-span = donaldrumsfeld | rose = 666 | imdb = nm1288432 | nyt = | guardian = | worldcat = lccn-n93-82884 | nndb = 634/000023565 | findagrave = }} +*{{CongLinks|congbio=|votesmart=|washpo=|govtrack=|opencong=|ontheissues=|surge=|legistorm=|fec=|opensecrets=|followthemoney=|c-span=donaldrumsfeld|rose=666|imdb=1288432|nyt=|guardian=|worldcat=lccn-n93-82884|nndb=634/000023565|findagrave=}} *{{Aljazeeratopic|people/donald-rumsfeld}} *{{Guardiantopic|world/donald-rumsfeld}} *{{JPosttopic|Donald_Rumsfeld}} *{{NYTtopic|people/r/donald_h_rumsfeld}} |
Discussion[edit]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. MBisanz talk 22:19, 14 February 2012 (UTC)[reply]
- Well, unless I'm very much mistaken, this run is actually done. 34 pages were updated [1]. Of the remaining 1748 pages, 1649 have no imdb parameter, and 99 have an imdb parameter but no nm prefix. — madman 04:17, 15 February 2012 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.