Page MenuHomePhabricator

Preview doesn't work correctly when invoking a Lua module with nowiki tags
Closed, DuplicatePublic

Description

Steps to reproduce:

  1. Edit the relevant kind of template: https://en.wikipedia.org/wiki/Template:Piccadilly_line_RDT?veaction=editsource
  2. The very first line says {{BS-map. Change that to {{#invoke:Routemap|convertbs|<nowiki>{{BS-map
  3. Scroll almost to the end. Find the line that says }}<noinclude>. Change that to }}</nowiki>}}<noinclude>.
  4. Preview page.

Results: You get useless strip markers:

Screen Shot 2016-12-22 at 1.24.38 PM.png (441×746 px, 52 KB)

Expected results: A long, ugly string of useful wikitext:

Screen Shot 2016-12-22 at 1.29.33 PM.png (599×492 px, 103 KB)