User:GoingBatty/Sandbox
<?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="5.2.0.1">
<Project>wikipedia</Project> <LanguageCode>en</LanguageCode> <CustomProject /> <UsingSecure>false</UsingSecure> <PHP5>false</PHP5> <List> <ListSource>Yobot</ListSource> <SelectedProvider>UserContribUserDefinedNumberListProvider</SelectedProvider> <ArticleList> <Article NameSpaceKey="0"> <PreProcessed>false</PreProcessed> <Name>Kinda Hibrawi</Name> </Article> <Article NameSpaceKey="2"> <PreProcessed>false</PreProcessed> <Name>User:Magioladitis/Sandbox</Name> </Article> </ArticleList> </List> <FindAndReplace> <Enabled>false</Enabled> <IgnoreSomeText>false</IgnoreSomeText> <IgnoreMoreText>false</IgnoreMoreText> <AppendSummary>true</AppendSummary> <AfterOtherFixes>true</AfterOtherFixes> <Replacements> <Replacement> <Find>\[\[Blender]]</Find> <Replace>Blender</Replace> <Comment>01</Comment> <IsRegex>false</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>"\[\[Blender]]\ magazine"</Find> <Replace>Blender magazine</Replace> <Comment>02</Comment> <IsRegex>false</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>\[\[Blender]]\ magazine</Find> <Replace>Blender magazine</Replace> <Comment>03</Comment> <IsRegex>false</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>publisher=\[\[Blender]]</Find> <Replace>work=Blender</Replace> <Comment>04</Comment> <IsRegex>false</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>work=\[\[Blender]]</Find> <Replace>work=Blender</Replace> <Comment>05</Comment> <IsRegex>false</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>journal=\[\[Blender]]</Find> <Replace>journal=Blender</Replace> <Comment>06</Comment> <IsRegex>false</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>"\[\[Blender]]"</Find> <Replace>Blender</Replace> <Comment>07</Comment> <IsRegex>false</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>\[\[Blender]]</Find> <Replace>Blender</Replace> <Comment>08</Comment> <IsRegex>false</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>\*\ \example\.com</Find> <Replace /> <Comment>09</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>\*\ \link\ title</Find> <Replace /> <Comment>10</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>\link\ title</Find> <Replace /> <Comment>11</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>New\ article\ name\ is\ </Find> <Replace /> <Comment>12</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find><!---\ Categories\ ---></Find> <Replace /> <Comment>13</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>\[http://en\.wikipedia\.org/wiki/</Find> <Replace>[[</Replace> <Comment>14</Comment> <IsRegex>false</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>\s([\.,;:])</Find> <Replace>$1</Replace> <Comment /> <IsRegex>true</IsRegex> <Enabled>false</Enabled> <Minor>true</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>([,:])([A-Za-z])</Find> <Replace>$1 $2</Replace> <Comment /> <IsRegex>true</IsRegex> <Enabled>false</Enabled> <Minor>true</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>(Septem|Octo|Novem|Decem)ber,\s20(\d+)</Find> <Replace>$1ber 20$2</Replace> <Comment>17</Comment> <IsRegex>true</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>\s([a-z]+)\s\1\s</Find> <Replace> $1 </Replace> <Comment>18 - duplicate words</Comment> <IsRegex>true</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>None</RegularExpressionOptions> </Replacement> <Replacement> <Find>(be released in [A-Za-z\s]+ 2010.?)</Find> <Replace>$1[needs update]</Replace> <Comment>19</Comment> <IsRegex>true</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>{{BLP sources[|]date=[A-Za-z0-9 ]+}}</Find>
<Replace>
This article needs additional citations for verification. (December 2010) |
</Replace>
<Comment>20</Comment> <IsRegex>true</IsRegex> <Enabled>false</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> <Replacement> <Find>{{BLP unsourced[|]date=[A-Za-z0-9 ]+}}</Find>
<Replace>
</Replace>
<Comment>21</Comment>
<IsRegex>true</IsRegex>
<Enabled>false</Enabled>
<Minor>false</Minor>
<RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
</Replacement>
<Replacement>
<Find>([Rr])ecently</Find>
<Replace>$1ecently[when?]</Replace>
<Comment />
<IsRegex>true</IsRegex>
<Enabled>true</Enabled>
<Minor>false</Minor>
<RegularExpressionOptions>IgnoreCase</RegularExpressionOptions>
</Replacement>
</Replacements>
<AdvancedReps>
<IRule xsi:type="InTemplateRule">
<enabled_>true</enabled_>
<Children />
<Name>In Template Rule</Name>
<TemplateNames_ />
<ReplaceWith_ />
<DoReplace_>false</DoReplace_>
</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>Place of birth missing (living people)</NewCategory>
<NewCategory2>Place of birth missing</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>Typo fixing</SelectedSummary>
<Summaries>
<string>Typo fixing</string>
<string>Typo fixing and general fixes</string>
<string>Typo fixing, general fixes, and other clean up</string>
<string>Typo fixing and other clean up</string>
<string>General fixes</string>
<string>General fixes and other clean up</string>
<string>Added Persondata</string>
<string>Added Persondata and general fixes</string>
<string>Added Persondata, general fixes & other clean up</string>
<string>Added Persondata and Tfixed typos</string>
<string>Added Persondata, Tfixed typos & general fixes</string>
<string>Added Persondata & other clean up</string>
<string>Added [needs update]</string>
<string>Added [needs update] & other clean up</string>
<string>Added category</string>
<string>Added [disambiguation needed]</string>
<string>Added [disambiguation needed] & other clean up</string>
<string>Added hidden [undefined] Error: {{Lang}}: no text (help) template so text doesn't get identified as a typo</string>
<string>Added links</string>
<string>Added [sic] template</string>
<string>bad link repair</string>
<string>clean up</string>
<string>Fixing links to disambiguation pages</string>
<string>Fixing links to disambiguation pages and other clean up</string>
<string>removed example.com link</string>
<string>removed parent category</string>
<string>WP:CHECKWIKI fixes</string>
<string>WP:CHECKWIKI fixes and general fixes</string>
<string>updated categories</string>
</Summaries>
<PasteMore>
<string />
<string />
<string />
<string />
<string />
<string />
<string />
<string />
<string />
<string />
</PasteMore>
<FindText>born</FindText>
<FindRegex>false</FindRegex>
<FindCaseSensitive>false</FindCaseSensitive>
<WordWrap>true</WordWrap>
<ToolBarEnabled>false</ToolBarEnabled>
<BypassRedirect>true</BypassRedirect>
<AutoSaveSettings>true</AutoSaveSettings>
<noSectionEditSummary>false</noSectionEditSummary>
<restrictDefaultsortAddition>false</restrictDefaultsortAddition>
<restrictOrphanTagging>true</restrictOrphanTagging>
<noMOSComplianceFixes>false</noMOSComplianceFixes>
<syntaxHighlightEditBox>false</syntaxHighlightEditBox>
<highlightAllFind>true</highlightAllFind>
<PreParseMode>false</PreParseMode>
<NoAutoChanges>false</NoAutoChanges>
<OnLoadAction>0</OnLoadAction>
<DiffInBotMode>false</DiffInBotMode>
<Minor>true</Minor>
<AddToWatchlist>2</AddToWatchlist>
<TimerEnabled>false</TimerEnabled>
<SortListAlphabetically>false</SortListAlphabetically>
<AddIgnoredToLog>false</AddIgnoredToLog>
<EditToolbarEnabled>false</EditToolbarEnabled>
<filterNonMainSpace>false</filterNonMainSpace>
<AutoFilterDuplicates>false</AutoFilterDuplicates>
<FocusAtEndOfEditBox>false</FocusAtEndOfEditBox>
<scrollToUnbalancedBrackets>true</scrollToUnbalancedBrackets>
<TextBoxSize>10</TextBoxSize>
<TextBoxFont>Courier New</TextBoxFont>
<LowThreadPriority>false</LowThreadPriority>
<Beep>false</Beep>
<Flash>false</Flash>
<Minimize>false</Minimize>
<LockSummary>false</LockSummary>
<SaveArticleList>true</SaveArticleList>
<SuppressUsingAWB>false</SuppressUsingAWB>
<AddUsingAWBToActionSummaries>false</AddUsingAWBToActionSummaries>
<IgnoreNoBots>false</IgnoreNoBots>
<ClearPageListOnProjectChange>false</ClearPageListOnProjectChange>
<SortInterWikiOrder>false</SortInterWikiOrder>
<ReplaceReferenceTags>true</ReplaceReferenceTags>
<LoggingEnabled>false</LoggingEnabled>
</General>
<SkipOptions>
<SkipNonexistent>true</SkipNonexistent>
<Skipexistent>false</Skipexistent>
<SkipWhenNoChanges>false</SkipWhenNoChanges>
<SkipSpamFilterBlocked>false</SkipSpamFilterBlocked>
<SkipInuse>true</SkipInuse>
<SkipWhenOnlyWhitespaceChanged>true</SkipWhenOnlyWhitespaceChanged>
<SkipOnlyGeneralFixChanges>false</SkipOnlyGeneralFixChanges>
<SkipOnlyMinorGeneralFixChanges>false</SkipOnlyMinorGeneralFixChanges>
<SkipOnlyCasingChanged>false</SkipOnlyCasingChanged>
<SkipIfRedirect>false</SkipIfRedirect>
<SkipIfNoAlerts>false</SkipIfNoAlerts>
<SkipDoes>true</SkipDoes>
<SkipDoesNot>false</SkipDoesNot>
<SkipDoesText>(Af[Dd]|Prod blp/dated|Proposed deletion|{{db-)</SkipDoesText>
<SkipDoesNotText>born</SkipDoesNotText>
<Regex>true</Regex>
<CaseSensitive>false</CaseSensitive>
<AfterProcessing>false</AfterProcessing>
<SkipNoFindAndReplace>false</SkipNoFindAndReplace>
<SkipMinorFindAndReplace>false</SkipMinorFindAndReplace>
<SkipNoRegexTypoFix>false</SkipNoRegexTypoFix>
<SkipNoDisambiguation>false</SkipNoDisambiguation>
<SkipNoLinksOnPage>false</SkipNoLinksOnPage>
<GeneralSkipList />
</SkipOptions>
<Module>
<Enabled>false</Enabled>
<Language>C# 2.0</Language>
//PRELIMINARY VERSION
//TODO: Add summary for every change
//Put all in the loop
private static readonly Regex MI = Tools.NestedTemplateRegex(new List<string>("Multiple issues, Article issues, Multipleissues, Articleissues".Split(',')));
public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip)
{
Summary = "Updated
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
No issues specified. Please specify issues, or remove this template.
parameters";
string ArticleText2 = Tools.RemoveTemplateParameter(ArticleText,"Multiple issues","article");
// process each tag
foreach(Match m in MI.Matches(ArticleText2))
{
string MICall = m.Value, newValue = m.Value;
newValue = Tools.RenameTemplateParameter(newValue, "BLPrefimprove", "refimprove");
newValue = Tools.RenameTemplateParameter(newValue, "refimproveBLP", "refimprove");
newValue = Tools.RenameTemplateParameter(newValue, "BLPsources", "refimprove");
newValue = Tools.RenameTemplateParameter(newValue, "BLP sources", "refimprove");
ArticleText2 = ArticleText2.Replace(m.Value, newValue);
}
Skip = false;
// replace with the following line if you want AWB to skip if no changes made
//Skip = (ArticleText2.Equals(ArticleText));
ArticleText = ArticleText2;
return ArticleText;
}
</Module> <ExternalProgram> <Enabled>false</Enabled> <Skip>false</Skip> <Program /> <Parameters /> <PassAsFile>true</PassAsFile> <OutputFile /> </ExternalProgram> <Disambiguation> <Enabled>false</Enabled> <Link>Dupont</Link> <Variants> <string>Alexis I. duPont High School</string> <string>Alfred I. duPont Testamentary Trust</string> <string>André Dupont</string> <string>Charles H. DuPont</string> <string>Christian Dupont</string> <string>Clifford Dupont</string> <string>Crédit du Nord</string> <string>Denise Dupont</string> <string>DuPont</string> <string>DuPont, Washington</string> <string>DuPont-Columbia Award</string> <string>DuPont Manual Magnet High School</string> <string>DuPont analysis</string> <string>Du Pont, Georgia</string> <string>Du Pont Motors</string> <string>Du Pont family</string> <string>Dupont, Avoyelles Parish, Louisiana</string> <string>Dupont, Colorado</string> <string>Dupont, Indiana</string> <string>Dupont, Louisiana</string> <string>Dupont, Ohio</string> <string>Dupont, Pennsylvania</string> <string>Dupont, Pointe Coupee Parish, Louisiana</string> <string>Dupont, Tennessee</string> <string>Dupont, Wisconsin</string> <string>Dupont (TTC)</string> <string>Dupont (band)</string> <string>Dupont Circle</string> <string>Eleuthère Irénée du Pont</string> <string>Ewald André Dupont</string> <string>Given name</string> <string>Jacques-Charles Dupont de l'Eure</string> <string>Madeleine Dupont</string> <string>Pierre Dupont</string> <string>Pierre Dupont de l'Étang</string> <string>Pierre S. du Pont, IV</string> <string>Pierre Samuel du Pont de Nemours</string> <string>ST Dupont</string> <string>Samuel Francis Du Pont</string> <string>Super Dupont</string> <string>Surname</string> <string>Thomson and Thompson</string> <string>Tiffany Dupont</string> <string>Tour DuPont</string> <string>USS Du Pont (DD-152)</string> <string>USS Du Pont (DD-941)</string> <string /> </Variants> <ContextChars>20</ContextChars> </Disambiguation> <Logging> <LogVerbose>false</LogVerbose> <LogWiki>false</LogWiki> <LogXHTML>false</LogXHTML> <UploadYN>false</UploadYN> <UploadAddToWatchlist>false</UploadAddToWatchlist> <UploadOpenInBrowser>false</UploadOpenInBrowser> <UploadToWikiProjects>false</UploadToWikiProjects> <DebugUploading>false</DebugUploading> <UploadMaxLines>1000</UploadMaxLines> <LogFolder /> <UploadJobName /> <UploadLocation /> <LogCategoryName /> </Logging> <Special> <namespaceValues> <int>0</int> <int>6</int> <int>10</int> <int>14</int> <int>100</int> </namespaceValues> <remDupes>true</remDupes> <sortAZ>false</sortAZ> <filterTitlesThatContain>true</filterTitlesThatContain> <filterTitlesThatContainText>Heroninos Archive</filterTitlesThatContainText> <filterTitlesThatDontContain>false</filterTitlesThatDontContain> <filterTitlesThatDontContainText>Saturday Night Live</filterTitlesThatDontContainText> <areRegex>false</areRegex> <opType>0</opType> <remove /> </Special> <Tool> <ListComparerUseCurrentArticleList>0</ListComparerUseCurrentArticleList> <ListSplitterUseCurrentArticleList>0</ListSplitterUseCurrentArticleList> <DatabaseScannerUseCurrentArticleList>0</DatabaseScannerUseCurrentArticleList> </Tool> <Plugin />
</AutoWikiBrowserPreferences>