Difference between revisions of "Module:Template translation"

Jump to navigation Jump to search
m
no edit summary
>Verdy p
m (mw.title.new() no longer returns a tile object with id=0, but nil, if page is not found. Fix it.)
>Verdy p
m
Line 1: Line 1:
local this = {}
local this = {}


function this.checkLanguage(subpage)
function this.checkLanguage(subpage, default)
     --[[Check first if there's an any invalid character that would cause the
     --[[Check first if there's an any invalid character that would cause the
         mw.language.isKnownLanguageTag function() to throw an exception:
         mw.language.isKnownLanguageTag function() to throw an exception:
Anonymous user

Navigation menu