I would guess they are using the extracts. It returns pretty clean html with the content.
For example: https://en.wikipedia.org/w/api.php?action=query&prop=extracts&format=jsonfm&exintro=&titles=plebeian&redirects= You can also request plain text https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&prop=extracts&format=json&exintro=&explaintext=&titles=plebeian&redirects= On Fri, Jun 5, 2015 at 5:27 PM, Adam Baso <ab...@wikimedia.org> wrote: > Thanks. Want me to reach out to Amazon about that crash condition so they > can patch it? > > > On Friday, June 5, 2015, Dmitry Brant <dbr...@wikimedia.org> wrote: > >> +mobile-l >> >> >> On Fri, Jun 5, 2015 at 11:23 AM, Adam Baso <ab...@wikimedia.org> wrote: >> >>> Okay to move this to mobile-l? >>> >>> >>> On Friday, June 5, 2015, Brian Gerstle <bgers...@wikimedia.org> wrote: >>> >>>> While they strip out links/citations, they do preserve text formatting >>>> (italics & bold). >>>> >>>> On Fri, Jun 5, 2015 at 10:39 AM, Bernd Sitzmann <be...@wikimedia.org> >>>> wrote: >>>> >>>>> Nice find. I also like being able to swipe those cards left/right >>>>> between different information sources. Looks like depending on the >>>>> selected >>>>> words it's: Dictionary, Wikipedia, Translation >>>>> >>>>> On Thu, Jun 4, 2015 at 10:45 PM, Dmitry Brant <dbr...@wikimedia.org> >>>>> wrote: >>>>> >>>>>> I was using the Kindle app on the plane today, and I noticed a few >>>>>> interesting things, including this: >>>>>> >>>>>> device-2015-06-04-225651.png >>>>>> <https://docs.google.com/a/wikimedia.org/file/d/0BzcksMsMNpY1SzA3bHY4WF9hM1U/edit?usp=drive_web> >>>>>> >>>>>> When highlighting a word or phrase, the user is presented with a >>>>>> definition of the word from Wikipedia. The content is presented in a >>>>>> native >>>>>> component, with only the first section of text shown (all links, >>>>>> references, infoboxes, etc. are stripped out). (I wonder what API they're >>>>>> using?) >>>>>> >>>>>> It looks very similar to the link preview prototypes we've been >>>>>> developing in our apps, and it's very telling that the Kindle app has >>>>>> such >>>>>> a feature, since it helps emphasize the usefulness of this feature in any >>>>>> kind of "reader" app. Perhaps, in addition to link previews, we may also >>>>>> want to think about allowing users to highlight words and show >>>>>> definitions >>>>>> (from Wiktionary?), pronunciations, translations, etc... >>>>>> >>>>>> >>>>>> p.s. I was able to get the Kindle app to crash by clicking a link >>>>>> inside one of the Wikipedia "previews" that wasn't stripped out >>>>>> correctly. >>>>>> In other words, no app is safe from the edge cases of wikitext! >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> reading-wmf mailing list >>>>>> reading-...@lists.wikimedia.org >>>>>> https://lists.wikimedia.org/mailman/listinfo/reading-wmf >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> reading-wmf mailing list >>>>> reading-...@lists.wikimedia.org >>>>> https://lists.wikimedia.org/mailman/listinfo/reading-wmf >>>>> >>>>> >>>> >>>> >>>> -- >>>> EN Wikipedia user page: >>>> https://en.wikipedia.org/wiki/User:Brian.gerstle >>>> IRC: bgerstle >>>> >>> >>> _______________________________________________ >>> reading-wmf mailing list >>> reading-...@lists.wikimedia.org >>> https://lists.wikimedia.org/mailman/listinfo/reading-wmf >>> >>> >> > _______________________________________________ > Mobile-l mailing list > Mobile-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/mobile-l > >
_______________________________________________ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l