మీడియావికీ:Gadget-Twinkle.js: కూర్పుల మధ్య తేడాలు
Content deleted Content added
maintenance: Uncaught TypeError: Cannot read property 'replace' of undefined |
Arjunaraoc (చర్చ | రచనలు) Try to fix js error: line 6942 JavaScript parse error (scripts need to be valid ECMAScript 5): Parse error: Missing ) in parenthetical in file 'MediaWiki:Gadget-Twinkle.js' on line 6942 |
||
పంక్తి 6,940:
if (mw.config.get('wgNamespaceNumber') === -1 && mw.config.get('wgCanonicalSpecialPageName') === "Contributions") {
//Get the username these contributions are for
var href = decodeURIComponent(/wiki\/Special:Log\/(.+)$/.exec($('#contentSub').find('a[title^="Special:Log"]').last().attr("href"));
username = href ? href.replace(/_/g, "%20"))[1]) : null;
if (username Twinkle.getPref('showRollbackLinks').indexOf('contribs') !== -1 ||
|