User:Bookofjude/migrate to cite paper
Appearance
Hack of cite web migration script. Migrates Template:Citepaper and friends to Template:Cite paper via WP:AWB.
<?xml version="1.0" encoding="utf-8"?> <Settings> <Options> <selectsource index="1" text="Template:citepaper" /> <general general="False" tagger="False" /> <categorisation index="0" text="" /> <skip does="False" doesnot="True" regex="True" doestext="" doesnottext="[Cc]itepaper" /> <message enabled="False" text="" /> </Options> <FindAndReplaceSettings> <findandreplace enabled="True" regex="True" casesensitive="True" /> <datagridFAR find="({{[ \r\n]*)[Tt]emplate[:]" replacewith="$1" /> <datagridFAR find="({{[ \r\n]*[Cc]itepaper[ \r\n]*[^}]*[|][ \r\n]*)Author([ ]*=)" replacewith="$1author$2" /> <datagridFAR find="({{[ \r\n]*[Cc]itepaper[ \r\n]*[^}]*[|][ \r\n]*)Title([ ]*=)" replacewith="$1title$2" /> <datagridFAR find="({{[ \r\n]*[Cc]itepaper[ \r\n]*[^}]*[|][ \r\n]*)PublishYear([ ]*=)" replacewith="$1date$2" /> <datagridFAR find="({{[ \r\n]*[Cc]itepaper[ \r\n]*[^}]*[|][ \r\n]*)URL([ ]*=)" replacewith="$1url$2" /> <datagridFAR find="({{[ \r\n]*[Cc]itepaper[ \r\n]*[^}]*[|][ \r\n]*)Publisher([ ]*=)" replacewith="$1publisher$2" /> <datagridFAR find="({{[ \r\n]*[Cc]itepaper[ \r\n]*[^}]*[|][ \r\n]*)Version([ ]*=)" replacewith="$1version$2" /> <datagridFAR find="({{[ \r\n]*)[Cc]itepaper([ \r\n]*[|])" replacewith="$1cite paper$2" /> <datagridFAR find="({{[ \r\n]*)[Cc]itepaper[ _]publisher([ \r\n]*[|])" replacewith="$1cite paper$2" /> <datagridFAR find="({{[ \r\n]*)[Cc]itepaper[ _]version([ \r\n]*[|])" replacewith="$1cite paper$2" /> <datagridFAR find="({{[ \r\n]*)[Cc]itepaper[ _]publisher[ _]version([ \r\n]*[|])" replacewith="$1cite paper$2" /> </FindAndReplaceSettings> <startoptions> <summary text="clean up" /> <summary text="re-categorisation per [[WP:CFD|CFD]]" /> <summary text="clean up and re-categorisation per [[WP:CFD|CFD]]" /> <summary text="removing category per [[WP:CFD|CFD]]" /> <summary text="[[Wikipedia:Template substitution|subst:'ing]]" /> <summary text="stub sorting" /> <summary text="migrate {{[[Template:Citepaper|citepaper]]}} and friends to {{[[Template:Cite paper|cite paper]]}}" /> <summaryindex index="migrate {{[[Template:Citepaper|citepaper]]}} and friends to {{[[Template:Cite paper|cite paper]]}}" /> <find text="" /> <menu> <wordwrap enabled="True" /> <bypass enabled="True" /> <skipnochanges enabled="False" /> <preview enabled="False" /> <minor enabled="False" /> <watch enabled="False" /> <timer enabled="True" /> <sortinterwiki enabled="False" /> <sortcats enabled="False" /> </menu> </startoptions> </Settings>