Modul:Message box: Unterschied zwischen den Versionen
K
fix brackets
(try testing for demospace and page params or category handler against the current title object) |
K (fix brackets) |
||
| Zeile 384: | Zeile 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 | ||