మీడియావికీ:Gadget-Twinkle.js: కూర్పుల మధ్య తేడాలు
Content deleted Content added
Arjunaraoc (చర్చ | రచనలు) చి beautified js |
maintenance: Uncaught TypeError: Cannot read property 'replace' of undefined |
||
పంక్తి 6,940:
if (mw.config.get('wgNamespaceNumber') === -1 && mw.config.get('wgCanonicalSpecialPageName') === "Contributions") {
//Get the username these contributions are for
username = href ? href.replace(/_/g, "%20"))[1]) : null;
if (username Twinkle.getPref('showRollbackLinks').indexOf('contribs') !== -1 ||
(mw.config.get('wgUserName') !== username && Twinkle.getPref('showRollbackLinks').indexOf('others') !== -1) ||
(mw.config.get('wgUserName') === username && Twinkle.getPref('showRollbackLinks').indexOf('mine') !== -1)) {
|