Banners do not show up in mobile editor preview or new beta feature "wikitext editor"
Open, Stalled, HighPublic

Description

This impacts several projects including: Wikivoyages, cawiki, euwiki

Not sure why... but it would be useful for editing there :)

To reproduce:
Install WikidataPageBanner and MobileFrontend extension
Create a page "Test page" with text "{{PAGEBANNER:Agra banner Taj Mahal.jpg|originx=right}}" in the Vector skin.
Click preview and you'll see the banner in the preview.

Mobile site issue

Navigate to the mobile site using the 'Mobile view' link at the bottom of the desktop page.
Click the edit icon in the mobile mode for the same page.
Click next in the overlay
In the preview the banner is not present.

Wikitext editor issue

Enable the new wikitext editor feature
Click "Erakutsi aurreikuspena"
In the preview the banner is not present

Expected:
The banner should be rendering in the mobile editor and wikitext editor preview.

Jdlrobson updated the task description. (Show Details)
Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson moved this task to Backlog on the Wikidata-Page-Banner board.
Jdlrobson added a subscriber: Jdlrobson.
Restricted Application added a project: Wikidata. · View Herald TranscriptAug 30 2015, 5:01 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jdlrobson moved this task from Backlog to Epics on the Wikidata-Page-Banner board.Aug 30 2015, 5:01 PM
Jdlrobson triaged this task as High priority.Sep 4 2015, 12:32 AM
Jdlrobson edited projects, added MobileFrontend, Easy; removed Wikidata.
Jdlrobson set Security to None.

Hey, I'm new to Mediawiki and was hoping to try solving this task as it is marked "Easy"

@Jdlrobson Could you give more information on this ? What is the "mobile editor preview" ?
I'm not very familiar with the terminology. A little more detail on steps to reproduce this would help.

Jdlrobson updated the task description. (Show Details)Sep 14 2015, 3:55 PM

Hi @TasneemLo thanks for the input! I've updated the description. Let me know if anything is still not clear! :)

Sumit added a subscriber: Sumit.Sep 25 2015, 5:13 AM

Given that mobile editor uses api to fetch the wikitext and preview it, WikidataPageBanner would first need to handle 'action=parse' and return the banner HTML. See T107941

Sumit removed a project: Easy.Sep 25 2015, 5:13 AM
Jdlrobson changed the task status from Open to Stalled.Oct 1 2015, 8:58 PM

We'll need to add an API endpoint first!

Jdlrobson renamed this task from Banners do not show up in mobile editor preview to Banners do not show up in mobile editor preview or new beta feature "wikitext editor".Jul 27 2017, 7:28 PM
Jdlrobson added a project: VisualEditor.
Jdlrobson updated the task description. (Show Details)
Restricted Application added a subscriber: PokestarFan. · View Herald TranscriptJul 27 2017, 7:28 PM