MediaWiki:Gadget-Twinkle.js: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Repo at 5c1e7e3: Update from Github |
<maintenance> more info TypeError: Twinkle[module] is not a function. (In 'Twinkle[module]()', 'Twinkle[module]' is undefined) |
||
(5 revisi perantara oleh 2 pengguna tidak ditampilkan) | |||
Baris 91:
welcomeUserOnSpeedyDeletionNotification: [ 'db', 'u1', 'u2', 'u3', 'u4', 'u6', 'u10', 'u11', 'u12', 'u13', 'u14', 'a1', 'a2', 'a3', 'a5', 'a7', 'a9', 'a10', 'a11', 'b1', 'b2', 'b3', 'b7', 'b9', 'b10', 'h3', 'h5', 't2', 't3', 'p1', 'p2' ],
notifyUserOnSpeedyDeletionNomination: [ 'db', 'u1', 'u2', 'u3', 'u4', 'u6', 'u10', 'u11', 'u12', 'u13', 'u14', 'a1', 'a2', 'a3', 'a5', 'a7', 'a9', 'a10', 'b1', 'b2', 'b3', 'b7', 'b9', 'b10', 'h3', 'h5', 't2', 't3', 'p1', 'p2' ],
promptForSpeedyDeletionSummary: [],
deleteTalkPageOnDelete: true,
Baris 428:
Twinkle.load = function () {
// Don't activate on special pages other than those
//
var
if (Morebits.userIsSysop) {
}
if (mw.config.get('wgNamespaceNumber') === -1 &&
return;
}
Baris 463:
return disabledModules.indexOf(mod) === -1;
}).forEach(function(module) {
if ( typeof Twinkle[module]
Twinkle[module]();
}
});
Twinkle.config.init(); // Can't turn off
|