מדיה ויקי:Gadget-TemplateParamWizard.js: הבדלים בין גרסאות בדף
←using [[mw:CodeEditor|CodeEditor]]: לבקשת הבודקים - הסבר למה לא עובד. |
|||
| שורה 5: | שורה 5: | ||
mw.loader.using(['jquery.ui.widget','jquery.ui.autocomplete','jquery.textSelection', 'jquery.ui.dialog'], function() { | mw.loader.using(['jquery.ui.widget','jquery.ui.autocomplete','jquery.textSelection', 'jquery.ui.dialog'], function() { | ||
// template parameter is an object with the following fields: | |||
// desc: desciption string | // desc: desciption string | ||
// select: array of possible values (optional) | // select: array of possible values (optional) | ||
| שורה 306: | שורה 306: | ||
if (error == "Not Found") | if (error == "Not Found") | ||
error = 'לתבנית "' + template + '" אין דף דף פרמטרים - האשף לא יכול לפעול ללא דף כזה'; | error = 'לתבנית "' + template + '" אין דף דף פרמטרים - האשף לא יכול לפעול ללא דף כזה'; | ||
if (console) { | if (typeof console != 'undefined') { | ||
for (key in a) | for (key in a) | ||
if (typeof a[key] != 'function') | if (typeof a[key] != 'function') | ||