User:CmdrDan/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:CmdrDan/common.css. |
//2023-06-19:
//HotCat tweaking
//Easy categorizing to child or parent categories
//Source: https://en.wikipedia.org/wiki/Wikipedia:HotCat#Easy_categorizing_to_child_or_parent_categories
window.hotcat_use_category_links = true;
//2021-10-16 inserted from:
// https://en.wikipedia.org/wiki/User:Equazcion/SidebarHistoryTools
importScript( 'User:Equazcion/SidebarHistoryTools.js' ); // Backlink: [[User:Equazcion/SidebarHistoryTools.js]]
//importScript('User:קיפודנחש/TemplateParamWizard.js');
//
// Love this: adds Subpages item to Tools menu: Linkback: [[User:קיפודנחש]]
mw.util.addPortletLink ('p-tb', mw.config.get('wgServer')+mw.config.get('wgArticlePath').replace("$1", "Special:PrefixIndex/"+mw.config.get('wgPageName')+"/"), 'Subpages');
//Google Search...we'll see...
//oops ... kills search as type in wikipedia search //importScript('User:Mr.Z-man/gsearch.js'); //
//importScript('User:Mr.Z-man/gsearch.js'); // Backlink: https://en.wikipedia.org/wiki/User:Mr.Z-man/gsearch
//
//importScript('User:Equazcion/ExperiencedEditorPack.js'); //Linkback: [[User:Equazcion/ExperiencedEditorPack]]
//Manually Expand User:Equazcion/ExperiencedEditorPack.js
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Equazcion/ContribsTabVector.js&action=raw&ctype=text/javascript');
importScript('User:Equazcion/userinfo.js');
// importScript('User:Equazcion/SidebarTranslate.js');
importScript('User:Equazcion/sysopdetector.js');
importScript('User:Equazcion/ActiveWatchers.js');
importScript('User:Equazcion/LagToMinutes.js');
importScript('User:Equazcion/LiveDiffLink.js');
importScript('User:Equazcion/SidebarHistoryTools.js');
importScript('User:Equazcion/CatListMainTalkLinks.js');
importScript('User:Equazcion/link intermediate revisions.js');
importScript('User:Ais523 non-admin/adminrights.js');
importScript('User:NuclearWarfare/Mark-blocked script.js');
importScript('User:Cacycle/wikEdDiff.js');
importScript('User:John254/mass rollback.js');
importScript('User:Gary King/highlight my username in history.js');
importScript('User:Equazcion/ToggleEditNotices.js');
importScript('User:js/6tabs-vector.js');
if ((typeof noFloater == 'undefined') || (noFloater == false)){
importScript('User:Equazcion/Floater.js');
}
if ((typeof noVoteSymbols == 'undefined') || (noVoteSymbols == false)){
importScript('User:Ais523/votesymbols.js');
}
//Set SidebarTranslate options
var sidebarTranslateGoogleLink = "◌";
//Set ContribsTabVector.js options
var contribsTabNumber = 200;
// end manual expansion of User:Equazcion/ExperiencedEditorPack.js
importScript('User:קיפודנחש/cat-a-lot.js'); // Backlink: [[User:קיפודנחש/cat-a-lot.js]]
//
// list of "todo" pages and button legends for PageCollector BackLink: [[https://en.wikipedia.org/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9/pageCollector]]
var pagesToCollect = [
{page: 'User:CmdrDan/Plaques, plaques, plaques/General', caption: 'General: Plaques, plaques, plaques'},
{page: 'User:CmdrDan/Plaques, plaques, plaques/Preservation', caption: 'Preservation: Plaques, plaques, plaques'},
{page: 'User:CmdrDan/Plaques, plaques, plaques/Organizations', caption: 'Organizations: Plaques, plaques, plaques'},
{page: 'User:CmdrDan/Plaques, plaques, plaques/Sites', caption: 'Sites: Plaques, plaques, plaques'},
{page: 'User:CmdrDan/Art Project', caption: 'Art Project'},
{page: 'User:CmdrDan/PageCollector', caption: 'PageCollector'},
{page: 'User:CmdrDan/Projects/Articles that should be geocoded', caption: 'Articles that SHOULD be geocoded'},
{page: 'User:CmdrDan/Projects', caption: 'Projects and Potential Projects'},
{page: 'User:CmdrDan/Projects/Discuss_these', caption: 'Projects and Potential Projects/Discuss these'},
{page: 'User:CmdrDan/Articles that need Pictures', caption: 'Articles that need Pics'},
{page: 'User:CmdrDan/Projects/Personalizing_Wikipedia', caption: 'Personalizing Wikipedia'},
{page: 'User:CmdrDan/Projects/Talks2Give Talks2Make', caption: 'Talks2Give Talks2Make'},
{page: 'User:CmdrDan/Projects/Articles that should not be geocoded', caption: 'Articles that should NOT be geocoded'},
{page: 'User:CmdrDan/Projects/WP_Best_Practices_or_Conventions', caption: 'WP Best Practices'},
{page: 'User:CmdrDan/Projects/WP_Tools_and_collections_thereof', caption: 'WP Tools and collections thereof'},
{page: 'User:CmdrDan/Open_Source_Orgs', caption: 'Open Source Orgs'}
];
// load pageCollector script:
importScript('User:קיפודנחש/pageCollector.js');
//
// lots of scripts here: https://en.wikipedia.org/wiki/Category:Wikipedia_scripts
//
// https://en.wikipedia.org/wiki/User:Equazcion/Floater
/* eh...
//importScript('User:Equazcion/Floater.js'); // Backlink: [[User:Equazcion/Floater.js]]
*/
// https://en.wikipedia.org/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9/TemplateParamWizard
// Doesn't Work; FAIL
// importScript('User:קיפודנחש/TemplateParamWizard.js');
//
// https://en.wikipedia.org/wiki/User:Equazcion/ActiveWatchers
// doesn't work:
//importScript('User:Equazcion/ActiveWatchers.js'); // Backlink: [[User:Equazcion/ActiveWatchers.js]]
//
//
// update docs here:
// My_sandbox has been updated and replaced!!
// find this text on the above page: The gadget was replaced by mw:Extension:SandboxLink in April 2015.
// replaced with:
// https://www.mediawiki.org/wiki/Extension:SandboxLink
//
// commented out all content for My_sandbox
//Display all of my sub-pages:
//https://en.wikipedia.org/wiki/Help:My_sandbox
//mw.util.addPortletLink(
// 'p-personal',
// '/w/index.php?title=Special:MyPage/Sandbox&action=edit&preload=Template:User_sandbox/preload&editintro=Template:User_sandbox',
// 'My sandbox',
// 'pt-mysandbox',
// 'Go to your sandbox',
// null,
// '#pt-preferences'
// );
//importScript('User:TheDJ/sharebox.js'); // Backlink: [[User:TheDJ/sharebox.js]]
//importScript('User:Writ Keeper/Scripts/googleTitle.js'); // Backlink: [[User:Writ Keeper/Scripts/googleTitle.js]]
//
// var ptLinksToAdd = [
// {
// label: "Projects",
// title: "Projects and Potential Projects",
// url: "/wiki/User:CmdrDan/Projects",
// index: 4
// },
// {
// label: "PgsColl",
// title: "Page Collector Pages",
// url: "/wiki/User:CmdrDan/pageCollectorPages",
// index: 5
// },
// {
// label: "AfD",
// url: "/wiki/Wikipedia:Articles_for_Deletion",
// },
// {
// label: "ArtP",
// title: "Art Project",
// url: "/wiki/User:CmdrDan/Art_Project",
// index: 6
// },
// {
// label: "PersonalizeWP",
// title: "Personalizing Wikipedia",
// url: "/wiki/User:CmdrDan/Projects/Personalizing_Wikipedia",
// index: 7
// },
// {
// label: "OpenSource-Proj",
// title: "Open Source Projects",
// url: "/wiki/User:CmdrDan/Open_Source_Orgs",
// index: 8
// }
// ];
//
// see docs @ https://en.wikipedia.org/wiki/User:IagoQnsi/addptlinks
importScript('User:IagoQnsi/addptlinks.js'); // Backlink: [[User:IagoQnsi/addptlinks.js]]
// [[d:User:Yair rand/WikidataInfo.js]]
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");