One of the Google search results for Wikipedia demo apps is the following interesting article: https://medium.freecodecamp.org/building-a-wikipedia-search-engine-project-4d84de3841d2. Something similar to the linked tutorial, here are a few ideas for demo app tutorials that @Martyav and I are planning on developing. All demo app tutorials when completed will be added to Template:API.
1. Editing bot
Demonstrate with the app how to make a bot edit or create a page and get help with repetitive tasks. The edit example will show how to add a template, post welcome message on talk pages, create a wiki table with an external data source or fix spelling error. Manual:Creating_a_bot exists, but the demo app will focus more specifically on Manual:Creating_a_bot#How_does_a_MediaWiki_bot_work and expand it with sample code. API modules to be used: API:Tokens + API:Login + API:Edit.
2. Featured articles reader
Build a feed reader for curated content such as featured articles, picture of the day, in the news, etc shown on most Wikimedia wiki’s homepage. There is an existing draft page from @Spage API:Showing_interesting_content that could be modified/ re-used: T108661.
API modules to be used: action=featuredfeed with params feed=featured for featured articles / feed=potd for picture of the day.
3. Article ideas generator
Suggest articles from Category:Wikipedia_requested_articles that don’t yet exist on English Wikipedia. The first version of this app exists here. It relied on API:Search and a hard-coded list of articles. To expand it, here is what the flow would be like and the modules to be used:
Use API:Categorymembers to get a list of 10 recent articles listed here:Category:Wikipedia_requested_articles.
Use API:Links to get the links on an article and API:Search to check for red links.
4. Nearby places viewer
Show nearby places in a gallery format, with each item containing location title, a little description, a thumbnail image, distance from current location, etc. There could be an option provided to sort the list by distance or pageviews. We could re-use/modify the resources in here:
5. Your edit contributions visualization
There are existing apps such as listen.hatnote.com that visualizes real time edits on Wikipedia. But, there isn’t an app yet that one can use to visualize their contributions on Wikipedia. A demo app around this might be interesting to have. We could use API:Usercontribs to get the edit contributions and get help from an external visualization library for the design part.
6. Featured article multiple choice quiz
Users can select from a pool of articles based on language and page category. The first line from a random featured article is displayed, with the title and image obscured. The correct title, and 3 incorrect titles from related articles, are displayed on screen. The user clicks, touches, or types their choice. If they are confused (not all featured articles have great first lines), they can ask for a hint, and get the second line. After they choose, the title and image are revealed, and they can click on any of the titles on screen to visit the page.