Jump to content

User:Chlod/Tools/Article Randomizer

From Wikipedia, the free encyclopedia
Article Randomizer
Original author(s)Chlod Alejandro
Developer(s)Contributors to the Article Randomizer project
Initial releaseApril 12, 2021; 3 years ago (2021-04-12)
Stable release
1.0.0 / April 12, 2020; 4 years ago (2020-04-12)
Repositoryhttps://github.com/ChlodAlejandro/enwiki-article-randomizer
Written inPHP
EngineApache HTTP Server, Zend Engine (PHP)
LicenseApache 2.0 License

The Article Randomizer (GAR or FAR) gets a random good article or featured article and displays it to the user. Due to CORS issues, randomization is done on the server side whereas article information is gathered on the client side. This project makes use of the Action API (through Special:RandomInCategory) and the REST API (through /page/<page>).

This attempts to mimic the randomizer found on the Wikipedia Android app.