https://bugzilla.wikimedia.org/show_bug.cgi?id=30783
--- Comment #8 from darklama <[email protected]> 2011-11-29 20:52:37 UTC --- (In reply to comment #7) > By the way, mw.config has the "set" method because it's an instance of the > mw.Map class, but I think that using mw.config.set in user scripts or gadgets > should be strongly discouraged. A new Map instance for use by user scripts or gadgets would still make sense, even if mw.config is not used. mw.config.twinkle = new Map(); mw.config.twinkle.set({ showRollbackLinks: [ 'diff', 'others' ], openTalkPageOnAutoRevert: true }); var revertSpecificConfigs = mw.config.twinkle.get({ showRollBacklinks: [], openTalkPageOnAutoRevert: false }); -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
