מדיה ויקי:Gadget-TemplateParamWizard.js: הבדלים בין גרסאות בדף
מ 148 גרסאות של הדף wikipedia:he:מדיה_ויקי:Gadget-TemplateParamWizard.js יובאו |
|||
| (2 גרסאות ביניים של משתמש אחר אחד אינן מוצגות) | |||
| שורה 118: | שורה 118: | ||
function onemore(name) { | function onemore(name) { | ||
var param = params[name]; | var param = params[name]; | ||
if (param.deprecated) | |||
return; // ignore deprecated parameters - pretend they are not in TD. | |||
templateParams[name] = { | templateParams[name] = { | ||
desc: param.description || '', | desc: param.description || '', | ||
| שורה 477: | שורה 479: | ||
} | } | ||
function templatePage() {return mw.config.get('wgFormattedNamespaces')[10] + ':' + | function templatePage() { | ||
var t = $.trim(template) | |||
return t.match(':') ? t : mw.config.get('wgFormattedNamespaces')[10] + ':' + t; | |||
} | |||
function updateRawPreview(){ | function updateRawPreview(){ | ||