Module:Navbar: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
Does not work, now hidden in MediaWiki:Print.css |
Per edit request |
||
வரிசை 3:
local HtmlBuilder = require('Module:HtmlBuilder')
local function trim(s)
return mw.ustring.match( s, "^%s*(.-)%s*$" )
end
local function
local span = HtmlBuilder.create('span')
வரிசை 19:
end
local function getTitle( pageName )
pageName = trim( pageName );
local page_title, talk_page_title;
வரிசை 38:
end
local function _navbar( args )
if not args[1] then
return
end
வரிசை 46:
good, title, talk_title = pcall( getTitle, args[1] );
if not good then
return
end
if not title then
return
end
வரிசை 150:
-- behavior of {{navbar}}, change any empty arguments to nil, so Lua will consider
-- them false too.
local args = {}
for k, v in pairs(origArgs) do
if v ~= '' then
| |||