User:Dispenser/AWB Navbox.xml
From Wikipedia, the free encyclopedia
AWB XHTML/CSS navbox conformity script, lasted updated on 20:27, 29 June 2007 (UTC).
<?xml version="1.0"?>
<AutoWikiBrowserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:space="preserve" Version="3.9.3.0">
<Project>wikipedia</Project>
<LanguageCode>en</LanguageCode>
<CustomProject>/</CustomProject>
<List>
<ListSource>Id="toc"</ListSource>
<Source>TextFile</Source>
<ArticleList>
<Article NameSpaceKey="10">
<Name>Template:Apache County, Arizona</Name>
</Article>
<Article NameSpaceKey="10">
<Name>Template:Coconino County, Arizona</Name>
</Article>
<Article NameSpaceKey="10">
<Name>Template:Gila County, Arizona</Name>
</Article>
<Article NameSpaceKey="10">
<Name>Template:Mohave County, Arizona</Name>
</Article>
<Article NameSpaceKey="10">
<Name>Template:Navajo County, Arizona</Name>
</Article>
<Article NameSpaceKey="10">
<Name>Template:Pinal County, Arizona</Name>
</Article>
<Article NameSpaceKey="10">
<Name>Template:Yavapai County, Arizona</Name>
</Article>
</ArticleList>
</List>
<FindAndReplace>
<Enabled>true</Enabled>
<IgnoreSomeText>false</IgnoreSomeText>
<AppendSummary>false</AppendSummary>
<AfterOtherFixes>false</AfterOtherFixes>
<Replacements />
<AdvancedReps>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>~~~~```--- - NOTES - ---'''~~~~</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>Welcome to the navbox conformity script. Hitting make
list should generate a list of page with problem,
filter out all namespaces expect the template. And
START THE PROCESS!
Users are responsible for the edit they make, It's
recommend that in you comment that you link to
[[User:Dispenser/Navbox conform]] so that other
editors will know why your doing this. Not all the
options are enabled, and this script assumes that
you're working in template space on a navbox.
Although, some parts should be able to work in other
name spaces, like the Hex color code reducer. To
ensure that the template doesn't run amuck of
meta-template it will skip page that contain "{{{"
in them.
This script includes 144 rules including this
annotation entry, but since wikitext is so hard to
parse the operator need to look at the output to
ensure that it's done everything it's suppose to.
Well anyway with this thing nearing stablity I'll go
take some time off, maybe I'll work on that template
fixing and sorting bot?
==Complaints==
* Does AWB really need to expand the list every time
something is moved?
* Is it too much to ask for comment field?
* Can we have more windows shortcut work here? I'm
looking at you ctrl-bksp.
* Wouldn't it be cool to have if like statement per
line?
* Why is it that there are special handler for
double-click text boxes, its really annoying.
* Why does the window in subst: not resize correctly?</replace_>
<with_>As a side note, to be honest I'm a still little
unsure how all these rules actually work, and the
fact that they work as they sometimes do.</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>~~~RULE NOT ACTIVE~~~</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>NBSP Notice</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><!--.*?NBSP.*?wrap.*?--></replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Remove generic comments</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_><!--</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Ship navbox</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\|-\s*!\s*(\[\[List)</replace_>
<with_>\r\n$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\[\[List of </ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Ship navbox</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> *''' *(\[\[List[^]]*\]\]) *'''</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\[\[List of </ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Remove <br></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\n[!|]([^|]*\||)\s*)<br[ /]*> *</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Uncat tag</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\|\}\s*</replace_>
<with_>|}<noinclude>
{{Uncategorized template|type=navbox|WP=SHIPS|msg=May be part of [[WP:SHIPS]]|{{subst:DATE}}}}
[[Category:Ship navigational boxes|{{PAGENAME}}]]
</noinclude></with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>[Cc]ategor</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
</Children>
<Name>Ships navbox</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>destroyer|battleship|cruiser|frigate|submarine|tanker|carrier|monitor|navy|class coast guard|cutters|Royal Fleet </ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Padding</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>padding:0 0% 0 0%;</replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>dangaling text-align</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>text-align: *center *;</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
</Children>
<Name>TV navbox</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>tele|radio</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>HTML Spacer</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><div.*?width.*?> </div> </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>float:center; (Non-existant)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>float:center;</replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Unintelligible equal signs</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>="=</replace_>
<with_>="</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Hidden line breaks</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><font[<>]*0[<>]*>(<br[^<>]*>)</font> </replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Non-matching <small></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><small[^<>]*></replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_></small></ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Breakup single-cell table</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\s*<br[^>]*>\s*</replace_>
<with_>\r\n|-\r\n|| </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\{\|</ifContains_>
<ifNotContains_>\|-</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Fix unfinished style</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(style="[^"=]*?)( \w+=)</replace_>
<with_>$1"$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>style="[^"=]=</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Div wrapper around table</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(<div)([^>]*)(>[^|]*{\|)</replace_>
<with_>$1$3$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>!! new cell</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^! *!</replace_>
<with_>!</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Double style</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>style=style=</replace_>
<with_>style=</with_>
<regex_>false</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>width="justify;"</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>width="justify;"</replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Wrong (h|v)align values</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>[vh]align="[^"]*"</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>halign="</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>nbsp to fake newline</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^\s* \s*</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Empty cells at the end</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^[|!][^\n]*?)\|\|\s*$</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>hack</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>style="font-size: 0.9em; text-align: left"</replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>pixel padding 10px hack</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>padding:\s*10px</replace_>
<with_>padding:0.5em</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>pixel padding 5px remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>padding:\s*5px;+</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>text-valign:</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>text-valign:[^";]*[;]?</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>clear both (no semicolon</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>clear both;</replace_>
<with_>clear:both;</with_>
<regex_>false</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><br> at end of a cell</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><br[^<>]*>((\r| )*\n\|-)</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Recuded Padding killer (0 5% 0 5%)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>padding:( *0(%|px|) *\d(%|px))*([;"])</replace_>
<with_>$4</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Floating semicolon</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>; *; *</replace_>
<with_>; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>User issues (aka hacks)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Exessive hypens in |---</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\|--+ *</replace_>
<with_>|-</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Repeated |-</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\|-\s*\|-</replace_>
<with_>|-</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>7</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Last |-</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\|-\s*([|}]\})</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>End Table</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\s*<noinclude>|\s*$)</replace_>
<with_>
|}$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>\|\}</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Multi-cell singleline</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^([!|])([^\n]*)\|\|</replace_>
<with_>$1$2
$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>6</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Remove empty lines</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\s*(\r\n[!|])</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>2</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Remove empty lines after</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\n[!|])\s+
</replace_>
<with_>$1\r\n</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Remove empty cells</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\|[^\n]*|\|-)
([|!])[^|\n]*\|
(\|[-}])</replace_>
<with_>$1
$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Add attribute field to cells</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^[!|])([^-+|}])([^|]*$|[^][}{|\n']*[[{'])</replace_>
<with_>$1| $2$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Auto Bold</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^[!|])([^|\n]*=[^|\n]*\||)\s*'''([^\n]*)'''\s*$</replace_>
<with_>!$2 $3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>3</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>rowspan=1/colspan=1</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(col|row)span=("1"|1)(\D)</replace_>
<with_>$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Remove single newline</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>
([!|][^|[]*\|)\s*
([^|!][^-|\n][^|\n]*)
([!|])</replace_>
<with_>
$1 $2
$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Add spaces</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>([\n{][|!][|-]?)(\w)</replace_>
<with_>$1 $2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>bring <tr> attributes to single <td></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\|-([^\n]*)[\r\n]*
([!|])([^][}{|]*\|[^\n]*
\|[-}])</replace_>
<with_>|-
$2$1$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Single Column table</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> colspan="\d"</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>
[!|][^-}].*?
[!|][^-}]</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
</Children>
<Name>Fix Tables</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\{\|</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Equal signs in style</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(style="[^"\n]*?)=</replace_>
<with_>$1:</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>5</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Quote Attributes</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\s+(\w+) *= *("\s*([^"=]*?)\s*"|([A-Za-z#-;]+))</replace_>
<with_> $1="$3$4"</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Strip semicolons</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(;"|";)</replace_>
<with_>"</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Style colon</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>( style="[^"]*)( *: +)</replace_>
<with_>$1:</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>10</numoftimes_>
<ifContains_>: </ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Style fix semicolons</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>( style="[^"]*)( *; *)</replace_>
<with_>$1; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>10</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Style end semicolon</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>style="([^"]*[^; "]) *;* *"</replace_>
<with_>style="$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Merge <includeonly></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_></includeonly>(\s*)<includeonly></replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Fix Markup</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table ALIGN to float</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*?) align="(left|right)"</replace_>
<with_>$1 style="float:$2; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>\{\|[^\n]*float:</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table ALIGN= Remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*?) align="[^"]*"</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>VALIGN</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> valign="([^"]*?)"</replace_>
<with_> style="vertical-align:$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>ALIGN</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> align="([^"]*?)"</replace_>
<with_> style="text-align:$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>5</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>BGCOLOR</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> bgcolor="([^"]*?)"</replace_>
<with_> style="background:$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>COLOR</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> color="([^"]*?)"</replace_>
<with_> style="color:$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>FACE</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> face="([^"]*?)"</replace_>
<with_> style="font-family:$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>SIZE (selective)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> size="\s*(\d\w+)"</replace_>
<with_> style="font-size:$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>WIDTH</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> width="([^"]*?)"</replace_>
<with_> style="width:$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>HEIGHT</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> height="([^"]*?)"</replace_>
<with_> style="height:$1; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>NOWRAP</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> nowrap(="[^"]*"|)</replace_>
<with_> style="white-space:nowrap; "</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Background</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>background-color:</replace_>
<with_>background:</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Assumed # mark</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(background|color):([a-fA-F0-9]{3,6})</replace_>
<with_>$1:#$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Assumed pixel values</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(width|height|):\s*(\d\d*); </replace_>
<with_>$1:$2px; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>0px; -> 0;</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:0(px|%);</replace_>
<with_>:0;</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Empty hack: background</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>background:; </replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>HTML to CSS</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><hr/></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><\s*/?\s*hr([^/]*?)\s*></replace_>
<with_><hr$1 /></with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><br/></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><\s*/?\s*br([^/]*?)\s*></replace_>
<with_><br$1 /></with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><big></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(/|)big</replace_>
<with_><$1big</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><small></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(/|)small</replace_>
<with_><$1small</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><div></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(/|)div</replace_>
<with_><$1div</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><font></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(/|)font</replace_>
<with_><$1font</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><span></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(/|)span</replace_>
<with_><$1span</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Combine <font></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(<font[^<>]*)><font([^<>]*>)(.*?</font>)</font></replace_>
<with_>$1$2$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><font> link</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><font ([^<>]*)>\[\[([^][|}{]*)\|([^][|}{]*)\]\]</font></replace_>
<with_>[[$2|<span $1>$3</span>]]</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><font> inside link</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\[\[([^][|}{]*)\|<font ([^<>]*)>([^][|}{]*)</font>\]\]</replace_>
<with_>[[$1|<span $2>$3</span>]]</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>XHTML</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>HTML Bolding to wiki bolding</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(/|)b></replace_>
<with_>'''</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Space in [[ link]]</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\[\[)(\s*)</replace_>
<with_>$2$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Capitalize [[Image:</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\[\[image: *</replace_>
<with_>[[Image:</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Capitalize [[Category:</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\[\[Category: *</replace_>
<with_>[[Category:</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Underscore removal</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\[\[[^|]*?)_([^|]*\|[^]]*\]\])</replace_>
<with_>$1 $2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>10</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>AWB General Fixes</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>tnavbar remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(
\|[^\n|]*align[^\n|]*\|\s*|)\{\{tnavbar\|[^}]*\}\}</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>2</numoftimes_>
<ifContains_>navbox</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>[edit] remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\[+[^][]*?(localurl:|en.wikipedia|server)[^][]*?action=[^][]*?edit[^][]*?\]+</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>localurl|action=edit</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Floating tnavbar remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(div|span)[^<>]*?(float|position)[^>]*?>\s*\{\{tnavbar\|[^}]*?\}\}\s*</(div|span)></replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
</Children>
<Name>Remove hard coding</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>toccolours -> .infobox</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> (class|id)="toc(colours|)</replace_>
<with_> class="infobox</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\{\|[^\n]*(float:|align=")right</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>toccolours -> navbox</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> class="toccolours</replace_>
<with_> class="navbox</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>infobox</ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>id=toc -> class="navbox"</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> (class|id)="toc"</replace_>
<with_> class="navbox"</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>infobox</ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Rule</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>{|</replace_>
<with_>{| class="infobox"</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\{\|[^\n]*(float:|align=")right</ifContains_>
<ifNotContains_>\{\|[^\n]*class=</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>No CSS class</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>{|</replace_>
<with_>{| class="wikitable"</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\{\|[^\n]*</ifContains_>
<ifNotContains_>\{\|.*(class|(float:|align=")right)</ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Multiline</ifRegexOptions_>
</IRule>
</Children>
<Name>Conversion strategies</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Default navbox text-align</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> class="navbox</replace_>
<with_> style="text-align:center; " class="navbox</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>navbox[^<>\n!|]*text-align:</ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>float:center; remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>float:center; </replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Simplify: text-align:left; remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*text-align:left;.*)text-align:left; (.*\|\})</replace_>
<with_>$1$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>20</numoftimes_>
<ifContains_>text-align:left; </ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Simplify: text-align:center remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*text-align:center;.*)text-align:center; (.*\|\})</replace_>
<with_>$1$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>25</numoftimes_>
<ifContains_>text-align:center; </ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Dark Grey</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>darkgrey</replace_>
<with_>darkgray</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Dim grey</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>dimgrey</replace_>
<with_>dimgray</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Grey</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>( style="[^"]*\W)grey</replace_>
<with_>$1gray</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Light Gray</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>lightgray</replace_>
<with_>lightgrey</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Light Slate Grey</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>lightslategrey</replace_>
<with_>lightslategray</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Slate Grey</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>slategrey</replace_>
<with_>slategray</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Problematic color names in IE</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_> style="[^"]*gr[ae]y</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Six to three</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:REDUCE#([0-9A-F])[0-9A-F]([0-9A-F])[0-9A-F]([0-9A-F])[0-9A-F]; </replace_>
<with_>:#$1$2$3; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>:REDUCE#</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Reduce CSS hex color</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#(00|11|22|33|44|55|66|77|99|AA|BB|CC|DD|EE|FF)(00|11|22|33|44|55|66|77|99|AA|BB|CC|DD|EE|FF)(00|11|22|33|44|55|66|77|99|AA|BB|CC|DD|EE|FF); </replace_>
<with_>:REDUCE#$1$2$3; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#000000 -> black</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#0+; </replace_>
<with_>:black; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#000080 -> navy</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#000080; </replace_>
<with_>:navy; </with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#0000FF -> blue</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#(00|0000)FF?; </replace_>
<with_>:blue; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#800000 -> maroon</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#800000; </replace_>
<with_>:maroon; </with_>
<regex_>false</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#800080 -> purple</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#800080; </replace_>
<with_>:purple; </with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#008000 -> green</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#008000; </replace_>
<with_>:green; </with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#FF0000 -> red</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#F+(0000|00); </replace_>
<with_>:red; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#008080 -> teal</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#008080; </replace_>
<with_>:teal; </with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#FF00FF -> magenta</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#F+0+F+; </replace_>
<with_>:magenta; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#808000 -> olive</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#808000; </replace_>
<with_>:olive;</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#808080 -> gray</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#808080; </replace_>
<with_>:gray; </with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#00FF00 -> lime</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#0+F+0+; </replace_>
<with_>:lime; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#00FFFF -> aqua</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#0+FF+; </replace_>
<with_>:aqua; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#C0C0C0 -> silver</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#C0C0C0; </replace_>
<with_>:silver; </with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#FFFF00 -> yellow</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#(FFFF|F)00?; </replace_>
<with_>:yellow; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>#FFFFFF -> white</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>:#F+; </replace_>
<with_>:white; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Hex to named colors</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>:#</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>CSS Magic</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><br> before</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><br[^<>]*>(.*?)\{\|</replace_>
<with_>$1{|</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><br> after</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><br[^<>]*>\s*$</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name><center> remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><[/]?center[^<>]*></replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>class="noprint"</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> class="noprint"</replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>class="noprint</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> class="noprint</replace_>
<with_> class="</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>class="small"</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> class="small"</replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>font-size remover (80-99%)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>font-size:([8-9]\d)%; </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>font-size remover (100-109%)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>font-size:[1][0][0-9]%; </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>font-size remover (non-scaleable)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>font-size:[0-9]{1,3}(pt|px|pc); </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>font-size % to em</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(font-size:\d+)(\d)0%; </replace_>
<with_>$1.$2em; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Remove margin-</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>margin-[^:]*?:[^;]*?; </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Remove all margins</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>margin:[^;"]*;* *</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table px -> em width</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*width:\d\d)\dpx; </replace_>
<with_>$1em; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Narrow Table % -> em width</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*width:([1-4][0-9]|50))%; </replace_>
<with_>$1em; </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table width=100%</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*)width:100%; </replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Center table if width</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>{|</replace_>
<with_>{| style="margin-left:auto; margin-right:auto; "</with_>
<regex_>false</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\{\|[^\n]*width</ifContains_>
<ifNotContains_>\{\|[^\n]*margin</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Remove inherit properties</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^\{\|[^\n]*)text-align:center; </replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>^\{\|[^\n]*navbox</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Multiline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>clear:both;</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>clear:both; </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Border remove</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> border="\d"</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Cellspacing & padding</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> cell(spacing|padding)="\d(px|)"</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>2</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Header cell if...</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^[!|]([^-][^|]*?background:.*)'''(.*?)'''</replace_>
<with_>!$1$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Bring <tr> styles to top header</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*
\|-)([^\n]*\S)([^{!}]*![^{|}']\n]*)(\||)</replace_>
<with_>$1$3 $2|</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
</Children>
<Name>Find top header</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*navbox[^\n]*)(
\|-[^\n]*)*
([!|])([^\n]*
\|-)</replace_>
<with_>$1$2
!$4</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>\{\|[^\n]*
\|-[^-]!</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Kill #CCF background</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^(![^-|][^\n]*)background:#C+F+; </replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Kill #DDF background</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^(![^-|][^\n]*)background:#D+F+; </replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Kill .toccolour background</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>background:#dcdcdc; </replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Navbox redundancy remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>^(<noinclude>|)\{\|[^\n]*?navbox</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Multiline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>float:right;</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>float:right; </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>vertical-align:top;</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>vertical-align:top; </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>color:black;</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>color:(#000+|black); </replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Infobox redundancy remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>^\{\|[^\n]*?infobox</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Wikitable redundancy remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_> class="wikitable</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>NavFrame: Tnavbar-navframe</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(<div[^<>]*NavHead[^<>]*>) *([^\\]*)\s*(</div>[^/]*NavContent)</replace_>
<with_>$1 {{tnavbar-navframe|$2|{{subst:PAGENAME}}}}$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>tnavbar-</ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Deprecated parameter bgcolor</Name>
<ruletype_>InsideTemplate</ruletype_>
<replace_>(tnavbar-.*\S)\s*\|\s*bgcolor=[^|}]*</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>tnavbar-header adder</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\{\|[^\n]*?)(
\|-[^\n]*)?([^-]*?)
(![^\n!|'{}\[]*(\||))\s*(.+\S)([^-]*?
\|)</replace_>
<with_>$1$2$3
$4 {{tnavbar-header| $6 |{{subst:PAGENAME}}}}$7</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>tnavbar-</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Autobold tnavbar</Name>
<ruletype_>InsideTemplate</ruletype_>
<replace_>(tnavbar.*?)'''</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>2</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Hack: tnavbar inside</Name>
<ruletype_>InsideTemplate</ruletype_>
<replace_>(tnavbar-.*?)\{\{tnavbar.*?\}\}</replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>HACK: <br> misalign</Name>
<ruletype_>InsideTemplate</ruletype_>
<replace_>(tnavbar-.*?)<br.*?></replace_>
<with_>$1<br clear="all" /></with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>4</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Find link colors</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(tnavbar-.*color:)(.*?)(;.*subst:PAGENAME\}\})</replace_>
<with_>$1$2$3|fontcolor=$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>fontcolor=</ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Encode pipes</Name>
<ruletype_>InsideTemplate</ruletype_>
<replace_>(.*?\|([^][|]*(\[\[[^]]*?\]\]))*[^][|]*)\|(.*\|.*?subst:PAGENAME)</replace_>
<with_>$1|$4</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>8</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Unnamed parameters</Name>
<ruletype_>InsideTemplate</ruletype_>
<replace_>tnavbar-(collapsible|header|navframe)\s*\|([^}]*)\|\{\{subst:PAGENAME\}\}</replace_>
<with_>tnavbar-$1|1=$2|2={{subst:PAGENAME}}</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>\{tnavbar-[^}]*=[^\n]*PAGENAME\}</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
</Children>
<Name>Tnavbar</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Make table collapsible</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^\{\|[^\n]* class="[^"]*?)( collapsible)*( autocollapse)*"</replace_>
<with_>$1 collapsible$3"</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>class=|collapsible</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>autocollapse</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>( class="[^"]*?)collapsible"</replace_>
<with_>$1collapsible autocollapse"</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>autocollapse with conditions</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>( class="[^"]*?)collapsible"</replace_>
<with_>$1collapsible autocollapse"</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>(\{\|[^\n]*color:|color[^\n]*tnavbar|tnavbar[^\n]*color)</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Stop autocollapse if too few bytes</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> autocollapse</replace_>
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>^.{0,900}$|^.{100,750}<noinclude></ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Use {{{state}}} parameter</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> autocollapse</replace_>
<with_> {{{state|autocollapse}}}</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>{{{state</ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>tnavbar-collapsible convert</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\{tnavbar-(header|navframe)</replace_>
<with_>{tnavbar-collapsible</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Header text color</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^![^][}{|]*)\|(.*fontcolor=)(.*?)([|}].*)</replace_>
<with_>$1 style="color:$3;"|$2$3$4</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>^[^|]*color:[^|]*.*fontcolor</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Multiline</ifRegexOptions_>
</IRule>
</Children>
<Name>Collapsible Tables</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>navbox</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table: Unbold</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\n![^\n]*\s*)'''([^\n]*)'''</replace_>
<with_>$1$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table: Unfont</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^[!|])(.*<font.*?) style="(.*?)"(.*?>[^][{}]*</font>)\s$</replace_>
<with_>$1 style="$3"$2$4</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>font-weight:bold; remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^![^|]*)font-weight:bold; </replace_>
<with_>$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table: 100% width single cell</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\|-[^\n]*
[!|][^\n]*)width:100%; ([^\n]*
\|[-}])</replace_>
<with_>$1$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Table: Autobold (after optimization)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^([!|])([^|\n]*back[^|\n]*\|)\s*'''([^\n']*)'''\s*$</replace_>
<with_>!$2 $3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Style Merge</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> style="([^"!|<>\n]*?)"([^!|<>\n]*?) style="([^"!|<>\n]*?)"</replace_>
<with_>$2 style="$1$3"</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>5</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Style whitespace</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> style=" *([^"]*?) *;+ *"</replace_>
<with_> style="$1;"</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Style empty remover</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> style=" *"</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>2</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Place class= first</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>( [^|!<>\r\n]*?)( class="[^"]*?")</replace_>
<with_>$2$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Place style= last</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>( [^|!<>\r\n]*)( style="[^"]*?")([^|!<>\r\n]*)</replace_>
<with_>$1$3$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Empty <div></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><div[^<>]*>(\s| )*</div>\s*</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Empty <small></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_> *<small[^<>]*>(\s| )*</small> *</replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>5</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Cleanup: Empty <span>/<div> (Multi lined)</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(span|div)\s*>(.*)</(span|div)></replace_>
<with_>$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Cleanup: Empty <span>/<div></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><(span|div|font)\s*>(.*)</(span|div|font)></replace_>
<with_>$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name><foont></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name><div></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name><span></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table white-space</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(^[!|]([^+-|}][^][}{|\n]*\S|)) *\| *</replace_>
<with_>$1| </with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Table no attribs</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^([|!]) *\| *([^|]*)$</replace_>
<with_>$1 $2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Clean table: no attribs ([[link]])</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^([!|]) *\| *(([^][}{|]*(\{\{.*?\}\}|\[\[.*?\]\]))*[^][}{|]*)$</replace_>
<with_>$1 $2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Hack: !| {{tnavbar</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>! *\|? *\{\{tnavbar-</replace_>
<with_>! {{tnavbar-</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Finalize Markup</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Prefix Template: sortkey</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\[\[Category:[^|]*\|)(template:|)([^]]*\]\])</replace_>
<with_>$1Template:$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Unsubst: Category {{PAGENAME}}</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\[\[Category:[^|]*\|)%%title%%\]\]</replace_>
<with_>$1{{PAGENAME}}]]</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Remove template from pages</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\[\[Category:[^|]*\|)(template:|)([^]]*\]\])</replace_>
<with_>$1$3</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</Children>
<Name>Unsubst:{{PAGENAME}} in cats</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Lack of <noinclude>/<includeonly></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\s*(\[\[Category:.*\]\])</replace_>
<with_><noinclude>
$1
</noinclude></with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>Category</ifContains_>
<ifNotContains_><noinclude>|<includeonly></ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Category sort key</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\[\[Category:\s*([^|\]]*?)\]\]</replace_>
<with_>[[Category:$1|{{PAGENAME}}]]</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>DEFAULTSORT:</ifNotContains_>
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Better {{uncategorized}} tag</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_><noinclude>\s*\{\{Uncategorized[^}]*?\}\}\s*</noinclude>\s*(.*\S)\s*</replace_>
<with_>$1<noinclude>
{{Uncategorized template|{{subst:DATE}}}}
</noinclude></with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>{{Uncategorized</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>No category</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\S)\s*$</replace_>
<with_>$1<noinclude>
{{Uncategorized template|{{subst:DATE}}}}
</noinclude></with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>\{\{Uncategorized|<noinclude.*\[\[Category:.*noinclude></ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Uncategorize type=navbox</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>{{Uncategorized template|{{subst:DATE}}}}</replace_>
<with_>{{Uncategorized template|type=navbox|{{subst:DATE}}}}</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>navbox</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Categories on different lines</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\]\]\s*\[\[Category:\s*</replace_>
<with_>]]
[[Category:</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Line between cat & iw</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\[\[Category:[^]]*?\]\])\s*(\[\[.{2,6}:)</replace_>
<with_>$1
$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Double </noinclude></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_></noinclude>\s*<noinclude></replace_>
<with_ />
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>New line after <noinclude></Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>\|\}\s*(.*?)<noinclude>\s*(.*?)\s*</noinclude>\s*</replace_>
<with_>|}<noinclude>
$2
</noinclude>
$1</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_>\|\}.*\|\}</ifNotContains_>
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase Singleline</ifRegexOptions_>
</IRule>
</Children>
<Name><noinclude>, categories, interwikis</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_ />
<with_ />
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>hack</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>^([!|])([^|{]*)<font ([^<>]*)>([^][}{|]*)</font></replace_>
<with_>$1 $3|$2$4</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase Multiline</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>false</enabled_>
<Children />
<Name>Old AWB versions linebreaks</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(\S)\n(\S)</replace_>
<with_>$1\r\n$2</with_>
<regex_>true</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_ />
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</AdvancedReps>
<SubstTemplates>
<string>{{bv}}</string>
<string>{{chembox simple inorganic}}</string>
<string>{{chembox simple organic}}</string>
<string>{{chembox}}</string>
<string>{{conv-dist}}</string>
<string>{{conv-temp}}</string>
<string>{{doctl}}</string>
<string>{{lived}}</string>
<string>{{newvoter}}</string>
<string>{{nld}}</string>
<string>{{nn-warn}}</string>
<string>{{nsd}}</string>
<string>{{obscene}}</string>
<string>{{oldmfd}}</string>
<string>{{Prettyinfobox}}</string>
<string>{{Prettytable-center2}}</string>
<string>{{Prettytable-center}}</string>
<string>{{Prettytable95}}</string>
<string>{{Prettytable100center}}</string>
<string>{{Prettytable100}}</string>
<string>{{PrettytableN}}</string>
<string>{{Prettytablewidth}}</string>
<string>{{prettytable}}</string>
<string>{{sofixit}}</string>
<string>{{sup}}</string>
<string>{{tilde}}</string>
<string>{{tmfrom}}</string>
<string>{{tmto}}</string>
<string>{{vw}}</string>
</SubstTemplates>
</FindAndReplace>
<Editprefs>
<GeneralFixes>true</GeneralFixes>
<Tagger>true</Tagger>
<Unicodify>true</Unicodify>
<Recategorisation>1</Recategorisation>
<NewCategory />
<NewCategory2 />
<ReImage>0</ReImage>
<ImageFind />
<Replace />
<SkipIfNoCatChange>false</SkipIfNoCatChange>
<SkipIfNoImgChange>false</SkipIfNoImgChange>
<AppendText>false</AppendText>
<Append>true</Append>
<Text />
<AutoDelay>44</AutoDelay>
<QuickSave>false</QuickSave>
<SuppressTag>false</SuppressTag>
<OverrideWatchlist>false</OverrideWatchlist>
<RegexTypoFix>false</RegexTypoFix>
</Editprefs>
<General>
<AutoSaveEdit>
<Enabled>false</Enabled>
<SavePeriod>30</SavePeriod>
<SaveFile>Edit Box.txt</SaveFile>
</AutoSaveEdit>
<SelectedSummary>[[User:Dispenser/Navbox|Navbox script]], better CSS+XHTML, collapsible, and v-d-e,</SelectedSummary>
<Summaries>
<string>[[User:Dispenser/Navbox|Navbox conformity]], better CSS+XHTML, collapsible, and v-d-e,</string>
<string>[[User:Dispenser/Navbox|Navbox script]], better CSS+XHTML, collapsible, and v-d-e,</string>
</Summaries>
<PasteMore>
<string> style="text-align:left;" </string>
<string> style="text-align:center;" </string>
<string> style="vertical-align:top;" </string>
<string> style="width:100%;" </string>
<string> style="background:transparent; " </string>
<string> colspan="2" </string>
<string> rowspan="2" </string>
<string> style="border-collapse:collapse; " </string>
<string> style="color:white; " </string>
<string> style="" </string>
</PasteMore>
<FindText>cat</FindText>
<FindRegex>true</FindRegex>
<FindCaseSensitive>false</FindCaseSensitive>
<WordWrap>true</WordWrap>
<ToolBarEnabled>true</ToolBarEnabled>
<BypassRedirect>true</BypassRedirect>
<NoAutoChanges>false</NoAutoChanges>
<OnLoadAction>0</OnLoadAction>
<Minor>false</Minor>
<Watch>true</Watch>
<TimerEnabled>true</TimerEnabled>
<SortInterwikiOrder>false</SortInterwikiOrder>
<AddIgnoredToLog>true</AddIgnoredToLog>
<TextBoxSize>10</TextBoxSize>
<TextBoxFont>Courier New</TextBoxFont>
<LowThreadPriority>false</LowThreadPriority>
<FlashAndBeep>false</FlashAndBeep>
<Beep>true</Beep>
<Flash>true</Flash>
<Minimize>false</Minimize>
<LockSummary>false</LockSummary>
<SaveArticleList>true</SaveArticleList>
<TimeOutLimit>30</TimeOutLimit>
<IgnoreNoBots>false</IgnoreNoBots>
<CustomWikis>
<string />
</CustomWikis>
</General>
<SkipOptions>
<SkipNonexistent>true</SkipNonexistent>
<Skipexistent>false</Skipexistent>
<SkipWhenNoChanges>false</SkipWhenNoChanges>
<SkipDoes>false</SkipDoes>
<SkipDoesNot>false</SkipDoesNot>
<SkipDoesText>\{\{\{|class="navbox</SkipDoesText>
<SkipDoesNotText>\{\|[^\n]*[="](toc)</SkipDoesNotText>
<Regex>true</Regex>
<CaseSensitive>false</CaseSensitive>
<SkipNoFindAndReplace>true</SkipNoFindAndReplace>
<SkipNoRegexTypoFix>false</SkipNoRegexTypoFix>
<SkipNoDisambiguation>false</SkipNoDisambiguation>
<GeneralSkip>0</GeneralSkip>
</SkipOptions>
<Module>
<Enabled>false</Enabled>
<Language>0</Language>
<Code> public string ProcessArticle(string ArticleText, string ArticleTitle, int Namespace, out string Summary, out bool Skip)
{
Skip = false;
Summary = "test";
ArticleText = "test\r\n\r\n" + ArticleText;
return ArticleText;
}</Code>
</Module>
<Disambiguation>
<Enabled>false</Enabled>
<Link />
<Variants />
<ContextChars>20</ContextChars>
</Disambiguation>
<Logging>
<LogVerbose>false</LogVerbose>
<LogWiki>false</LogWiki>
<LogXHTML>false</LogXHTML>
<UploadYN>false</UploadYN>
<UploadAddToWatchlist>false</UploadAddToWatchlist>
<UploadMaxLines>0</UploadMaxLines>
<UploadOpenInBrowser>false</UploadOpenInBrowser>
<UploadToWikiProjects>false</UploadToWikiProjects>
</Logging>
<Plugin>
<PluginPrefs>
<Name>CFD-Plugin</Name>
</PluginPrefs>
</Plugin>
</AutoWikiBrowserPreferences>

