Module:Listing: Difference between revisions

Want an adless experience? Log in or Create an account.
remove remaining staging checks (WW Enemies, HW Characters). Migration is complete.
(move staging check (for WW Characters and BotW) here since I care about the full pageName now)
(remove remaining staging checks (WW Enemies, HW Characters). Migration is complete.)
 
(5 intermediate revisions by the same user not shown)
Line 81: Line 81:


function p._parseListing( pageName, pageContent )
function p._parseListing( pageName, pageContent )
  if pageName == "The Wind Waker Characters" or pageName:sub(1, 18) == "Breath of the Wild" then pageName = pageName .. "/Staging" end
   local pageContent = pageContent or mw.text.killMarkers( mw.getCurrentFrame():expandTemplate{ title = ':' .. pageName, args = {} } )
   local pageContent = pageContent or mw.text.killMarkers( mw.getCurrentFrame():expandTemplate{ title = ':' .. pageName, args = {} } )
   local root = {
   local root = {