Jump to content

User:AnomieBOT/TFA title data

From Wikipedia, the free encyclopedia

AnomieBOT II maintains data about the titles of past and near-future Today's featured articles as subpages of Template:TFA title, for use by that template and by external tools.

Dated subpages

[edit]

Dated subpages such as Template:TFA title/November 5, 2024 contain only the title, no other wikitext.

These have been maintained since Template:TFA title/May 20, 2010, with occasional gaps due to outages or parsing issues until October 19, 2016 when the bot started actively notifying humans when it was unable to create the page.

On the rare occasions where more than one page is featured, the bot will most likely either not have listed anything or will have listed the first title. Should that be done again in the future, the bot will most likely either not list anything or will list the last title, depending on how the page winds up being formatted. Do ping Anomie in a discussion if you intend to do another like this in the future.

Note past title pages are not updated for page moves or the like, or monitored for vandalism. They are, however, blanket-protected using MediaWiki:Titleblacklist so only editors with appropriate advanced rights can edit them. Such editors may make corrections if appropriate following the prescribed format.

A group edit notice for these pages exists at Template:Editnotices/Group/Template:TFA title.

JSON data

[edit]

The bot also maintains a JSON page at Template:TFA title/data.json listing all TFA titles in JSON format. Titles are stored as an object under the "titles" key, keyed by date in ISO "YYYY-MM-DD" format. The value is normally a string representing the title; for the rare cases when multiple titles have been featured, the value is an array of strings.

Note past entries are not updated for page moves or the like. Editors with the ability to edit the page may make corrections following the prescribed format.

Should we have a new instance of multiple pages being featured, the bot will likely either list nothing or list only the last title, depending on how the page winds up being formatted. Do ping Anomie in a discussion if you intend to do another like this in the future.

An edit notice for this page exists at Template:Editnotices/Page/Template:TFA title/data.json.