User:SeventyThree/AWB

From Wikipedia, the free encyclopedia

Below are some regexps and settings I use with AWB. Feel free to use them yourself, etc.

Category:Logos[edit]

I use this for sorting through Category:Logos for articles which have been subcategorised, but not removed from the main category. It will fix some of the more common problems I have found, re-tag the images, and then tidy up after itself.


<?xml version="1.0" encoding="utf-8"?>
<Settings>
  <Project>
    <projectlang proj="wikipedia" lang="en" />
  </Project>
  <Options>
    <selectsource index="3" text="N/A" />
    <general general="False" tagger="False" whitespace="False" unicodifyer="False" templateparser="False" />
    <categorisation index="0" text="" />
    <skip does="False" doesnot="True" regex="True" casesensitive="False" doestext="({{logo\|)|({{scoutlogo}})|({{computer hardware logo}})|({{Mozilla}}(\s*)\[\[Category:(\s*)Mozilla logos(\s*)\]\])|({{Icon}})|({{tv-logo}})" doesnottext="({{logo}})|({{sports-logo}})" />
    <message enabled="False" text="" />
  </Options>
  <FindAndReplaceSettings>
    <findandreplace enabled="True" regex="True" casesensitive="False" />
    <datagridFAR find="<br>" replacewith="\n" />
    <datagridFAR find="\|(.*){{PAGENAME}}\]\]" replacewith="]]" />
    <datagridFAR find="\[\[Category:Trademarks\]\](\s*)\[\[Category:Oil company logos\]\]" replacewith="[[Category:Oil company logos]]\n[[Category:Trademarks]]" />
    <datagridFAR find="{{logo}}(\s*){{film-screenshot}}" replacewith="{{film-screenshot}}\n{{logo}}" />
    <datagridFAR find="\b(\s*){{logo}}(\s*)==(\s*)Licensing(\s*)==(\s*){{logo" replacewith="\n\n== Licensing ==\n{{logo" />
    <datagridFAR find="(\s*){{logo}}(\s*)\[\[Category:(\s*)(.*) logos(.*)\]\]" replacewith="\n\n{{logo|$4 logos$5}}\n" />
    <datagridFAR find="(\s*)\[\[Category:(\s*)(.*) logos(.*)\]\](\s*){{logo}}" replacewith="\n\n{{logo|$3 logos$4}}\n" />
    <datagridFAR find="((\s*){{logo}}(\s*)\[\[Category:(\s?)School Shields(.*)\]\])|((\s*)\[\[Category:(\s?)School Shields(.*)\]\](\s*){{logo}})" replacewith="\n\n{{logo|School Shields}}\n" />
    <datagridFAR find="\b(\s*)\n(\s*){{" replacewith="\n\n{{" />
    <datagridFAR find="\=\=(\s*){{" replacewith="==\n{{" />
    <datagridFAR find="^(\s*)" replacewith="" />
    <datagridFAR find="}}(\s*)\n(\s*){{" replacewith="}}\n{{" />
    <datagridFAR find="\b(\s*)\n==" replacewith="\n\n==" />
  </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="clean up + typo fix" />
    <summary text="bad link repair.  [[Wikipedia:Bad links|You can help!]]" />
    <summary text="Fixing [[Wikipedia:Disambiguation pages with links|links to disambiguation pages]]" />
    <summary text="Unicodifying" />
    <summary text="[[Category:Logos]] subcategorisation" />
    <summaryindex index="[[Category:Logos]] subcategorisation" />
    <find text="logo}}" regex="False" casesensitive="False" />
    <menu>
      <wordwrap enabled="True" />
      <bypass enabled="True" />
      <ingnorenonexistent enabled="True" />
      <noautochanges enabled="False" />
      <skipnochanges enabled="False" />
      <preview enabled="False" />
      <minor enabled="True" />
      <watch enabled="False" />
      <timer enabled="True" />
      <sortinterwiki enabled="False" />
      <sortcats enabled="False" />
    </menu>
  </startoptions>
  <pastemore>
    <pastemore1 text="[[Category:Old logos]]" />
    <pastemore2 text="" />
    <pastemore3 text="" />
    <pastemore4 text="" />
    <pastemore5 text="" />
    <pastemore6 text="" />
    <pastemore7 text="" />
    <pastemore8 text="" />
    <pastemore9 text="" />
    <pastemore10 text="" />
  </pastemore>
</Settings>