מדיה ויקי:Gadget-WLM.js: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 873: שורה 873:
})
})
.then(function() {
.then(function() {
config = require('./WLM1.json');
try {
if (config == null) alert('null'); else config = require('./WLM.json');
config = require('./WLM1.json');
} catch (err) {
alert('null');
}
config = require('./WLM.json');
alert(JSON.stringify(config));
alert(JSON.stringify(config));
$.get(mw.util.wikiScript(), {
$.get(mw.util.wikiScript(), {