User:Dual Freq/AWB
From Wikipedia, the free encyclopedia
Below is the .xml file to change the assessment of an article to match the highest other assessment on the talk page. Copy the parts between the pre /pre tags into a file, then load that file as a setting in AWB. It runs pretty smoothly, unfortunately it will key on false positives, so it will have to be semi-automatic.
<?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.1.0">
<Project>wikipedia</Project>
<LanguageCode>en</LanguageCode>
<CustomProject />
<List>
<ListSource>Unassessed WikiProject Illinois articles</ListSource>
<Source>Category</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_>
<Name>Rule B</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>{{WikiProject Illinois |class=}}</replace_>
<with_>{{WikiProject Illinois|class=B}}</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>class=b</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Name>Rule start</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>{{WikiProject Illinois |class=}}</replace_>
<with_>{{WikiProject Illinois|class=start}}</with_>
<regex_>false</regex_>
<regexOptions_>None</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>class=start</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
<IRule xsi:type="Rule">
<enabled_>true</enabled_>
<Children />
<Name>Rule stub</Name>
<ruletype_>OnWholePage</ruletype_>
<replace_>{{WikiProject Illinois |class=}}</replace_>
<with_>{{WikiProject Illinois|class=stub}}</with_>
<regex_>false</regex_>
<regexOptions_>IgnoreCase</regexOptions_>
<numoftimes_>1</numoftimes_>
<ifContains_>class=stub</ifContains_>
<ifNotContains_ />
<ifIsRegex_>true</ifIsRegex_>
<ifRegexOptions_>IgnoreCase</ifRegexOptions_>
</IRule>
</AdvancedReps>
<SubstTemplates />
</FindAndReplace>
<Editprefs>
<GeneralFixes>false</GeneralFixes>
<Tagger>false</Tagger>
<Unicodify>false</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>15</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>match classes for [[WP:Illinois]]</SelectedSummary>
<Summaries>
<string>clean up</string>
<string>re-categorisation per [[WP:CFD|CFD]]</string>
<string>clean up and re-categorisation per [[WP:CFD|CFD]]</string>
<string>removing category per [[WP:CFD|CFD]]</string>
<string>[[Wikipedia:Template substitution|subst:'ing]]</string>
<string>[[Wikipedia:WikiProject Stub sorting|stub sorting]]</string>
<string>[[WP:AWB/T|Typo fixing]]</string>
<string>bad link repair</string>
<string>Fixing [[Wikipedia:Disambiguation pages with links|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>2</OnLoadAction>
<Minor>false</Minor>
<Watch>false</Watch>
<TimerEnabled>false</TimerEnabled>
<SortInterwikiOrder>false</SortInterwikiOrder>
<AddIgnoredToLog>false</AddIgnoredToLog>
<EnhancedDiff>true</EnhancedDiff>
<ScrollDown>true</ScrollDown>
<DiffFontSize>150</DiffFontSize>
<TextBoxSize>10</TextBoxSize>
<TextBoxFont>Courier New</TextBoxFont>
<LowThreadPriority>false</LowThreadPriority>
<FlashAndBeep>false</FlashAndBeep>
<Beep>false</Beep>
<Flash>false</Flash>
<Minimize>false</Minimize>
<LockSummary>false</LockSummary>
<SaveArticleList>false</SaveArticleList>
<TimeOutLimit>30</TimeOutLimit>
<IgnoreNoBots>false</IgnoreNoBots>
</General>
<SkipOptions>
<SkipNonexistent>false</SkipNonexistent>
<SkipWhenNoChanges>false</SkipWhenNoChanges>
<SkipDoes>false</SkipDoes>
<SkipDoesNot>true</SkipDoesNot>
<SkipDoesText>|class=}}</SkipDoesText>
<SkipDoesNotText>class=</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>
<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>
<Plugin />
</AutoWikiBrowserPreferences>

