יחידה:Navbar: הבדלים בין גרסאות בדף
return an html string instead of an htmlbuilder |
If the documentation is accurate, this will use the namespace part of pageName first and fallback to Template if one isn't present, which is what we want. |
||
| שורה 25: | שורה 25: | ||
title = mw.title.new( mw.ustring.sub(pageName, 2) ); | title = mw.title.new( mw.ustring.sub(pageName, 2) ); | ||
else | else | ||
title = mw.title.new( pageName | title = mw.title.new( pageName, 'Template' ); | ||
end | end | ||