Hi!
We are working on the Wikispeech extension and have run into an issue on Swedish Wikipedia (svwp) where the page title DOM seems different both from the displayTitle returned by the API and from what we see on other wikis.
For example, if we query:
we get:
{"title":"Apa","pageid":3877894,"displaytitle":"<span class=\"mw-page-title-main\">Apa</span>"}}However, in the actual DOM on svwp, the title appears wrapped differently, for example:
<span lang="sv" dir="ltr"><span class="mw-page-title-main">Apa</span></span> + editsection spanWhat confuses us is that this seems to behave differently from other wikis we have tested, such as enwp, where the title DOM appears as the displayTitle structure.
Is there something specific about svwp that causes the page title DOM to be wrapped differently from other wikis, or has there been any updates regarding the structure?
Kind regards,