Module:Message box: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(try testing for demospace and page params or category handler against the current title object) |
m (fix brackets) |
||
Line 384: | Line 384: | ||
-- Convert category tables to strings and pass them through [[Module:Category handler]]. |
-- Convert category tables to strings and pass them through [[Module:Category handler]]. |
||
local chpage, chdemospace |
local chpage, chdemospace |
||
local currentTitle = mw.title.getCurrentTitle |
local currentTitle = mw.title.getCurrentTitle() |
||
if self.title ~= currentTitle then |
if self.title ~= currentTitle then |
||
chpage = self.title.prefixedText |
chpage = self.title.prefixedText |