מדיה ויקי:Gadget-TemplateParamWizard.js: הבדלים בין גרסאות בדף
כמקובל |
בינתיים זה לא רצוי - לפי המלצת בורה בורה. |
||
| שורה 498: | שורה 498: | ||
.append($('<pre>', {id: 'tpw_preview'}) | .append($('<pre>', {id: 'tpw_preview'}) | ||
.css({backgroundColor: "lightGreen", maxWidth: '40em', maxHeight: '8em', overflow: 'auto'})); | .css({backgroundColor: "lightGreen", maxWidth: '40em', maxHeight: '8em', overflow: 'auto'})); | ||
/* comment out temporarily - it works, but too many templates have "inline" erronously | |||
new mw.Api().get( { | new mw.Api().get( { | ||
action: 'templatedata', | action: 'templatedata', | ||
| שורה 512: | שורה 513: | ||
} | } | ||
} ); | } ); | ||
*/ | |||
while (paramsOrder.length) | while (paramsOrder.length) | ||
addRow(paramsOrder.shift(), table); | addRow(paramsOrder.shift(), table); | ||