User:Naista2002/common.js

/* Counts all your edits and saves them to a page ( http://en.wikipedia.org/wiki/User:Kanegasi/editcounter ) */ if (mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) { /* begin options */

var pageName = 'Edits';

var subPages = 'true'; var datePageName = 'Date'; var totalPageName = 'Total';

var summaryLink = '';

var tableCaption = 'Naista2002\'s edits'; var tableHeaders = true;

var mainTableAttrib = 'class="wikitable" style="margin: 0 auto 1em; text-align: center"'; var topRowAttrib = 'style="background-color: blue"'; var bottomRowAttrib = 'style="background-color: white; font-size: large"';

var dateFormat = 'F j, Y';

/* end options */ mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript'); }

// User:Majr/docTabs.js if (    $.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 10, 11, 828, 829 ] ) > -1 ||    $.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 2, 3 ] ) > -1 &&    mw.config.get( 'wgTitle' ).replace( /\/doc$/, '' ).search( /\.(js|css)$/ ) > -1 ) { importScript( 'User:Majr/docTabs.js' ); }

// User:Majr/editableRollback.js importScript( 'User:Majr/editableRollback.js' );

// User:Majr/refTooltip.js importScript( 'User:Majr/refTooltip.js' );

// User:Majr/inputCounter.js importScript( 'User:Majr/inputCounter.js' );