Not a lot of information here about how this can be used on a non-Wikimedia project, even though references to this page seem to imply that it can be used on such a project (See the notice on Extension:TextExtracts). I'm trying to figure out how to automatically create description meta tags on my wiki for when pages are linked, and this site always seems to point me back here, but with no information on how to proceed.
Topic on Talk:Page Content Service
The PCS doesn't provide the meta tags on https://en.wikipedia.org/wiki/Foobar, it provides https://en.wikipedia.org/api/rest_v1/page/mobile-html/Foobar and https://en.wikipedia.org/api/rest_v1/page/summary/Foobar and similar. To a first approximation, none of the code is re-usable outside of Wikimedia, though it could probably be generalised at a cost of performance.
Ok, so then this doesn't provide the description meta tags, correct? And even if it did, the Page Content Service isn't usable outside Wikimedia anyways, right? Perhaps that should be clarified then. Thanks anyways!
Correct.