Topic on VisualEditor/Feedback

Wikivoyage parser extension tags and the VisualEditor

2
Jdforrester (WMF) (talkcontribs)

There is a thread on Wikivoyage's Travellers' pub regarding the use of custom pseudo-XML parser extension tags, and whether they ought to be replaced with templates. Will parser extension tags be supported with the VisualEditor? Are they handled by Parsoid? Would a shift away from using them over to using templates (possibly with Lua) be useful from the VisualEditor perspective? I'd invite VE developers and interested parties to participate in the thread on Wikivoyage. —Tom Morris (talk) 02:50, 16 January 2013 (UTC)

[moved from Talk:VisualEditor.]

Jdforrester (WMF) (talkcontribs)

Replies to individual points:

Will parser extension tags be supported with the VisualEditor?

Yes, eventually. However, this will involve adding a custom "node handler" (data model item) for these tags, and an "inspector" (UI/interaction item) for what goes in them.

Are they handled by Parsoid?

Not yet, but they will be (using the regular parser hooks).

Would a shift away from using them over to using templates (possibly with Lua) be useful from the VisualEditor perspective?

It will change the nature of the problem. :-) Either way is fine, though we'll tackle Templates ahead of project-specific extensions, so that might sway you one way or another. The use of Lua shouldn't make a difference to our Template-handlers.

Reply to "Wikivoyage parser extension tags and the VisualEditor"