User talk:HotArticlesBot/Config.json

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Instructions for creating a new 'Hot articles' feed on a WikiProject page

[edit]

In answer to the question (immediately above) on how to set up a simple 'Hot article' feed, here are some basic instructions:

  • Go to your WikiProjects's main page (e.g. WP:WikiProject Derbyshire) and create a blank sub-page to receive your project's hot article feed. (a bot will populate it daily, once activated, at around 07:50 UTC) As it's unusual to create and save a blank page, you'll be prompted whether you really want to do this. You do!
Example 1: WP:WikiProject Derbyshire/Hot articles
Example 2: WP:WikiProject Mountains/Hot articles
  • Go to User:HotArticlesBot and follow the link in the 'Subscription' section to then go to User:HotArticlesBot/Config.json
  • That page shows you all actively subscribed WikiProjects with Hot Article feeds (latest at the bottom), but you cannot edit it yourself as it is a fully protected page. But note the six entries for each Project feed. You will need to modify these for your own Project. These entries are explained in the row labelled 'description' at the top of the table.
  • Now go to the Talk page at User_talk:HotArticlesBot/Config.json, click New Topic, and place an 'edit request', using the edit request template ({{edit fully-protected}}. The template should be completed so that it looks as follows: {{edit fully-protected|User:HotArticlesBot/Config.json|answered=no}}
Below the edit request, please your precise text you want adding to the page at User:HotArticlesBot/Config.json. You can use a previous edit request to help you. The text you add might look like this:
   "WikiProject Derbyshire": {
       "Category": "WikiProject Derbyshire articles",
       "Page": "Wikipedia:WikiProject Derbyshire/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 5,
       "Red": 10
   },

These settings will give you a table showing 10 articles, the number of days to survey (max 7) for edits made to those articles in that WikiProject's category over the last seven days, and the cut-off point between orange and red background text for the number of edits to include. A popular topic would probably choose a much higher number than a fairly obscure one. You will probably also need to create a new WP:Category for your articles to be put into Category:WikiProject xxxxxxxxx articles where xxxxxxxxx is the name of the relevant Project.

Example 1: Category:WikiProject Derbyshire articles -had to be newly created
Example 2: Category:WikiProject Mountains articles -note that this category previously existed for this Project, yet as at the time of this post, is empty.

It may take a few days for your edit request to be implemented, then a further 24 hours for the bot to populate the 'hot article' page you created.

  • To insert that feed on the relevant Wikiproject page, just add the template in an appropriate section, either using its full WP: address or, if it is a sub-page directly under the Project page, use {{/Hot articles}} to insert it. Example 1:
20 edits Pinxton Castle
11 edits List of tramcars of the National Tramway Museum
8 edits Lancashire, Derbyshire and East Coast Railway
6 edits John Hurt
6 edits Derby County F.C.
5 edits Swanwick Hall School
5 edits Tony Benn
5 edits Derby
5 edits River Trent
5 edits National Tramway Museum

These are the articles that have been edited the most within the last seven days. Last updated 24 July 2024 by HotArticlesBot.

Note that I can't advise on setting up a Hot article feed where one WikiProject is a dependant of another with a shared template - that's beyond me at the present time. But see this thread above for some additional information on that]. Nick Moyes (talk) 18:38, 22 January 2020 (UTC)[reply]

Thanks for this, Nick Moyes -- Silly question, does the bot populate the category for all the WP articles, or do you have to do this yourself somehow? Thanks, Espresso Addict (talk) 11:05, 17 November 2020 (UTC)[reply]

Protected edit request on 4 August 2023

[edit]

I'd like to subscribe to get updates for WP:WikiProject Phoenicia. "WikiProject Phoenicia": {

       "Category": "WikiProject Phoenicia",
       "Page": "Wikipedia:WikiProject Phoenicia/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 10,
       "Red": 20
   }, el.ziade (talkallam) 09:08, 4 August 2023 (UTC)[reply]
 Done (diff), "Category" parameter should be "WikiProject Phoenicia articles". DanCherek (talk) 23:23, 5 August 2023 (UTC)[reply]
@DanCherek Than you. el.ziade (talkallam) 07:41, 6 August 2023 (UTC)[reply]

Protected edit request on 14 August 2023

[edit]

Request to add Wikipedia:WikiProject New York City/Housing and Tenant Rights Task Force to the HotArticlesBot list with the following criteria (I've made the page for the bot to fill and checked the category is correct):
"WikiProject Housing and Tenant Rights Task Force":{

       "Category": "Housing and Tenant Rights in New York Task Force",
       "Page": "Wikipedia:WikiProject New York City/Housing and Tenant Rights Task Force/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 10,
       "Red": 20

}, Thank you very much! -LoomCreek (talk) 05:48, 14 August 2023 (UTC)[reply]

 Done First time doing this, feel free to yell at me if I screwed something up. * Pppery * it has begun... 16:28, 14 August 2023 (UTC)[reply]
@Pppery It seems like it probably worked as the template seems to recognize it! Thanks so much for the help.
I'll have to update you once the bot has done its first change of page/first statistics, then we'll know for sure. LoomCreek (talk) 20:44, 14 August 2023 (UTC)[reply]
It worked! Thanks so much LoomCreek (talk) 08:35, 15 August 2023 (UTC)[reply]

Protected edit request on 23 August 2023

[edit]

We want to add this bot on our Wikiproject. I'd like to subscribe to get updates for Wikiproject Chenab Valley. "WikiProject Chenab Valley": {

       "Category": "WikiProject Chenab Valley",
       "Page": "Wikipedia:WikiProject Chenab Valley/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 10,
       "Red": 20
   }, 

❯❯❯ Chunky aka Al Kashmiri (✍️) 08:13, 23 August 2023 (UTC)[reply]

 Not done That WikiProject isn't set up correctly for HotArticlesBot; you need, per the documentation, An existing category that directly includes all the pages that you want evaluated, and Category:WikiProject Chenab Valley is practically empty. * Pppery * it has begun... 19:21, 23 August 2023 (UTC)[reply]
Sorry, there is Category: Chenab Valley which have all the pages related to this WikiProject. Consider this category. If possible. Thank you. ❯❯❯ Chunky aka Al Kashmiri (✍️) 23:17, 28 August 2023 (UTC)[reply]
Pinging @Pppery ❯❯❯ Chunky aka Al Kashmiri (✍️) 11:11, 31 August 2023 (UTC)[reply]
Looking at the source code of the bot, that won't work - it requires the category contain talk pages. You need to create Category:WikiProject Chenab Valley articles, modify the template to populate it, and then re-request here. * Pppery * it has begun... 00:09, 1 September 2023 (UTC)[reply]

Protected edit request on 9 September 2023

[edit]

Add WikiProject Antigua and Barbuda. Thank you.

   "WikiProject Antigua and Barbuda": {
       "Category": "WikiProject Antigua and Barbuda articles",
       "Page": "Wikipedia:WikiProject Antigua and Barbuda/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 10,
       "Red": 20
   },

CROIXtalk 00:57, 10 September 2023 (UTC)[reply]

 Not done It looks like WikiProject Antigua and Barbuda is already present. * Pppery * it has begun... 01:31, 10 September 2023 (UTC)[reply]
@Pppery It seems that the page title in the code is incorrect. It says WikiProject Antigua and Barbuda/Hot articles rather than Wikipedia:WikiProject Antigua and Barbuda/Hot articles. CROIXtalk 00:13, 21 September 2023 (UTC)[reply]
 Fixed that. * Pppery * it has begun... 00:30, 21 September 2023 (UTC)[reply]

Protected edit request on 5 October 2023

[edit]

Please add:

"WikiProject South Dakota": {
       "Category": "South Dakota articles",
       "Page": "Wikipedia:WikiProject South Dakota/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 5,
       "Red": 10
 }, Mjquinn_id (talk) 20:34, 5 October 2023 (UTC)[reply]
Category should just be "South Dakota"... Sorry... Mjquinn_id (talk) 20:38, 5 October 2023 (UTC)[reply]
 Not done Please see the documentation: An existing category that directly includes all the pages that you want evaluated. Note that pages in subcategories will not be included. Category:South Dakota has most of its content in subcategories so isn't a valid listing. * Pppery * it has begun... 23:35, 5 October 2023 (UTC)[reply]

Protected edit request on 19 October 2023

[edit]

Replace:

   "WikiProject Australian politics": {
       "Category": "WikiProject Australian politics articles",
       "Page": "Wikipedia:WikiProject Australian politics/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 11,
       "Red": 16
   },

With:

   "WikiProject Australian politics": {
       "Category": "WikiProject Australian politics articles",
       "Page": "Wikipedia:WikiProject Australian politics/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 25,
       "Red": 40
   }, 

––– GMH MELBOURNE 08:06, 19 October 2023 (UTC)[reply]

 Done * Pppery * it has begun... 22:40, 19 October 2023 (UTC)[reply]

Protected edit request on 24 October 2023

[edit]

Please add WikiProject Lebanon for hot articles updates:

"WikiProject Lebanon": {
       "Category": "WikiProject Lebanon",
       "Page": "Wikipedia:WikiProject Lebanon/Hot articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 10,
       "Red": 20
   }

el.ziade (talkallam) 22:09, 24 October 2023 (UTC)[reply]

 Done * Pppery * it has begun... 01:41, 26 October 2023 (UTC)[reply]

Revise bats task force

[edit]

Template shuffling happened earlier this year in the Bats Task Force, category should say Category:Bats task force articles, "Category:Bats work group articles" was deleted without redirect in November. Enwebb (talk) 02:18, 8 December 2023 (UTC)[reply]

 Done * Pppery * it has begun... 02:13, 9 December 2023 (UTC)[reply]

Fossorials

[edit]

I want to add WP:WikiProject Fossorials for Hot Articles.

"WikiProject Fossorials": {
      "Category": "All WikiProject Fossorials pages",
      "Page": "Wikipedia:WikiProject Fossorials/Hot articles",
      "Articles": 10,
      "Days": 7,
      "Orange": 10,
      "Red": 20
  }

UserMemer (chat) Tribs 00:09, 23 December 2023 (UTC)[reply]

 Done * Pppery * it has begun... 01:11, 23 December 2023 (UTC)[reply]

Protected edit request on 24 December 2023

[edit]

"WikiProject Yemen": { "Category": "WikiProject Yemen articles", "Page": "Wikipedia:WikiProject Yemen/Hot articles", "Articles": 10, "Days": 7, "Orange": 5, "Red": 10 },

add the source code above Abo Yemen 16:42, 24 December 2023 (UTC)[reply]

 Done * Pppery * it has begun... 21:53, 24 December 2023 (UTC)[reply]

Protected edit request on 22 January 2024

[edit]

Please add Wikipedia:WikiProject Classical music for hot articles updates:

"WikiProject Classical music": {
       "Category": "WikiProject Classical music articles",
       "Page": "Wikipedia:WikiProject_Classical_music/Hot_articles",
       "Articles": 10,
       "Days": 7,
       "Orange": 5,
       "Red": 15
   }

Gor1995 𝄞 15:14, 22 January 2024 (UTC)[reply]

 Done * Pppery * it has begun... 21:16, 22 January 2024 (UTC)[reply]

Protected edit request on 31 January 2024

[edit]
"WikiProject Color": {
      "Category": "All WikiProject Color pages",
      "Page": "Wikipedia:WikiProject Color/Hot articles",
      "Articles": 10,
      "Days": 14,
      "Orange": 10,
      "Red": 25
  }

Curran919 (talk) 12:31, 31 January 2024 (UTC)[reply]

 Done * Pppery * it has begun... 03:12, 2 February 2024 (UTC)[reply]
I see the bot hasn't popped by our project yet (yet most recent ones get it the first day after adding to the config), is there something wrong with my code here? Curran919 (talk) 20:08, 5 February 2024 (UTC)[reply]
The problem is that Category:All WikiProject Color pages doesn't exist. * Pppery * it has begun... 15:58, 8 February 2024 (UTC)[reply]
I also changed Days from 14 to 7 since that seems to be the limit listed in the documentation, as a second guess as to what is going wrong. * Pppery * it has begun... 18:50, 9 February 2024 (UTC)[reply]

Protected edit request 28 Februray 2024

[edit]

Please edit the following:

- edit (modify) orange/red paramenters for WikiProject Classical music

- add WikiProject Composers and WikiProject Opera

Thanks!

"WikiProject Classical music": {

      "Category": "WikiProject Classical music articles",
      "Page": "Wikipedia:WikiProject_Classical_music/Hot_articles",
      "Articles": 10,
      "Days": 7,
      "Orange": 20,
      "Red": 40
  }


"WikiProject Composers": {

      "Category": "WikiProject Composers articles",
      "Page": "Wikipedia:WikiProject_Composers/Hot_articles",
      "Articles": 10,
      "Days": 7,
      "Orange": 20,
      "Red": 40
  }


"WikiProject Opera": {

      "Category": "WikiProject Opera articles",
      "Page": "Wikipedia:WikiProject_Opera/Hot_articles",
      "Articles": 10,
      "Days": 7,
      "Orange": 20,
      "Red": 40
  } Gor1995 𝄞 15:24, 28 February 2024 (UTC)[reply]
Done. Jo-Jo Eumerus (talk) 08:27, 29 February 2024 (UTC)[reply]

Protected edit request 15 April 2024

[edit]

Please add the following:

  "WikiProject Scientology": {
      "Category": "WikiProject Scientology articles",
      "Page": "Wikipedia:WikiProject Scientology/Hot articles",
      "Articles": 10,
      "Days": 7,
      "Orange": 5,
      "Red": 10
  },

  ▶ I am Grorp ◀ 08:21, 15 April 2024 (UTC)[reply]

 Done Happymelon 12:52, 15 April 2024 (UTC)[reply]