Operator: Usernamekiran ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 04:00, Wednesday, February 7, 2018 ( UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): WP:AWB
Source code available: Yes.
Function overview: Insert banner on the talkpages of pages that come under the scope of wikiproject organised crime.
Links to relevant discussions (where appropriate):
Edit period(s): 3-4 times a week.
Estimated number of pages affected: around 2 to 3000.
Namespace(s): artcile talk, category talk, file talk, template talk.
Exclusion compliant (Yes/No): No.
Function details: Since last few months, I have been using my other account ( Usernamekiran (AWB)) for inserting {{ WikiProject Organized crime}} on the talkpages that fall under the scope of wikiproject. So far I have inserted banner on thousands pages, and there has been no mistake, nobody has objected yet. I can sort the targets properly ( Wikipedia:WikiProject Organized crime/Bot tagging categories). The bot will not do any other changes other than adding this banner. And basic things like adding banner shell if banners exceed 3, old ProD.
Is your only estimate that this will be 6 to 12000 edits per week? — xaosflux Talk 02:10, 8 February 2018 (UTC) reply
public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip) { Regex header = new Regex(@"\{\{{WikiProject Organized crime|{{WikiProject Organized Crime|{{WikiProject Fictional characters|{{Comicsproj|{{WikiProject Film|{{Film|{{WikiProject Video games|{{WikiProject Television|{{WPTV|{{WP Fictional|{{WikiProject Novels|{{WikiProject Anime|{{TelevisionWikiProject|{{WPFILM|{{WikiProject Songs|{{Songs|{{album|{{WikiProject Hip hop|{{WP film|{{WPBooks", RegexOptions.IgnoreCase); Summary = "Added banner for [[WP:WikiProject Organized Crime]]"; Skip = (header.Match(ArticleText).Success || !Namespace.IsTalk(ArticleTitle)); if (!Skip) ArticleText = "{{WikiProject Organized Crime}} \r" + ArticleText; return ArticleText; }
Also, I re-checked. I can't be sure about exact number of pages to be tagged with banner, but they appear to be more than 7000. In previous calculations, I had not included the terrorist organisations. —usernamekiran (talk) 13:27, 12 February 2018 (UTC) reply
{{WikiProject Banner Shell|
parameter didnt have |1=
in it. —usernamekiran
(talk) 18:31, 27 May 2018 (UTC)
reply
Operator: Usernamekiran ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 04:00, Wednesday, February 7, 2018 ( UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): WP:AWB
Source code available: Yes.
Function overview: Insert banner on the talkpages of pages that come under the scope of wikiproject organised crime.
Links to relevant discussions (where appropriate):
Edit period(s): 3-4 times a week.
Estimated number of pages affected: around 2 to 3000.
Namespace(s): artcile talk, category talk, file talk, template talk.
Exclusion compliant (Yes/No): No.
Function details: Since last few months, I have been using my other account ( Usernamekiran (AWB)) for inserting {{ WikiProject Organized crime}} on the talkpages that fall under the scope of wikiproject. So far I have inserted banner on thousands pages, and there has been no mistake, nobody has objected yet. I can sort the targets properly ( Wikipedia:WikiProject Organized crime/Bot tagging categories). The bot will not do any other changes other than adding this banner. And basic things like adding banner shell if banners exceed 3, old ProD.
Is your only estimate that this will be 6 to 12000 edits per week? — xaosflux Talk 02:10, 8 February 2018 (UTC) reply
public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip) { Regex header = new Regex(@"\{\{{WikiProject Organized crime|{{WikiProject Organized Crime|{{WikiProject Fictional characters|{{Comicsproj|{{WikiProject Film|{{Film|{{WikiProject Video games|{{WikiProject Television|{{WPTV|{{WP Fictional|{{WikiProject Novels|{{WikiProject Anime|{{TelevisionWikiProject|{{WPFILM|{{WikiProject Songs|{{Songs|{{album|{{WikiProject Hip hop|{{WP film|{{WPBooks", RegexOptions.IgnoreCase); Summary = "Added banner for [[WP:WikiProject Organized Crime]]"; Skip = (header.Match(ArticleText).Success || !Namespace.IsTalk(ArticleTitle)); if (!Skip) ArticleText = "{{WikiProject Organized Crime}} \r" + ArticleText; return ArticleText; }
Also, I re-checked. I can't be sure about exact number of pages to be tagged with banner, but they appear to be more than 7000. In previous calculations, I had not included the terrorist organisations. —usernamekiran (talk) 13:27, 12 February 2018 (UTC) reply
{{WikiProject Banner Shell|
parameter didnt have |1=
in it. —usernamekiran
(talk) 18:31, 27 May 2018 (UTC)
reply