User:The Editor's Apprentice/common.js

// install Wikipedia:User:Cacycle/wikEd in-browser text editor //(function //{ //	var script = document.createElement('script'); //	script.src = 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript'; //	script.async = true; //	document.getElementsByTagName('head')[0].appendChild(script); // } //) ;

/* Taken from https://en.wiktionary.org/wiki/Wiktionary:Grease_pit/2020/July#Feedback_on_Quiet_Quentin_with__templates */ importScript('User:Enoshd/QQ-test.js'); importStylesheet('User:Enoshd/QQ-test.css'); mw.loader.load(['jquery.ui']);

/* Erutuon's set of wikitext cleanup buttons that perform tedious editing tasks. */ importScript('User:Erutuon/scripts/cleanup.js');

/* Eruton's button for quickly adding Template:autocat */ window.autoCatEditSummary = true; importScript('User:Erutuon/addAutoCat.js');

/*Add custom links to portlets, such as the content actions, personal tools, navigation, and toolbar. "Content actions" refers to the links under the "More" dropdown located next to the search box. "Personal tools" refers to the links that appear on the left under the "Tools" heading. "Navigation" refers to the links that appear on the left and above the "Tools" heading. "Toolbar" refers to the links that appear in the top right next to one's username. Documented at https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.util-method-addPortletLink. */ $.when( mw.loader.using( 'mediawiki.util' ), $.ready ).then( function {    // General usage:    mw.util.addPortletLink( portletId, href, text /*, id, tooltip, accesskey, nextnode */ ); } );

var newElement = mw.util.addPortletLink(	'p-cactions',	'//en.wiktionary.org/wiki/User:The_Editor%27s_Apprentice/Common_setup_source/interactive',	'Entry setup',	'ca-csetup',	'View the Entry Setup documentation',	,	 ); var newElement = mw.util.addPortletLink(	'p-cactions',	'//en.wiktionary.org/wiki/User:The_Editor%27s_Apprentice/Common_setup_source/Editintro',	'Edit intro',	'ca-editintro',	'View the Entry Setup edit intro',	,	 ); var newElement = mw.util.addPortletLink(	'p-cactions',	'//en.wiktionary.org/wiki/User:The_Editor%27s_Apprentice/Common_setup_source/citations_page/interactive',	'Citations setup',	'ca-citesetup',	'View the Common Setup Citations documentation',	,	 ); var newElement = mw.util.addPortletLink(	'p-cactions',	'//en.wiktionary.org/w/index.php?title=User:The_Editor%27s_Apprentice/To_do_list',	'To do list',	'ca-edittodo',	'Edit the entire to do list and list of completed tasks',	,	 ); var newElement = mw.util.addPortletLink(	'p-cactions',	'//en.wiktionary.org/wiki/User:The_Editor%27s_Apprentice/Notes_on_English-Corpora.org',	'Corpus notes',	'ca-cnotes',	'Notes to aid in using corpora efficiently',	,	 ); var newElement = mw.util.addPortletLink(	'p-cactions',	'//en.wiktionary.org/wiki/Wiktionary:Corpora',	'Corpuses',	'ca-corpuses',	'Corpuses and other resources with a large body of text',	,	 );

/* w:User:BrandonXLF/QuickEdit, similar to AjaxEdit */ mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/QuickEdit.js&action=raw&ctype=text/javascript');

/* Simplify the display of reconstructed terms on category pages */ importScript('User:Erutuon/scripts/reconstructedCategories.js');

/* Adds a button to trace the user who made a change */ importScript('User:Dixtosa/WhoDidThat.js');

/* Makes links from 'User contributions' and 'Watchlist' pages that are posts in one of the discussion pages (GP, TR, etc.) go directly to the actual post. */ importScript('User:Dixtosa/skipToPost.js');

/* Allows translation boxes to be searched for translations in a given language. */ importScript('User:Dixtosa/SearchInTranslations.js');

/* Creates a link to edit lede sections */ importScript('User:Erutuon/scripts/editTop.js');

/* meta:User:SMcCandlish/userinfo.js Shows a line of basic user information, including user groups, edit count, registration date, lasted-edited date, etc., below the user's  name at the top of their main user page and main user talk page. */ mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:SMcCandlish/userinfo.js&action=raw&ctype=text/javascript');

/* Unclear, probably make navigating discussion pages easier */ importScript('User:Erutuon/scripts/discussionNavigation.js');

/* Unclear */ mw.loader.load('https://fr.wikipedia.org/w/index.php?title=Utilisateur:Od1n/AddLinksJavaScriptPage.js&action=raw&ctype=text/javascript');