Wikipedia:Bots/Requests for approval/BHGbot 4/AWB settings: Remove Portal-Dance
Appearance
<?xml version="1.0" encoding="utf-8"?> <AutoWikiBrowserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:space="preserve" Version="6.1.0.1">
<Project>wikipedia</Project>
<LanguageCode>en</LanguageCode>
<CustomProject />
<Protocol>http://</Protocol>
<LoginDomain />
<List>
<ListSource>Portal:Dance</ListSource>
<SelectedProvider>WhatLinksHereAllNSListProvider</SelectedProvider>
<ArticleList />
</List>
<FindAndReplace>
<Enabled>true</Enabled>
<IgnoreSomeText>false</IgnoreSomeText>
<IgnoreMoreText>false</IgnoreMoreText>
<AppendSummary>false</AppendSummary>
<Replacements>
<Replacement>
<Find>(<br>|<br/>)</Find>
<Replace><br /></Replace>
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>false</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>\{\{ *Portal</Find>
<Replace>{{Portal</Replace>
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>false</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase Singleline</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>^\* *\{\{ *(Portal *bar|Portal-inline|Portal inline|Portal(par|-2| box)?)\s*(\|\s*)*\}\}</Find>
<Replace />
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>true</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase Multiline</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>\{\{ *(Portal inline|Portal-inline)\s*(\|\s*)*\}\}</Find>
<Replace />
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>true</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase Singleline</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>\{\{ *Portalbar</Find>
<Replace>{{Portal bar</Replace>
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>false</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase Singleline</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>\{\{ *Portal ?box</Find>
<Replace>{{Portal</Replace>
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>true</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase Singleline</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>\{\{ *Subject bar</Find>
<Replace>{{Subject bar</Replace>
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>true</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase Singleline</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>\{\{ *Portal( *bar)?\s*(\|\s*)*\}\}</Find>
<Replace />
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>true</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase Singleline</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>\{\{Catmain</Find>
<Replace>{{Cat main</Replace>
<Comment />
<IsRegex>false</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>false</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>(\{\{Portal[^\}]*?)(\|\s*)?\}\}</Find>
<Replace>$1}}</Replace>
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>true</Minor>
<BeforeOrAfter>false</BeforeOrAfter>
<RegularExpressionOptions>IgnoreCase Singleline</RegularExpressionOptions>
</Replacement>
</Replacements>
<AdvancedReps>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>remove Portal:Dance</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(?<!\{)(?<begin>\{\{ *(Portal *bar|Portal-inline|Portal inline|Portal(par|-2| box)?)\s*(\|[^\}\|]*)*)\|\s*(Dance)\s*(?<end>(\|[^\}\|]*)*\}\})</replace_>
<with_>${begin}${end}</with_>
<ifContains_ />
<ifNotContains_ />
<regex_>true</regex_>
<ifIsRegex_>false</ifIsRegex_>
<numoftimes_>3</numoftimes_>
<ifRegexOptions_>None</ifRegexOptions_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Subject Bar Portal:Dance</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>(?<!\{)(?<begin>(\{\{Subject +bar\s*(\|[^\|\}]*)*))\|\s*portal\d*\s*=\s*(Dance)\s*(?=[\|\}])(?<end>(\|[^\|\}]*)*\}\})</replace_>
<with_>${begin}${end}</with_>
<ifContains_ />
<ifNotContains_ />
<regex_>true</regex_>
<ifIsRegex_>false</ifIsRegex_>
<numoftimes_>4</numoftimes_>
<ifRegexOptions_>None</ifRegexOptions_>
<regexOptions_>IgnoreCase Singleline</regexOptions_>
</IRule>
</AdvancedReps>
<SubstTemplates />
<IncludeComments>false</IncludeComments>
<ExpandRecursively>true</ExpandRecursively>
<IgnoreUnformatted>false</IgnoreUnformatted>
</FindAndReplace>
<Editprefs>
<GeneralFixes>true</GeneralFixes>
<Tagger>true</Tagger>
<Unicodify>true</Unicodify>
<Recategorisation>0</Recategorisation>
<NewCategory />
<NewCategory2 />
<ReImage>0</ReImage>
<ImageFind />
<Replace />
<SkipIfNoCatChange>false</SkipIfNoCatChange>
<RemoveSortKey>false</RemoveSortKey>
<SkipIfNoImgChange>false</SkipIfNoImgChange>
<AppendText>false</AppendText>
<AppendTextMetaDataSort>false</AppendTextMetaDataSort>
<Append>true</Append>
<Text />
<Newlines>2</Newlines>
<AutoDelay>10</AutoDelay>
<BotMaxEdits>0</BotMaxEdits>
<SupressTag>false</SupressTag>
<RegexTypoFix>false</RegexTypoFix>
</Editprefs>
<General>
<AutoSaveEdit>
<Enabled>false</Enabled>
<SavePeriod>30</SavePeriod>
<SaveFile />
</AutoSaveEdit>
<SelectedSummary>remove links to deleted portals: Portal:Dance</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>
<string>replace links to deleted portals: Portal:Berlin → Portal:Germany</string>
<string>replace links to deleted portals: Portal:Gujarat → Portal:India</string>
<string>rmove links to deleted portals: Portal:Library and information science aka Portal:Libraries</string>
<string>remove links to deleted portals: Portal:Library and information science aka Portal:Libraries</string>
<string>remove links to deleted portals: Portal:Library and information science aka Portal:Libraries/Portal:Library</string>
<string>remove links to deleted portals: Portal:Disasters</string>
<string>remove links to deleted portals: Portal:1970s</string>
<string>remove links to deleted portals: Portal:1940s</string>
<string>remove links to deleted portals: Portal:1930s</string>
<string>remove links to deleted portals: Portal:Universities</string>
<string>remove links to deleted portals: Portal:Design, aka Portal:Industrial Design</string>
<string>remove links to deleted portals: Portal:Discworld</string>
<string>remove links to deleted portals: Portal:Dance</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>
<AutoSaveSettings>true</AutoSaveSettings>
<noSectionEditSummary>true</noSectionEditSummary>
<restrictDefaultsortAddition>true</restrictDefaultsortAddition>
<restrictOrphanTagging>true</restrictOrphanTagging>
<noMOSComplianceFixes>false</noMOSComplianceFixes>
<syntaxHighlightEditBox>false</syntaxHighlightEditBox>
<highlightAllFind>false</highlightAllFind>
<PreParseMode>false</PreParseMode>
<NoAutoChanges>false</NoAutoChanges>
<OnLoadAction>0</OnLoadAction>
<DiffInBotMode>false</DiffInBotMode>
<Minor>true</Minor>
<AddToWatchlist>2</AddToWatchlist>
<TimerEnabled>false</TimerEnabled>
<SortListAlphabetically>true</SortListAlphabetically>
<AddIgnoredToLog>false</AddIgnoredToLog>
<EditToolbarEnabled>false</EditToolbarEnabled>
<filterNonMainSpace>false</filterNonMainSpace>
<AutoFilterDuplicates>false</AutoFilterDuplicates>
<FocusAtEndOfEditBox>false</FocusAtEndOfEditBox>
<scrollToUnbalancedBrackets>false</scrollToUnbalancedBrackets>
<TextBoxSize>10</TextBoxSize>
<TextBoxFont>Courier New</TextBoxFont>
<LowThreadPriority>false</LowThreadPriority>
<Beep>false</Beep>
<Flash>false</Flash>
<Minimize>false</Minimize>
<LockSummary>true</LockSummary>
<SaveArticleList>true</SaveArticleList>
<SuppressUsingAWB>false</SuppressUsingAWB>
<AddUsingAWBToActionSummaries>false</AddUsingAWBToActionSummaries>
<IgnoreNoBots>false</IgnoreNoBots>
<ClearPageListOnProjectChange>false</ClearPageListOnProjectChange>
<SortInterWikiOrder>true</SortInterWikiOrder>
<ReplaceReferenceTags>true</ReplaceReferenceTags>
<LoggingEnabled>true</LoggingEnabled>
<AlertPreferences />
</General>
<SkipOptions>
<SkipNonexistent>true</SkipNonexistent>
<Skipexistent>false</Skipexistent>
<SkipDontCare>false</SkipDontCare>
<SkipWhenNoChanges>false</SkipWhenNoChanges>
<SkipSpamFilterBlocked>false</SkipSpamFilterBlocked>
<SkipInuse>false</SkipInuse>
<SkipWhenOnlyWhitespaceChanged>false</SkipWhenOnlyWhitespaceChanged>
<SkipOnlyGeneralFixChanges>true</SkipOnlyGeneralFixChanges>
<SkipOnlyMinorGeneralFixChanges>false</SkipOnlyMinorGeneralFixChanges>
<SkipOnlyCosmetic>false</SkipOnlyCosmetic>
<SkipOnlyCasingChanged>false</SkipOnlyCasingChanged>
<SkipIfRedirect>false</SkipIfRedirect>
<SkipIfNoAlerts>false</SkipIfNoAlerts>
<SkipDoes>false</SkipDoes>
<SkipDoesText />
<SkipDoesRegex>false</SkipDoesRegex>
<SkipDoesCaseSensitive>false</SkipDoesCaseSensitive>
<SkipDoesAfterProcessing>false</SkipDoesAfterProcessing>
<SkipDoesNot>false</SkipDoesNot>
<SkipDoesNotText />
<SkipDoesNotRegex>false</SkipDoesNotRegex>
<SkipDoesNotCaseSensitive>false</SkipDoesNotCaseSensitive>
<SkipDoesNotAfterProcessing>false</SkipDoesNotAfterProcessing>
<SkipNoFindAndReplace>true</SkipNoFindAndReplace>
<SkipMinorFindAndReplace>true</SkipMinorFindAndReplace>
<SkipNoRegexTypoFix>false</SkipNoRegexTypoFix>
<SkipNoDisambiguation>false</SkipNoDisambiguation>
<SkipNoLinksOnPage>false</SkipNoLinksOnPage>
<GeneralSkipList />
</SkipOptions>
<Module>
<Enabled>false</Enabled>
<Language>C# 3.5</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>
<ExternalProgram>
<Enabled>false</Enabled>
<Skip>false</Skip>
<Program />
<Parameters />
<PassAsFile>true</PassAsFile>
<OutputFile />
</ExternalProgram>
<Disambiguation>
<Enabled>false</Enabled>
<Link />
<Variants />
<ContextChars>20</ContextChars>
</Disambiguation>
<Special>
<namespaceValues>
<int>0</int>
<int>14</int>
<int>118</int>
</namespaceValues>
<remDupes>true</remDupes>
<sortAZ>true</sortAZ>
<filterTitlesThatContain>false</filterTitlesThatContain>
<filterTitlesThatContainText />
<filterTitlesThatDontContain>false</filterTitlesThatDontContain>
<filterTitlesThatDontContainText />
<areRegex>false</areRegex>
<opType>0</opType>
<remove />
</Special>
<Tool>
<ListComparerUseCurrentArticleList>0</ListComparerUseCurrentArticleList>
<ListSplitterUseCurrentArticleList>0</ListSplitterUseCurrentArticleList>
<DatabaseScannerUseCurrentArticleList>0</DatabaseScannerUseCurrentArticleList>
</Tool>
<Plugin />
</AutoWikiBrowserPreferences>