Jump to content

Wikipedia:WikiProject Olympics/Paralympics/New articles

From Wikipedia, the free encyclopedia
See New articles by topic.

This site is used by the Paralympics task force of the Olympics WikiProject.

Recently created Paralympics-related articles can be found here. You can nominate the best new articles at Template talk:Did you know so Wikipedia can highlight them on the main page.

Current bot results

[edit]

The following articles have been identified by AlexNewArtBot as potentially being within the scope of the project, based on the Paralympic User:AlexNewArtBot/Paralympic. It is likely that many are false positives; please examine the User:AlexNewArtBot/ParalympicLog for more information. Please scan through the backlog in the archives for more articles.

This list was generated from these rules. Questions and feedback are always welcome! The search is being run daily with the most recent ~14 days of results. Note: Some articles may not be relevant to this project.

Rules | Match log | Results page (for watching) | Last updated: 2024-11-22 21:48 (UTC)

Note: The list display can now be customized by each user. See List display personalization for details.















Archives

[edit]

Adding feeds to the new article bot

[edit]

The following is Alex Bakharev's rules for adding feeds to the new article bot. Contact him for more information. Step 1, 2 and 4 have been set up for the Paralympics feed, and do not need to be changed, however step 3 explains how you can change the rule set for the bot in regards to Paralympics related articles.

Step 1 - select a name for the new feed

[edit]

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.

Done . The name for this feed is Paralympic

Step 2 - announce the new feed

[edit]

Put the template {{Subst:User:AlexNewArtBot/NewFeed|FeedName|Portal Name}} at the bottom of the #Currently supported section of User:AlexNewArtBot. 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.

Done . It can be found under User:AlexNewArtBot#Sports and games.

Step 3 - compile the rules

[edit]

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 ommited 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 Saint-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 travelled 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.

Done , however this part can be edited. If you want to change the rule file, you can do it at User:AlexNewArtBot/Paralympic.

Step 4 - inform the bot about the new job

[edit]

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

The next time the bot works it would work on your feed.

Done .