Acceptance Criteria
- Set up a staging environment for iOS (see docs)
- Implement hooks to add meta tags to page HTML (see below)
- "Deploy" changes to our staging environment and test it with the app
Markup Spec
Render Universal Links markup on pages in the main namespace (e.g. /wiki/Cat, not /wiki/File:Foobar).
Markup should be rendered with the following "template" and added to the page <head>
<meta property="al:ios:app_name" content="Wikipedia Mobile"> <meta property="al:ios:app_store_id" content="324715238"> <meta property="al:ios:url" content="<page>">
Where <page> is an absolute URL to the current page (e.g. https://en.wikipedia.org/wiki/Cat).
See a similar patch for Android here:
https://gerrit.wikimedia.org/r/#/c/112921/