User:AlexNewArtBot

This is an account for "New Article Bot".

It patrols New Articles and puts relevant articles into the New Articles lists of Portals and Projects.

Please forward all the questions to bot owner Alex Bakharev 03:54, 27 January 2007 (UTC)

Currently supported
The bot currently supports (in chronological order):
 * 1) Portal:Russia/New article announcements (Search result, Log, Rules)
 * 2) Portal:Ukraine/New article announcements (Search result, Log, Rules)
 * 3) Portal:Poland/New article announcements (Search result, Log, Rules)
 * 4) Portal:Belarus/New article announcements (Search result, Log, Rules)
 * 5) Baltic_States_notice_board (Search result, Log, Rules)
 * 6) WikiProject_Lithuania (Search result, Log, Rules)
 * 7) Portal:Georgia (country)/New article announcement (Search result, Log, Rules)
 * 8) Portal:Armenia/New_article_announcements (Search result, Log, Rules)
 * 9) Portal:Azerbaijan/New article announcements (Search result, Log, Rules)
 * 10) New articles (Australia) (Search result, Log, Rules)
 * 11) WikiProject Turkey/New article announcements (Search result, Log, Rules)
 * 12) Iranian_Wikipedians%27_notice_board (Search result, Log, Rules)
 * 13) Portal:Romania/New article announcements (Search result, Log, Rules)
 * 14) New articles (New Zealand) (Search result, Log, Rules)
 * 15) Swedish Wikipedians' notice board/New articles (Search result, Log, Rules)
 * 16) WikiProject_Assyria (Search result, Log, Rules)
 * 17) Africa-related regional notice board/New articles (Search result, Log, Rules)
 * 18) WikiProject Greece/New articles (Search result, Log, Rules)
 * 19) WikiProject China/New articles (Search result, Log, Rules)
 * 20) rather pathetic "Bad list" (Search result, Log, Rules)
 * 21) even more pathetic "Good List" (Search result, Log, Rules)
 * 22) Portal:Karnataka/New Pages (Search result, Log, Rules)
 * 23) WikiProject Finland (Search result, Log, Rules)
 * 24) WikiProject Netherlands (Search result, Log, Rules)
 * 25) WikiProject Albania (Search result, Log, Rules)
 * 26) Portal:Cricket/New Articles (Search result, Log, Rules)
 * 27) WikiProject_Czech_Republic/New_article_announcements (Search result, Log, Rules)
 * 28) Portal:Hungary (Search result, Log, Rules)
 * 29) WP:PLT (Search result, Log, Rules)
 * 30) WikiProject_Bulgaria (Search result, Log, Rules)
 * 31) WikiProject France/New article announcements (Search result, Log, Rules)
 * 32) Portal:Gardening (Search result, Log, Rules)
 * 33) WP:PLANTS (Search result, Log, Rules)
 * 34) Portal:Literature (Search result, Log, Rules)
 * 35) Portal:Italy (Search result, Log, Rules)
 * 36) Law articles(Search result, Log, Rules)
 * 37) WikiProject Military history/New articles (Search result, Log, Rules)
 * 38) Portal:Film (Search result, Log, Rules)
 * 39) WP:WPE&R (Search result, Log, Rules)
 * 40) Portal:Chemistry (Search result, Log, Rules)
 * 41) WikiProject Sheffield/New articles (Search result, Log, Rules)
 * 42) WP:ARTH (Search result, Log, Rules)
 * 43) WikiProject Energy (fossil fuels) (Search result, Log, Rules)
 * 44) WikiProject Architecture (Search result, Log, Rules)
 * 45) Conflict of interest/Noticeboard (Search result, Log, Rules)
 * 46) WikiProject Opera (Search result, Log, Rules)
 * 47) WikiProject_Ballet (Search result, Log, Rules)
 * 48) WikiProject hip hop (Search result, Log, Rules)
 * 49) WikiProject Albums (Search result, Log, Rules)
 * 50) WikiProject Eastern Orthodoxy (Search result, Log, Rules)
 * 51) WikiProject Trains (Search result, Log, Rules)
 * 52) WP:EDUCATION (Search result, Log, Rules)
 * 53) Hydrology (Search result, Log, Rules)
 * 54) WikiProject Israel (Search result, Log, Rules)
 * 55) WikiProject Energy (nuclear) (Search result, Log, Rules)
 * 56) WikiProject Bridges (Search result, Log, Rules)
 * 57) WikiProject Islam (Search result, Log, Rules)
 * 58) WikiProject California (Search result, Log, Rules)
 * 59) WikiProject Southern California (Search result, Log, Rules)
 * 60) WikiProject Microbiology (Search result, Log, Rules)
 * 61) Portal:Cooking (Search result, Log, Rules)
 * 62) WikiProject Philosophy (Search result, Log, Rules)
 * 63) Rules testing (Search result, Log, Rules)
 * 64) WikiProject Alabama (Search result, Log, Rules)
 * 65) WikiProject Alaska (Search result, Log, Rules)
 * 66) WikiProject Arizona (Search result, Log, Rules)
 * 67) WikiProject Arkansas (Search result, Log, Rules)
 * 68) WikiProject Colorado (Search result, Log, Rules)
 * 69) WikiProject Connecticut (Search result, Log, Rules)
 * 70) WP:WPDE (Search result, Log, Rules)
 * 71) WikiProject Florida (Search result, Log, Rules)
 * 72) WikiProject Georgia (U.S. state) (Search result, Log, Rules)
 * 73) WikiProject Hawaii/New articles (Search result, Log, Rules)
 * 74) WikiProject Idaho (Search result, Log, Rules)
 * 75) WikiProject Illinois (Search result, Log, Rules)
 * 76) WikiProject Indiana (Search result, Log, Rules)
 * 77) WikiProject Iowa (Search result, Log, Rules)
 * 78) WikiProject Kansas (Search result, Log, Rules)
 * 79) WikiProject Kentucky (Search result, Log, Rules)
 * 80) WikiProject Louisiana (Search result, Log, Rules)
 * 81) Maine (Search result, Log, Rules)
 * 82) WikiProject Maryland (Search result, Log, Rules)
 * 83) WikiProject Massachusetts (Search result, Log, Rules)
 * 84) WikiProject Michigan (Search result, Log, Rules)
 * 85) WikiProject Minnesota (Search result, Log, Rules)
 * 86) WikiProject Mississippi (Search result, Log, Rules)
 * 87) WikiProject Missouri (Search result, Log, Rules)
 * 88) WikiProject Montana (Search result, Log, Rules)
 * 89) WikiProject Nebraska (Search result, Log, Rules)
 * 90) User:Warlordjohncarter/WikiProject Nevada (Search result, Log, Rules)
 * 91) WikiProject New Hampshire (Search result, Log, Rules)
 * 92) WikiProject New Jersey (Search result, Log, Rules)
 * 93) New Mexico (Search result, Log, Rules)
 * 94) WikiProject New York (Search result, Log, Rules)
 * 95) WikiProject North Carolina (Search result, Log, Rules)
 * 96) WikiProject North Dakota (Search result, Log, Rules)
 * 97) WikiProject Ohio (Search result, Log, Rules)
 * 98) WikiProject Oklahoma (Search result, Log, Rules)
 * 99) WikiProject Oregon (Search result, Log, Rules)
 * 100) WikiProject Pennsylvania (Search result, Log, Rules)
 * 101) Rhode Island (Search result, Log, Rules)
 * 102) WikiProject South Carolina (Search result, Log, Rules)
 * 103) WikiProject South Dakota (Search result, Log, Rules)
 * 104) WikiProject Tennessee (Search result, Log, Rules)
 * 105) WikiProject Texas (Search result, Log, Rules)
 * 106) WikiProject Utah (Search result, Log, Rules)
 * 107) WikiProject Vermont (Search result, Log, Rules)
 * 108) WikiProject Virginia (Search result, Log, Rules)
 * 109) WikiProject Washington (Search result, Log, Rules)
 * 110) WikiProject West Virginia (Search result, Log, Rules)
 * 111) WikiProject Wisconsin (Search result, Log, Rules)
 * 112) User:Badbilltucker/WikiProject Wyoming (Search result, Log, Rules)
 * 113) WP:WWII (Search result, Log, Rules)
 * 114) Portal:Cold War (Search result, Log, Rules)
 * 115) Portal:Switzerland (Search result, Log, Rules)
 * 116) New articles (Aircraft) (Search result, Log, Rules)
 * 117) Chile-related regional notice board/New articles (Search result, Log, Rules)
 * 118) WikiProject Music (Search result, Log, Rules)
 * 119) WikiProject Austria (Search result, Log, Rules)
 * 120) Liechtenstein (Search result, Log, Rules)
 * 121) Academic links (Search result, Log, Rules)
 * 122) WikiProject_Latvia (Search result, Log, Rules)
 * 123) WikiProject_Estonia (Search result, Log, Rules)
 * 124) WikiProject Iceland (Search result, Log, Rules)
 * 125) WikiProject NASCAR (Search result, Log, Rules)
 * 126) WikiProject Indonesia (Search result, Log, Rules)
 * 127) Wikiproject LGBT (Search result, Log, Rules)
 * 128) WikiProject Caribbean (Search result, Log, Rules)
 * 129) Scottish Wikipedians' notice board/New articles (Search result, Log, Rules)
 * 130) Africa-related regional notice board/New articles/Cameroon (Search result, Log, Rules)
 * 131) WikiProject Serbia (Search result, Log, Rules)
 * 132) SGpedians' notice board (Search result, Log, Rules)
 * 133) Portal:Kurdistan (Search result, Log, Rules)
 * 134) WikiProject Cryptography/New articles (Search result, Log, Rules)
 * 135) WikiProject Syria (Search result, Log, Rules)
 * 136) WikiProject Peru/New articles (Search result, Log, Rules)
 * 137) WikiProject Korea (Search result, Log, Rules)
 * 138) WikiProject Logic (Search result, Log, Rules)
 * 139) WikiProject_Organizations (Search result, Log, Rules)
 * 140) Portal:Energy (Search result, Log, Rules)
 * 141) Portal:Energy (Search result, Log, Rules)
 * 142) Libertarianism (Search result, Log, Rules)
 * 143) Portal:U.S. Roads (Search result, Log, Rules)
 * 144) Nazi Germany (Search result, Log, Rules)
 * 145) WikiProject Ships/New articles (Search result, Log, Rules)
 * 146) WikiProject Japan (Search result, Log, Rules)
 * 147) WikiProject Mexico (Search result, Log, Rules)
 * 148) WikiProject Linguistics (Search result, Log, Rules)
 * 149) WikiProject Geology (Search result, Log, Rules)
 * 150) WikiProject Meteorology (Search result, Log, Rules)
 * 151) WikiProject Astronomy (Search result, Log, Rules)
 * 152) WikiProject Math (Search result, Log, Rules)
 * 153) WikiProject Medicine (Search result, Log, Rules)
 * 154) WikiProject Physics (Search result, Log, Rules)
 * 155) WikiProject Fungi (Search result, Log, Rules)
 * 156) WikiProject Antarctica (Search result, Log, Rules)
 * 157) WikiProject Argentina (Search result, Log, Rules)
 * 158) WikiProject Belgium (Search result, Log, Rules)
 * 159) WikiProject Brazil (Search result, Log, Rules)
 * 160) WikiProject Canada (Search result, Log, Rules)
 * 161) WikiProject India (Search result, Log, Rules)
 * 162) WikiProject Ireland (Search result, Log, Rules)
 * 163) WikiProject Norway (Search result, Log, Rules)
 * 164) WikiProject Portugal (Search result, Log, Rules)
 * 165) WikiProject South Africa (Search result, Log, Rules)
 * 166) WikiProject Spain (Search result, Log, Rules)
 * 167) WikiProject United States (Search result, Log, Rules)
 * 168) WikiProject United Kingdom (Search result, Log, Rules)
 * 169) Portal:Chechnya (Search result, Log, Rules)
 * 170) WikiProject Germany (Search result, Log, Rules)
 * 171) 12th century (Search result, Log, Rules)
 * 172) 13th century (Search result, Log, Rules)
 * 173) 14th century (Search result, Log, Rules)
 * 174) 15th century (Search result, Log, Rules)
 * 175) 16th century (Search result, Log, Rules)
 * 176) 17th century (Search result, Log, Rules)
 * 177) 18th century (Search result, Log, Rules)
 * 178) 19th century (Search result, Log, Rules)
 * 179) Sculpture (Search result, Log, Rules)
 * 180) Painting (Search result, Log, Rules)
 * 181) WikiProject Classical Greece and Rome (Search result, Log, Rules)
 * 182) Ancient Near East (Search result, Log, Rules)
 * 183) Middle Ages (Search result, Log, Rules)
 * 184) Prehistory (Search result, Log, Rules)
 * For announcements of new feeds use key
 * Master configuration
 * 1) Prehistory (Search result, Log, Rules)
 * For announcements of new feeds use key
 * Master configuration

How to add feeds to the new article bot
Yes, you can add new feeds for the bot yourself. Here I describe how to do it. It is a little bit tricky, so if you unsure what you are doing you better ask the bot's owner

Steps to create bot feed:

Select a name for the new feed
The name should not be used for any other feeds. It should not contain spaces and other non-letter symbols. It should be disambigous. E.G. UK is not good: is it Ukraine or United Kingdom. It should be reasonably short and you should be able to spell it uniformly through out a few step. E.g. Pneumonoultramicroscopicsilicovolcanoconiosis is not a good name.

Announce the new feed on this page
Put the template FeedName at the bottom of the  section of this page. Here the FeedName stand for the name you have selected and the Portal Name is the name of a Portal page with the feed (Portal:### or Wikipedia:WikiProject ###). The feed would create redlinks for the Rules, Search Results and Log of the new feed. The Portal Name will be linked automatically, so there is no need to put it in square brackets.

Compile the rules
Well this is the most tricky part: You have to provide some rules for the bot. Each rule has some numerical value (might be negative). All the values from the rules applicable to the article are added together to get a score. If a rule matches the lead of the article the points for the rule are doubled. If the final score is above the threshold the article is in.

Both threshold and rules a written in the rules page. One line per rule (and one line per threshold).

Threshold is specified as
 * @@number@@ where the number is the threshold (duh). If omitted the default threshold is 10 points. E.g.
 * @@14@@

means 14 points threshold

Rules has format:
 * Points /Pattern that we should have/, /Inhibitor1/ , /Inhibitor2/ , /Inhibitor3/ ...

The Points is the number of points for the rule. If omitted than by default every rule costs 10 points. Do not forget that if the lead is matched points are doubled. Pattern that we should have is a Regular expression as in Perl that should be matched in the text of an article so to rule fired. The inhibitors are the patterns that "inhibit" the rule. Making it inactive even if the Pattern that we should have is matched. E.g when creating the rules for the Russia related articles, I want to include Saint Petersburg - the second largest city in Russia. On the other hand many American articles mention St. Petersburg, Florida and other American cities. Thus, I could want to decrease the value of the rule and inhibit it completely if Florida mentioned:
 * 7 /Petersburg/, /Florida/

In general the names of a country or of its capital are often mentioned in unrelated articles (e.g. somebody traveled there, etc.) But lead rarely mentions unrelated articles, thus usually we would want to have the name of the country to be below the threshold but above the half-threshold.

Categories are usually friends of the bot (if only all the new article writers used them!) so they deserve the cost above the threshold.

Note that \W (uppercase only) is needed to mark a word boundary. Without this by default a rule can match any part of a word.

The following symbols {}[]^$.|*+?\ must be preceded by \ to be taken literally. Otherwise they have special functions: * - wildcard, x? - optionality of the preceding symbol or bracketed string, (xy) - scope marking (e.g. for the purpose of | or ?), (x|y) or [xy] - alternatives, etc.

For other inspirations look in the rules for similar newsfeeds.

There are a few magical words in the rule file:
 * $USER substitutes into the user name
 * $SIZE>value / $SIZE < value : if the pattern true then it is matched.

Inform the bot about the new job for it
Put into the bottom User:AlexNewArtBot/Master a new line with the name of the newsfeed (the same as the name of the rules file after the /).

If the bot is suppose to feed new articles into a board, we usually do not want the bot to post the articles already published on the board. We give the bot the name of such a board by putting =>Board name after the newsfeed name

And that is all the next time the bot works it would work on your feed