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:

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