Module:Message box: Difference between revisions

m
fix brackets
m>Mr. Stradivarius
(try testing for demospace and page params or category handler against the current title object)
m>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
Anonymous user