Difference between revisions of "Module:Message box"
m
fix brackets
>Mr. Stradivarius (try testing for demospace and page params or category handler against the current title object) |
>Mr. Stradivarius 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 |