Extension:MobileFrontend/WikiGrok

WikiGrok is an experimental feature in the MobileFrontend Extension that prompts a user to confirm metadata information that is then stored in Wikidata (https://www.wikidata.org).

If a new user is in Alpha mode, and scrolls past the lead section of an article, a drawer appears at the bottom of the screen asking them if they want to participate. If they choose 'Yes', it loads a question about the article.

Preliminary version
The first version will only load on articles that are already marked as 'instance of human' in wikidata. On those articles, it will look at the links in the links table, and find the first link that belongs to the 'occupation' property tree (determined via WikidataQuery API). It will then ask the user if the subject of the article (page title) was ever an. If the user answers 'yes', the occupation property will be set in Wikidata via API.