User:MB/common.js

// [[User:Dr pda/prosesize]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ADr_pda%2Fprosesize.js&action=raw&ctype=text/javascript');

importScript( 'User:Markhurd/hidetopcontrib.js' ); // Backlink: [[User:Markhurd/hidetopcontrib.js]]
userHideAllSubsequent=true;

/* Adds a toolbox link to do a copyvio check on the given page. */

mw.loader.using("mediawiki.util", function() {
    mw.util.addPortletLink(
        "p-tb",
        "https://tools.wmflabs.org/copyvios/?lang=" + mw.config.get("wgContentLanguage") + "&project=" + mw.config.get("wgSiteName").toLowerCase() + "&title=" + encodeURIComponent(mw.config.get("wgPageName")),
        "Copyvio check",
        "t-copyvio-check",
        "Check this page for copyright violations"
    );
});

if (mw.config.get('wgCanonicalSpecialPageName') == 'Whatlinkshere')
	importScript('User:V111P/js/whatLinksHereLinkFilter.js'); // [[User:V111P/js/whatLinksHereLinkFilter.js]]
	
importScript("User:Mvolz/displayContributions.js");

// change reftoolbar access-date date format to mdy
$('head').one('reftoolbarbase', function() {
   CiteTB.UserOptions['date format'] = "<monthname> <date>, <year>";
   CiteTB.UserOptions['autodate fields'] = ['accessdate'];
});

removesmalltags = 'yes';

importScript("User:Frietjes/indent.js");
var thumbfixdiffpreview = 'none';
importScript('User:Frietjes/thumb-fixer.js');

importScript('User:Lourdes/Backlinks.js'); // Linkback: [[User:Lourdes/Backlinks.js]]

// list of "todo" pages and button legends for PageCollector
var pagesToCollect = [
	{page: 'User:MB/Tools', caption: 'Tools'},
	{page: 'User:MB/ToDo', caption: 'ToDos'}
];

// load pageCollector script:
importScript('User:קיפודנחש/pageCollector.js');// list of "todo" pages and button legends for PageCollector


importScript('User:Evad37/TextDiff.js'); // [[User:Evad37/TextDiff]]

importScript("User:The Transhumanist/WatchlistSorter.js");

importScript('User:Evad37/rater.js');

/* This script adds "Source links" below "What links here" in the sidebar.
   "What links here" will include pages using a template with the link.
   "Source links" tries to search for pages where the link is in the source.
   To use the script, add the following line to Special:MyPage/common.js:
 
importScript('User:PrimeHunter/Source links.js'); // Linkback: [[User:PrimeHunter/Source links.js]]

*/

mw.loader.using(['mediawiki.util'], function () {
  var name = mw.config.get( 'wgPageName' ).replace("Special:WhatLinksHere/", "");
  mw.util.addPortletLink(
    'p-tb',
    mw.util.getUrl( 'Special:Search' ) + '?profile=all&search=' +
    encodeURIComponent('linksto:"' + name + '" ' + 'insource:"' + name + '" ' +
    'insource:/\\[\\[:?[' + name[0] + name.charAt(0).toLowerCase() + ']' +
    name.substring(1) + '[\\]\\|#]/' ).replace(/_/g, " "),
    'Source links',
    'pt-sourcelinks',
    'What links here in the source',
    null,
    '#t-recentchangeslinked'
  );
});

importScript("User:PleaseStand/userinfo.js");
/* 
importScript("User:Wugapodes/Capricorn.js");
*/

importScript("User:Dudemanfellabra/AddCommonsCatLinks.js");

importScript( 'User:DannyS712/Easy-link.js' );

importScript('User:MB/edit summary.js');

importScript('User:Enterprisey/cv-revdel.js');

importScript('User:Kaniivel/RefConsolidate_start.js' );

importScript('User:Writ Keeper/Scripts/deletionFinder.js');

importScript("User:RedWarn/.js");

importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' );

importScript('User:Bradv/Scripts/Superlinks.js');

importScript('User:MPGuy2824/Evad37/MoveToDraft.js');

importScript('User:Frietjes/listhelper.js');

mw.config.set('wgPostEditConfirmationDisabled', true);  /* no edit saved box (new right version) */

importScript('User:Andy M. Wang/pageswap.js');

// Prevent accidental submits
$(document).ready(function(){
    $('input#wpSummary').keypress(function(e){
        if(e.which==13) e.preventDefault();
    });
});

importScript('User:Bradv/Scripts/Superlinks.js');

importScript('User:SD0001/easy-merge.js'); // [[User:SD0001/easy-merge.js]]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.