మీడియావికీ:Gadget-Twinkle.js: కూర్పుల మధ్య తేడాలు

Content deleted Content added
చి 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
usernamevar href = decodeURIComponent(/wiki\/Special:Log\/(.+)$/.exec($('#contentSub').find('a[title^="Special:Log"]').last().attr("href").replace(/_/g, "%20"))[1]);
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)) {
"https://te.wikipedia.org/wiki/మీడియావికీ:Gadget-Twinkle.js" నుండి వెలికితీశారు