User:Captain Crystal/global.js

/* i18n Overides */ window.dev = window.dev || {}; window.dev.i18n = window.dev.i18n || {}; window.dev.i18n.overrides = window.dev.i18n.overrides || {};

/* AjaxUndo */ window.dev.i18n.overrides['AjaxUndo'] = window.dev.i18n.overrides['AjaxUndo'] || {}; window.dev.i18n.overrides['AjaxUndo']['buttontext'] = 'AJAX Undo'; window.dev.i18n.overrides['AjaxUndo']['undone'] = 'AJAX Undone';

/* DiscussionsActivity */ window.dev.i18n.overrides['DiscussionsActivity'] = window.dev.i18n.overrides['DiscussionsActivity'] || {}; window.dev.i18n.overrides['DiscussionsActivity']['seconds_ago_singular'] = '$1 second ago'; window.dev.i18n.overrides['DiscussionsActivity']['seconds_ago_plural'] = '$1 seconds ago'; window.dev.i18n.overrides['DiscussionsActivity']['minutes_ago_singular'] = '$1 minute ago'; window.dev.i18n.overrides['DiscussionsActivity']['minutes_ago_plural'] = '$1 minutes ago'; window.dev.i18n.overrides['DiscussionsActivity']['hours_ago_singular'] = '$1 hour ago'; window.dev.i18n.overrides['DiscussionsActivity']['hours_ago_plural'] = '$1 hours ago'; window.dev.i18n.overrides['DiscussionsActivity']['days_ago_singular'] = '$1 day ago'; window.dev.i18n.overrides['DiscussionsActivity']['days_ago_plural'] = '$1 days ago'; window.dev.i18n.overrides['DiscussionsActivity']['months_ago_singular'] = '$1 month ago'; window.dev.i18n.overrides['DiscussionsActivity']['months_ago_plural'] = '$1 months ago'; window.dev.i18n.overrides['DiscussionsActivity']['years_ago_singular'] = '$1 year ago'; window.dev.i18n.overrides['DiscussionsActivity']['years_ago_plural'] = '$1 years ago'; window.dev.i18n.overrides['DiscussionsActivity']['in'] = '→'; window.dev.i18n.overrides['DiscussionsActivity']['talk'] = 'talk'; window.dev.i18n.overrides['DiscussionsActivity']['wall'] = 'wall'; window.dev.i18n.overrides['DiscussionsActivity']['contribs'] = 'contribs'; window.dev.i18n.overrides['DiscussionsActivity']['created_by'] = 'created by'; window.dev.i18n.overrides['DiscussionsActivity']['commented_by'] = 'commented by'; window.dev.i18n.overrides['DiscussionsActivity']['checkbox_auto_refresh'] = 'Auto refresh'; window.dev.i18n.overrides['DiscussionsActivity']['document_title_new'] = 'Recent Discussions'; window.dev.i18n.overrides['DiscussionsActivity']['loading_discussions'] = 'Loading discussions...'; window.dev.i18n.overrides['DiscussionsActivity']['recent_changes'] = 'Recent changes'; window.dev.i18n.overrides['DiscussionsActivity']['discussions_activity'] = 'Discussion Activity '; window.dev.i18n.overrides['DiscussionsActivity']['watchlist'] = 'Followed only'; window.dev.i18n.overrides['DiscussionsActivity']['icon_title_tags'] = 'Tags'; window.dev.i18n.overrides['DiscussionsActivity']['post-type-text'] = 'Text'; window.dev.i18n.overrides['DiscussionsActivity']['post-type-poll'] = 'Poll'; window.dev.i18n.overrides['DiscussionsActivity']['post-type-reply'] = 'Reply'; window.dev.i18n.overrides['DiscussionsActivity']['container-name-forum'] = 'Discussion'; window.dev.i18n.overrides['DiscussionsActivity']['container-name-wall'] = 'Message wall'; window.dev.i18n.overrides['DiscussionsActivity']['container-name-article'] = 'Comment'; window.dev.i18n.overrides['DiscussionsActivity']['link-title-profile'] = 'profile'; window.dev.i18n.overrides['DiscussionsActivity']['post-info-content'] = 'Content'; window.dev.i18n.overrides['DiscussionsActivity']['post-info-tags'] = 'Tags'; window.dev.i18n.overrides['DiscussionsActivity']['post-info-images'] = 'Images'; window.dev.i18n.overrides['DiscussionsActivity']['link-title-message-wall'] = '$1\'s Message wall'; window.dev.i18n.overrides['DiscussionsActivity']['discussions-activity-summary'] = 'This special page shows the most recent posts made in Discussions Message walls and Article comments.'; window.dev.i18n.overrides['DiscussionsActivity']['link-text-recent-changes'] = 'Wiki'; window.dev.i18n.overrides['DiscussionsActivity']['link-text-social-activity'] = 'Social'; window.dev.i18n.overrides['DiscussionsActivity']['link-text-new-files'] = 'Images'; window.dev.i18n.overrides['DiscussionsActivity']['to'] = 'to';

/* DiscussionsViewer */ window.dev.i18n.overrides['DiscussionsViewer'] = window.dev.i18n.overrides['DiscussionsViewer'] || {}; window.dev.i18n.overrides['DiscussionsViewer']['viewPosts'] = 'Posts'; window.dev.i18n.overrides['DiscussionsViewer']['contribs'] = 'contribs'; window.dev.i18n.overrides['DiscussionsViewer']['posts'] = 'posts'; window.dev.i18n.overrides['DiscussionsViewer']['in'] = 'in'; window.dev.i18n.overrides['DiscussionsViewer']['discussions'] = 'Discussions'; window.dev.i18n.overrides['DiscussionsViewer']['wall-posts'] = 'Message Wall'; window.dev.i18n.overrides['DiscussionsViewer']['comments'] = 'Comments'; window.dev.i18n.overrides['DiscussionsViewer']['view'] = 'View >'; window.dev.i18n.overrides['DiscussionsViewer']['message-wall'] = '$1\'s Message Wall';

/* LastEdited */ window.dev.i18n.overrides['LastEdited'] = window.dev.i18n.overrides['LastEdited'] || {}; window.dev.i18n.overrides['LastEdited']['lastEdited'] = 'Last edited by $1 $2'; window.dev.i18n.overrides['LastEdited']['diff'] = 'diff'; window.dev.i18n.overrides['LastEdited']['minor'] = 'm'; window.dev.i18n.overrides['LastEdited']['comment'] = 'Edit summary'; window.dev.i18n.overrides['LastEdited']['size'] = 'Current size'; window.dev.i18n.overrides['LastEdited']['created'] = 'Created page.'; window.dev.i18n.overrides['LastEdited']['changes'] = 'Changes'; window.dev.i18n.overrides['LastEdited']['link'] = 'Link'; window.dev.i18n.overrides['LastEdited']['undo'] = 'Undo'; window.dev.i18n.overrides['LastEdited']['bytes'] = 'bytes'; window.dev.i18n.overrides['LastEdited']['rollback'] = 'Rollback'; window.dev.i18n.overrides['LastEdited']['talk'] = 'talk'; window.dev.i18n.overrides['LastEdited']['contribs'] = 'contribs';

/* MultiUpload */ window.dev.i18n.overrides['MultiUpload'] = window.dev.i18n.overrides['MultiUpload'] || {}; window.dev.i18n.overrides['MultiUpload']['filedesc'] = 'Summary'; window.dev.i18n.overrides['MultiUpload']['license-header'] = 'Licensing';

/* MarkBlocked*/ window.dev.i18n.overrides['MarkBlocked'] = window.dev.i18n.overrides['MarkBlocked'] || {}; window.dev.i18n.overrides['MarkBlocked']['blocked ($1) by $2: $3 ($4 ago)'] = '';

/* MarkForDeletion*/ window.dev.i18n.overrides['MarkForDeletion'] = window.dev.i18n.overrides['MarkForDeletion'] || {}; window.dev.i18n.overrides['MarkForDeletion']['summaryPrefix'] = 'Delete'; window.dev.i18n.overrides['MarkForDeletion']['buttonTitle'] = 'Mark for deletion';

/* MassNullEdit */ window.dev.i18n.overrides['MassNullEdit'] = window.dev.i18n.overrides['MassNullEdit'] || {}; window.dev.i18n.overrides['MassNullEdit']['title'] = 'Mass Null Edit'; window.dev.i18n.overrides['MassNullEdit']['instructions'] = 'Enter the name of each page to null edit on a separate line. Remember to include the namespace too if it is not in main.'; window.dev.i18n.overrides['MassNullEdit']['notice-output'] = 'Any notices will appear here'; window.dev.i18n.overrides['MassNullEdit']['notice-ratelimit'] = 'Rate limited! Waiting 30 seconds before next edit.'; window.dev.i18n.overrides['MassNullEdit']['notice-finished'] = 'Finished! Any pages with failed edits have been re-added above.'; window.dev.i18n.overrides['MassNullEdit']['notice-success-backlinks'] = 'Added pages! $2 NaN pagess that NaN links to “$1” added.'; window.dev.i18n.overrides['MassNullEdit']['notice-success-transclusions'] = 'Added pages! $2 NaN pagess that NaN transcludes “$1” added.'; window.dev.i18n.overrides['MassNullEdit']['notice-success-fileusage'] = 'Added pages! $2 NaN pagess that NaN includes the file “$1” added.'; window.dev.i18n.overrides['MassNullEdit']['notice-success-prefix'] = 'Added pages! $2 NaN pagess with the prefix “$1” added.'; window.dev.i18n.overrides['MassNullEdit']['notice-success-category'] = 'Added pages! $2 NaN pagess from “$1” category added.'; window.dev.i18n.overrides['MassNullEdit']['notice-success-namespace'] = 'Added pages! $2 NaN pagess from “$1” namespace added.'; window.dev.i18n.overrides['MassNullEdit']['notice-error-backlinks'] = 'API error! Failed to get pages that link to “$1”'; window.dev.i18n.overrides['MassNullEdit']['notice-error-transclusions'] = 'API error! Failed to get pages that transclude “$1”'; window.dev.i18n.overrides['MassNullEdit']['notice-error-fileusage'] = 'API error! Failed to get pages that include the file “$1”'; window.dev.i18n.overrides['MassNullEdit']['notice-error-prefix'] = 'API error! Failed to get pages with the prefix “$1”'; window.dev.i18n.overrides['MassNullEdit']['notice-error-category'] = 'API error! Failed to get pages from “$1” category'; window.dev.i18n.overrides['MassNullEdit']['notice-error-namespace'] = 'API error! Failed to get pages from “$1” namespace'; window.dev.i18n.overrides['MassNullEdit']['cancel'] = 'Cancel'; window.dev.i18n.overrides['MassNullEdit']['pause'] = 'Pause'; window.dev.i18n.overrides['MassNullEdit']['initiate'] = 'Start'; window.dev.i18n.overrides['MassNullEdit']['addpages'] = 'Add pages'; window.dev.i18n.overrides['MassNullEdit']['addpages-backlinks'] = 'Add pages that link to:'; window.dev.i18n.overrides['MassNullEdit']['addpages-transclusions'] = 'Add pages that transclude:'; window.dev.i18n.overrides['MassNullEdit']['addpages-fileusage'] = 'Add pages that include the file:'; window.dev.i18n.overrides['MassNullEdit']['addpages-prefix'] = 'Add pages with the prefix:'; window.dev.i18n.overrides['MassNullEdit']['addpages-category'] = 'Add members of category:'; window.dev.i18n.overrides['MassNullEdit']['addpages-namespace'] = 'Add pages from namespace:'; window.dev.i18n.overrides['MassNullEdit']['namespace-main'] = '(Main)'; window.dev.i18n.overrides['MassNullEdit']['processing'] = 'Processing…'; window.dev.i18n.overrides['MassNullEdit']['confirm-big-request'] = 'This request will be big (more than $1 pages) and may be slow. Do you want to continue?'; window.dev.i18n.overrides['MassNullEdit']['success'] = 'Null edit of “$1” successful!'; window.dev.i18n.overrides['MassNullEdit']['fail'] = 'Failed to null edit “$1”';

/* MassPatrol */ window.dev.i18n.overrides['MassPatrol'] = window.dev.i18n.overrides['MassPatrol'] || {}; window.dev.i18n.overrides['MassPatrol']['patrol'] = 'Mass Patrol';

/* PiniginsUserInfo */ window.dev.i18n.overrides['PiniginsUserInfo'] = window.dev.i18n.overrides['PiniginsUserInfo'] || {}; window.dev.i18n.overrides['PiniginsUserInfo']['userInfo'] = 'User information';

/* QuickDiff */ window.dev.i18n.overrides['QuickDiff'] = window.dev.i18n.overrides['QuickDiff'] || {}; window.dev.i18n.overrides['QuickDiff']['differences'] = '$1'; window.dev.i18n.overrides['QuickDiff']['differences-multipage'] = 'Differences between “$1” and “$2”'; window.dev.i18n.overrides['QuickDiff']['history'] = 'history'; window.dev.i18n.overrides['QuickDiff']['link'] = 'open link'; window.dev.i18n.overrides['QuickDiff']['loading'] = 'Loading…';

/* QuickLogs */ window.dev.i18n.overrides['QuickLogs'] = window.dev.i18n.overrides['QuickLogs'] || {}; window.dev.i18n.overrides['QuickLogs']['loading'] = 'Loading...'; window.dev.i18n.overrides['QuickLogs']['error'] = 'Error: $1 ($2)'; window.dev.i18n.overrides['QuickLogs']['error-header'] = 'Error'; window.dev.i18n.overrides['QuickLogs']['logs-header'] = 'Logs'; window.dev.i18n.overrides['QuickLogs']['logs-header-selected'] = 'Logs: $1'; window.dev.i18n.overrides['QuickLogs']['select-logs'] = 'Select the type of logs to be shown.'; window.dev.i18n.overrides['QuickLogs']['no-logs'] = 'No logs found.'; window.dev.i18n.overrides['QuickLogs']['see-more'] = 'see more'; window.dev.i18n.overrides['QuickLogs']['none'] = 'none'; window.dev.i18n.overrides['QuickLogs']['wall'] = 'wall'; window.dev.i18n.overrides['QuickLogs']['talk'] = 'talk'; window.dev.i18n.overrides['QuickLogs']['contribs'] = 'contribs'; window.dev.i18n.overrides['QuickLogs']['for'] = 'For'; window.dev.i18n.overrides['QuickLogs']['block-log'] = 'block log'; window.dev.i18n.overrides['QuickLogs']['upload-log'] = 'uploads'; window.dev.i18n.overrides['QuickLogs']['move-log'] = 'move log'; window.dev.i18n.overrides['QuickLogs']['logs'] = 'logs'; window.dev.i18n.overrides['QuickLogs']['abuse-log'] = 'abuse log'; window.dev.i18n.overrides['QuickLogs']['rights-log'] = 'userrights log'; window.dev.i18n.overrides['QuickLogs']['format-date'] = '$hours:$minutes $month $date $year'; window.dev.i18n.overrides['QuickLogs']['format-block'] = '$date $userLinks blocked $target with an expiry time of $duration $flags $comment'; window.dev.i18n.overrides['QuickLogs']['format-reblock'] = '$date $userLinks changed block settings for $target with an expiry time of $duration $flags $comment'; window.dev.i18n.overrides['QuickLogs']['format-unblock'] = '$date $userLinks unblocked $target $comment'; window.dev.i18n.overrides['QuickLogs']['format-upload'] = '$date $page $comment'; window.dev.i18n.overrides['QuickLogs']['format-overwrite'] = '$date $page (updated revision) $comment'; window.dev.i18n.overrides['QuickLogs']['format-move'] = '$date $userLinks moved page $page to $newTitle over redirect $comment'; window.dev.i18n.overrides['QuickLogs']['format-move-without-redirect'] = '$date $userLinks moved page $page to $newTitle without leaving a redirect $comment'; window.dev.i18n.overrides['QuickLogs']['format-chatbanadd'] = '$date $userLinks banned $target from chat with an expiry time of $expiry ends on $ends $comment'; window.dev.i18n.overrides['QuickLogs']['format-chatbanchange'] = '$date $userLinks changed ban settings for $target with an expiry time of $expiry ends on $ends $comment'; window.dev.i18n.overrides['QuickLogs']['format-chatbanremove'] = '$date $userLinks unbanned $target from chat $comment'; window.dev.i18n.overrides['QuickLogs']['format-rights'] = '$date $userLinks changed group membership for $target from ($oldrights) to ($newrights) $comment'; window.dev.i18n.overrides['QuickLogs']['format-tc-changed'] = '$date $userLinks changed type of $page from $before to $after'; window.dev.i18n.overrides['QuickLogs']['format-patrol'] = '$date $userLinks marked revision $revision of page $page patrolled'; window.dev.i18n.overrides['QuickLogs']['format-patrol-auto'] = '$date $userLinks automatically marked revision $revision of page $page patrolled'; window.dev.i18n.overrides['QuickLogs']['format-delete'] = '$date $userLinks deleted $page $comment'; window.dev.i18n.overrides['QuickLogs']['format-restore'] = '$date $userLinks restored $page $comment'; window.dev.i18n.overrides['QuickLogs']['format-abuse'] = '$date $page $list'; window.dev.i18n.overrides['QuickLogs']['format-newusers'] = '$date $userLinks created a user account'; window.dev.i18n.overrides['QuickLogs']['format-create'] = '$date $userLinks created $page'; window.dev.i18n.overrides['QuickLogs']['description'] = 'description: $1'; window.dev.i18n.overrides['QuickLogs']['edited'] = '$date edited $page $comment';

/* Customization */ window.announcementsIgnore = { option: 'opt-out-all', exceptWikiIds: [ 965951   ] };

window.AjaxUndoMinor = true;

/* window.batchDeleteDelay = 100; */

window.CacheCheckRemove = false;

window.EditConflictAlertInterval = 100;

/* window.fdButtons = [ {       summary: 'Duplicate/unused file', label: '📁' },	{   	summary:'Housekeeping', label: '🏠' },	{       summary: 'Unused redirect', label: '↩️' },	{		summary: 'User request', label: '👤' },	{   	summary: 'Spam/vandalism', label: '🥊' },	{		summary: '', label: '🗑' }, ]; */

window.linkThumbConfig = { width: 350, closeTimeout: 300, requestTimeout: 500 };

window.MarkForDeletion = { replace: true };

/* window.massRenameDelay = 3000; */

window.MultiUploadoption = { max: 100, };

window.nullEditDelay = 1500;

importArticles({   type: 'script',    articles: [    	/* Site enhancements */		'u:dev:MediaWiki:AvatarLink.js',		'u:dev:MediaWiki:CopyTitle.js',		'u:dev:MediaWiki:QuickPurge.js',        'u:dev:MediaWiki:NullEditButton/code.js',		'u:dev:MediaWiki:EditConflictAlert/code.js',		'u:dev:MediaWiki:HistoryKey/code.js',		'u:dev:MediaWiki:LinkThumb.js',		'u:dev:MediaWiki:BlockSummary.js',		'u:dev:MediaWiki:EditsShare.js',		'u:dev:MediaWiki:PiniginsUserInfo/code.js',		'u:dev:MediaWiki:CollapseGlobalNavButton.js',		'u:dev:MediaWiki:AllPagesHideRedirect/code.js',		'u:dev:MediaWiki:OrganizedSocialActivity.js',		'u:dev:MediaWiki:EditcountTag/code.js',		'u:dev:MediaWiki:LastEdited/code.js',		'u:dev:MediaWiki:DiscussionsViewer.js',		'u:dev:MediaWiki:DiscussionsActivity.js',		'u:dev:MediaWiki:QuickLogs/code.js',		'u:dev:MediaWiki:ModernLeaderboard.js',		'u:dev:MediaWiki:CacheCheck/code.js',		'u:dev:MediaWiki:CategoryMaintenanceTables.js', 'u:dev:MediaWiki:CatNav/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:AnnouncementsIgnore.js', /* Editing tools */ /* Main */ 'u:dev:MediaWiki:MultiUpload.js', 'u:dev:MediaWiki:MarkForDeletion/code.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:DupeArgs.js', 'u:dev:MediaWiki:MassNullEdit/code.js', /* Other */ 'u:dev:MediaWiki:Stella.js', 'u:dev:MediaWiki:DoruDev.js', 'u:dev:MediaWiki:StickySummary.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:MobileEdittools.js', /* Moderation tools *//* 'u:dev:MediaWiki:AjaxBatchDelete/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:MassPatrol/code.js', *//* Inactive *//* 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:MassRename/code.js', */       ] });

/* JWB */ mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');

/* Other (loading) */ /* Javascript */ importArticles({	type: 'script',	articles: [		'u:dev:MediaWiki:QDmodal.js',		] });

/* Stylesheet */ importArticles({	type: 'style',	articles: [		'u:dev:MediaWiki:QDmodal.css',		'u:dev:MediaWiki:MassNullEdit.css',		] });