Last modified: 2014-03-17 23:20:08 UTC
Will Wiki add support for App-Indexing? This will allow the Google search result of the wiki pages to include a deeplink into the application directly. This can be done fairly easily by adding one line into the html. <link rel="alternate" href="android-app://<android-package-name>/http/url"/> More details here: https://developers.google.com/app-indexing/webmasters/details
Which "application" does this refer to?
For wikipedia, for example, it would be wikipedia's app. ( org.wikipedia ). It should be configurable, so that it can point to the site's application.
Google might already be special casing Wikipedia - we are included in the list of apps that work right out at http://android-developers.blogspot.in/2013/10/making-your-app-content-more-accessible.html although I had no idea that was coming.
Yes, Wikipedia app has been special cased. Adding support onto wikimedia would ensure that deeplinking is supported directly from the data provided within the webpage annotations. It should also make it easier for other users of wikimedia to benefit from app-indexing.
Change 112921 had a related patch set uploaded by Denny Vrandecic: (bug 60537) Adds a deep link to a mobile app if so configured https://gerrit.wikimedia.org/r/112921
Do we need to put this link only on mobile site or on desktop too?
It should be put into both mobile and desktop page. As this functionality is for mobile environment, having this information on mobile pages is important. It is also important to have this on the desktop pages since the desktop URLs are often cases the canonical URLs.
Change 112921 had a related patch set uploaded by Brion VIBBER: Adds a deep link to a mobile app if so configured https://gerrit.wikimedia.org/r/112921
Change 112921 merged by jenkins-bot: Adds a deep link to a mobile app if so configured https://gerrit.wikimedia.org/r/112921
Change 118220 had a related patch set uploaded by Catrope: Set up configuration for App indexing https://gerrit.wikimedia.org/r/118220
Change 118220 merged by jenkins-bot: Set up configuration for App indexing https://gerrit.wikimedia.org/r/118220
Ok it's on. :D Ji, Denny, please confirm it's looking correct on your end! (Note some pages may be cached still, so try logging in if you don't see the links in the HTML source.)