User:Pit-yacker/Sandbox3
From Wikipedia, the free encyclopedia
<?xml version="1.0"?> <AutoWikiBrowserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="3.1.4.0">
<Project>wikipedia</Project> <LanguageCode>en</LanguageCode> <CustomProject /> <List> <ListSource>Template:infobox Wales place</ListSource> <Source>WhatTranscludesHere</Source> <ArticleList /> </List> <FindAndReplace> <Enabled>true</Enabled> <IgnoreSomeText>false</IgnoreSomeText> <AppendSummary>true</AppendSummary> <AfterOtherFixes>false</AfterOtherFixes> <Replacements /> <AdvancedReps> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Place -> official_name</Name> <ParamName_>Place</ParamName_> <NewParamName_>official_name</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Image -> static_image</Name> <ParamName_>Image</ParamName_> <NewParamName_>static_image</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Map -> map_type</Name> <ParamName_>Map</ParamName_> <NewParamName_>map_type</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Population -> population</Name> <ParamName_>Population</ParamName_> <NewParamName_>population</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>GridReference -> os_grid_reference</Name> <ParamName_>GridReference</ParamName_> <NewParamName_>os_grid_reference</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Parish -> civil_parish</Name> <ParamName_>Parish</ParamName_> <NewParamName_>civil_parish</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>West Midlands Special Case</Name> <ruletype_>OnWholePage</ruletype_> <replace_>region\s*=\s*\[\[West Midlands \(region\)\|West Midlands\]\]</replace_> <with_>region = West Midlands</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>region\s*=\s*\[\[West Midlands \(region\)\|West Midlands\]\]</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Square Brackets</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*region\s*=\s*\[\[([\w\s]*)\]\].*\n</replace_> <with_>$1|region= $2$1</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)(\s)*\|(\s)*region(\s)*=(\s)*\[\[([\w\s]*)\]\].*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Region -> region</Name> <ParamName_>Region</ParamName_> <NewParamName_>region</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>DiallingCode -> dial_code</Name> <ParamName_>DiallingCode</ParamName_> <NewParamName_>dial_code</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>PostalTown -> post_town</Name> <ParamName_>PostalTown</ParamName_> <NewParamName_>post_town</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Constituency -> constituency_westminster</Name> <ParamName_>Constituency</ParamName_> <NewParamName_>constituency_westminster</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Cut dec places</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*latitude\s*=\s*([0-9][0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</replace_> <with_>$1|latitude= $2.$3$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*latitude\s*=\s*([0-9][0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>true</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Latitude -> latitude</Name> <ParamName_>Latitude</ParamName_> <NewParamName_>latitude</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Cut Dec Places</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*longitude\s*=\s*(-)?([0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</replace_> <with_>$1|longitude= $2$3.$4$1</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*longitude\s*=\s*(-)?([0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Longitude -> longitude</Name> <ParamName_>Longitude</ParamName_> <NewParamName_>longitude</NewParamName_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Euro constituency</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Euro\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Euro\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>true</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Traditional</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Traditional\s*=.*\n</replace_> <with_>$1</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Traditional\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Police</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Police\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Police\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Fire</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Fire\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Fire\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>District -> shire_district</Name> <ParamName_>District</ParamName_> <NewParamName_>shire_district</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>County -> shire_county</Name> <ParamName_>County</ParamName_> <NewParamName_>shire_county</NewParamName_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Ceremonial</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Ceremonial\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Ceremonial\s*=.*\n</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>Remove shire_county</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*shire_county\s*=.*
</replace_>
<with_ /> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*shire_county\s*=.*</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Somerset BANES fix</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*\|\s*shire_district\s*=\s*\[\[Bath and North East Somerset\]\]</replace_> <with_>|unitary_england=Bath and North East Somerset
|lieutenancy_england= Somerset</with_>
<regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*\|\s*shire_district\s*=\s*\[\[Bath and North East Somerset\]\]
</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>Remove shire_county</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*shire_county\s*=.*
</replace_>
<with_ /> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*shire_county\s*=.*
</ifContains_>
<ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>North Somerset Fix</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*\|\s*shire_district\s*=\s*\[\[North Somerset\]\]</replace_> <with_>|unitary_england=North Somerset
|lieutenancy_england= Somerset</with_>
<regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*\|\s*shire_district\s*=\s*\[\[North Somerset\]\]</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>No DistrictType = County -> shire_county</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*County\s*=\s*(.*)\n</replace_> <with_>$1|shire_county = $2$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_ /> <ifNotContains_>(\s)*\|(\s)*DistrictType(\s)*=</ifNotContains_> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>District -> shire_district</Name> <ParamName_>District</ParamName_> <NewParamName_>shire_district</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>County -> shire_county</Name> <ParamName_>County</ParamName_> <NewParamName_>shire_county</NewParamName_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove DistirctType</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*DistrictType\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</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>Remove Ceremonial</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Ceremonial\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Ceremonial\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>DistrictType= District (or Borough???)</Name> <ruletype_>OnWholePage</ruletype_> <replace_ /> <with_ /> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>((\s)*\|(\s)*DistrictType(\s)*=(\s)*District)|((\s)*\|(\s)*DistrictType(\s)*=(\s)*Borough)</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>District ->metropolitan_borough</Name> <ParamName_>District</ParamName_> <NewParamName_>metropolitan_borough</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>County -> metropolitan_county</Name> <ParamName_>County</ParamName_> <NewParamName_>metropolitan_county</NewParamName_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove DistirctType</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*DistrictType\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</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>Remove Ceremonial</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Ceremonial\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Ceremonial\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>DistrictType = Metropolitan borough</Name> <ruletype_>OnWholePage</ruletype_> <replace_ /> <with_ /> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\s)*\|(\s)*DistrictType(\s)*=(\s)*Metropolitan (B|b)orough</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>District -> unitary_england</Name> <ParamName_>District</ParamName_> <NewParamName_>unitary_england</NewParamName_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove DistirctType</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*DistrictType\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</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="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Ceremonial -> lieutenancy_england</Name> <ParamName_>Ceremonial</ParamName_> <NewParamName_>lieutenancy_england</NewParamName_> </IRule> </Children> <Name>No County</Name> <ruletype_>OnWholePage</ruletype_> <replace_ /> <with_ /> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_ /> <ifNotContains_>(\n)\s*\|\s*County\s*=\s*(.*)\n</ifNotContains_> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Ceremonial</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Ceremonial\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Ceremonial\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>County -> lieutenancy_england</Name> <ParamName_>County</ParamName_> <NewParamName_>lieutenancy_england</NewParamName_> </IRule> </Children> <Name>District Type= Unitary authority</Name> <ruletype_>OnWholePage</ruletype_> <replace_ /> <with_ /> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\s)*\|(\s)*DistrictType(\s)*=(\s)*Unitary (A|a)uthority</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>Rule</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*\|\s*PostCode\s*=(.*)\n</replace_> <with_>|postcode_district=
|postcode_area= </with_>
<regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*\|\s*PostCode\s*=(.*)\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>PostCode</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*\|\s*PostCode\s*=\s*([A-Za-z][A-Za-z]?)(.*)\n</replace_> <with_>|postcode_district = $1$2
|postcode_area= $1</with_>
<regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*\|\s*PostCode\s*=\s*([A-Za-z][A-Za-z]?)(.*)\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Clear Space</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|</replace_> <with_>$1|</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>England: Change box name</Name> <ruletype_>InsideTemplate</ruletype_> <replace_>infobox England place\s*\|</replace_> <with_>infobox UK place|
|country = England</with_>
<regex_>true</regex_> <regexOptions_>IgnoreCase</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>infobox England place(\s)*\|</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>Remove Police</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Police\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Police\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Traditional</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Traditional\s*=.*\n</replace_> <with_>$1</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Traditional\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Image -> static_image</Name> <ParamName_>Image</ParamName_> <NewParamName_>static_image</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Map -> map_type</Name> <ParamName_>Map</ParamName_> <NewParamName_>map_type</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Population -> population</Name> <ParamName_>Population</ParamName_> <NewParamName_>population</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>GridReference -> os_grid_reference</Name> <ParamName_>GridReference</ParamName_> <NewParamName_>os_grid_reference</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Council -> unitary_wales</Name> <ParamName_>Council</ParamName_> <NewParamName_>unitary_wales</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Place -> official_name</Name> <ParamName_>Place</ParamName_> <NewParamName_>official_name</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>PostalTown -> post_town</Name> <ParamName_>PostalTown</ParamName_> <NewParamName_>post_town</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Ceremonial -> lieutenancy_wales</Name> <ParamName_>Ceremonial</ParamName_> <NewParamName_>lieutenancy_wales</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Constituency -> constituency_westminster</Name> <ParamName_>Constituency</ParamName_> <NewParamName_>constituency_westminster</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>DiallingCode -> dial_code</Name> <ParamName_>DiallingCode</ParamName_> <NewParamName_>dial_code</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Cut Dec Places</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*longitude\s*=\s*(-)?([0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</replace_> <with_>$1|longitude= $2$3.$4$1</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*longitude\s*=\s*(-)?([0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Longitude -> longitude</Name> <ParamName_>Longitude</ParamName_> <NewParamName_>longitude</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Cut dec places</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*latitude\s*=\s*([0-9][0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</replace_> <with_>$1|latitude= $2.$3$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*latitude\s*=\s*([0-9][0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>true</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Latitude -> latitude</Name> <ParamName_>Latitude</ParamName_> <NewParamName_>latitude</NewParamName_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Rule</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*\|\s*PostCode\s*=(.*)\n</replace_> <with_>|postcode_district=
|postcode_area= </with_>
<regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*\|\s*PostCode\s*=(.*)\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>PostCode</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*\|\s*PostCode\s*=\s*([A-Za-z][A-Za-z]?)(.*)\n</replace_> <with_>|postcode_district = $1$2
|postcode_area= $1</with_>
<regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*\|\s*PostCode\s*=\s*([A-Za-z][A-Za-z]?)(.*)\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Clear Space</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|</replace_> <with_>$1|</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Wales</Name> <ruletype_>InsideTemplate</ruletype_> <replace_>(I|i)nfobox Wales place\s*\|*</replace_> <with_>infobox UK place|
|country = Wales
|welsh_name=
|constituency_welsh_assembly=
|map_type=</with_>
<regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(I|i)nfobox Wales place(\s)*\|*</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>PostTown -> post_town</Name> <ParamName_>PostTown</ParamName_> <NewParamName_>post_town</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>DiallingCode -> dial_code</Name> <ParamName_>DiallingCode</ParamName_> <NewParamName_>dial_code</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Constituency -> constituency_westminster</Name> <ParamName_>Constituency</ParamName_> <NewParamName_>constituency_westminster</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Borough -> london_borough</Name> <ParamName_>Borough</ParamName_> <NewParamName_>london_borough</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>GridReference -> os_grid_reference</Name> <ParamName_>GridReference</ParamName_> <NewParamName_>os_grid_reference</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children /> <Name>Place -> official_name</Name> <ParamName_>Place</ParamName_> <NewParamName_>official_name</NewParamName_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove GLA</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*GLA\s*=.*\n</replace_> <with_>$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*GLA\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Remove Traditional</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*Traditional\s*=.*\n</replace_> <with_>$1</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*Traditional\s*=.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Cut Dec Places</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*longitude\s*=\s*(-)?([0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</replace_> <with_>$1|longitude= $2$3.$4$1</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*longitude\s*=\s*(-)?([0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Longitude -> longitude</Name> <ParamName_>Longitude</ParamName_> <NewParamName_>longitude</NewParamName_> </IRule> <IRule xsi:type="TemplateParamRule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Cut dec places</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|\s*latitude\s*=\s*([0-9][0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</replace_> <with_>$1|latitude= $2.$3$1</with_> <regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|\s*latitude\s*=\s*([0-9][0-9])\.([0-9][0-9][0-9][0-9])[0-9]*.*\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>true</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>Latitude -> latitude</Name> <ParamName_>Latitude</ParamName_> <NewParamName_>latitude</NewParamName_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Rule</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*\|\s*PostCode\s*=(.*)\n</replace_> <with_>|postcode_district=
|postcode_area= </with_>
<regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*\|\s*PostCode\s*=(.*)\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>PostCode</Name> <ruletype_>OnWholePage</ruletype_> <replace_>\s*\|\s*PostCode\s*=\s*([A-Za-z][A-Za-z]?)(.*)\n</replace_> <with_>|postcode_district = $1$2
|postcode_area= $1</with_>
<regex_>true</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>\s*\|\s*PostCode\s*=\s*([A-Za-z][A-Za-z]?)(.*)\n</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> <IRule xsi:type="Rule"> <enabled_>true</enabled_> <Children /> <Name>Clear Space</Name> <ruletype_>OnWholePage</ruletype_> <replace_>(\n)\s*\|</replace_> <with_>$1|</with_> <regex_>false</regex_> <regexOptions_>None</regexOptions_> <numoftimes_>1</numoftimes_> <ifContains_>(\n)\s*\|</ifContains_> <ifNotContains_ /> <ifIsRegex_>false</ifIsRegex_> <ifRegexOptions_>None</ifRegexOptions_> </IRule> </Children> <Name>London</Name> <ruletype_>InsideTemplate</ruletype_> <replace_>(i|I)nfobox London place(\s)*\|*</replace_> <with_>infobox UK place|
|country = England
|map_type = Greater London
|region= London
|population=</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>(I|i)nfobox London place(\s)*\|*</ifContains_>
<ifNotContains_ />
<ifIsRegex_>false</ifIsRegex_>
<ifRegexOptions_>None</ifRegexOptions_>
</IRule>
</AdvancedReps>
<SubstTemplates />
</FindAndReplace>
<Editprefs>
<GeneralFixes>true</GeneralFixes>
<Tagger>true</Tagger>
<Unicodify>true</Unicodify>
<Recategorisation>0</Recategorisation>
<NewCategory />
<NewCategory2 />
<ReImage>0</ReImage>
<ImageFind />
<Replace />
<SkipIfNoCatChange>false</SkipIfNoCatChange>
<SkipIfNoImgChange>false</SkipIfNoImgChange>
<AppendText>false</AppendText>
<Append>true</Append>
<Text />
<AutoDelay>10</AutoDelay>
<QuickSave>false</QuickSave>
<SuppressTag>false</SuppressTag>
<RegexTypoFix>false</RegexTypoFix>
</Editprefs>
<General>
<SelectedSummary>convert Infobox to Template:Infobox UK place</SelectedSummary>
<Summaries>
<string>clean up</string>
<string>re-categorisation per CFD</string>
<string>clean up and re-categorisation per CFD</string>
<string>removing category per CFD</string>
<string>subst:'ing</string>
<string>stub sorting</string>
<string>Typo fixing</string>
<string>bad link repair</string>
<string>Fixing links to disambiguation pages</string>
<string>Unicodifying</string>
</Summaries>
<PasteMore>
<string />
<string />
<string />
<string />
<string />
<string />
<string />
<string />
<string />
<string />
</PasteMore>
<FindText />
<FindRegex>false</FindRegex>
<FindCaseSensitive>false</FindCaseSensitive>
<WordWrap>true</WordWrap>
<ToolBarEnabled>false</ToolBarEnabled>
<BypassRedirect>true</BypassRedirect>
<NoAutoChanges>false</NoAutoChanges>
<OnLoadAction>0</OnLoadAction>
<Minor>false</Minor>
<Watch>false</Watch>
<TimerEnabled>false</TimerEnabled>
<SortInterwikiOrder>false</SortInterwikiOrder>
<AddIgnoredToLog>false</AddIgnoredToLog>
<EnhancedDiff>true</EnhancedDiff>
<ScrollDown>true</ScrollDown>
<DiffFontSize>120</DiffFontSize>
<TextBoxSize>10</TextBoxSize>
<TextBoxFont>Courier New</TextBoxFont>
<LowThreadPriority>false</LowThreadPriority>
<FlashAndBeep>false</FlashAndBeep>
<Beep>false</Beep>
<Flash>false</Flash>
<Minimize>false</Minimize>
<LockSummary>true</LockSummary>
<SaveArticleList>false</SaveArticleList>
</General>
<SkipOptions>
<SkipNonexistent>true</SkipNonexistent>
<SkipWhenNoChanges>false</SkipWhenNoChanges>
<SkipDoes>false</SkipDoes>
<SkipDoesNot>false</SkipDoesNot>
<SkipDoesText />
<SkipDoesNotText />
<Regex>false</Regex>
<CaseSensitive>false</CaseSensitive>
<SkipNoFindAndReplace>false</SkipNoFindAndReplace>
<SkipNoRegexTypoFix>false</SkipNoRegexTypoFix>
<SkipNoDisambiguation>false</SkipNoDisambiguation>
<GeneralSkip>0</GeneralSkip>
</SkipOptions>
<Module>
<Enabled>false</Enabled>
<Language>0</Language>
public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip)
{
Skip = false;
Summary = "test";
ArticleText = "test \r\n\r\n" + ArticleText;
return ArticleText; } </Module> <Disambiguation> <Enabled>false</Enabled> <Link /> <Variants /> <ContextChars>20</ContextChars> </Disambiguation> <Plugin />
</AutoWikiBrowserPreferences>