יחידה:Navbar: הבדלים בין גרסאות בדף
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. |
match ought to be marginally faster |
||
| שורה 4: | שורה 4: | ||
function trim(s) | function trim(s) | ||
return | return mw.ustring.match( s, "^%s*(.-)%s*$" ) | ||
end | end | ||