User:Dwain Zwerg/global.js

window.BackToTopText = "Nach oben"; window.BackToTopSpeed = 1000; window.BackToTopStart = 0; window.BackToTopFade = 1; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ImageMapEdit.js',        'u:dev:MediaWiki:ImageMapEditZoom.js',    	'u:dev:MediaWiki:LastEdited/code.js',        'u:dev:MediaWiki:SandboxTab/code.js',        'u:dev:MediaWiki:SandboxLink/code.js',        'u:dev:MediaWiki:!bang/code.js',        'u:dev:MediaWiki:QuickTitle/code.js',        'u:dev:MediaWiki:SyntaxHighlight.js',        'u:dev:MediaWiki:DivEditor/code.js',        'u:dev:MediaWiki:MoveToTopButton.js',        'u:dev:MediaWiki:BackToTopButton/code.js',        'u:dev:MediaWiki:ClearSandbox/code.js',        'u:dev:MediaWiki:CheckJStatus.js',        'u:dev:MediaWiki:NullEditButton/code.js',        'u:dev:MediaWiki:Flags/code.js',        'u:dev:MediaWiki:ArchiveTool/code.js',        'u:dev:MediaWiki:FloatingToc/code.js',        /*'u:dev:MediaWiki:PurgeButton/code.js',*/        'u:dev:MediaWiki:MorePageActions/code.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:ReferencePopups/code.js', /*'u:dev:MediaWiki:LinkPreview/code.js',*/ /*'u:dev:MediaWiki:LinkPreview/newpages/code.js',*/ ] }); // Versionsunterschied bei Bedarf in neues Fenster umleiten by wikipedia:de:Tkarcher (https://de.wikipedia.org/wiki/Wikipedia:Technik/Werkstatt#VersionsGeschichte_erlaubt_kein_neues_Tab) $( ".historysubmit" ).click(function( e ) { $( "#mw-history-compare").attr("target", e.ctrlKey ? "_blank" : "")}); // Zweiten Button für Versionsunterschied in neuem Fenster by wikipedia:de:Tkarcher (https://de.wikipedia.org/wiki/Wikipedia:Technik/Werkstatt#VersionsGeschichte_erlaubt_kein_neues_Tab) $( ".historysubmit" ).after( $( ".historysubmit" ).first.clone .data("newTab", true).attr("value", "gewählte Versionen in neuem Tab vergleichen")); $( ".historysubmit" ).click(function( e ) { $( "#mw-history-compare").attr("target", $(this).data("newTab") ? "_blank" : "")});       window.lastEdited = {    avatar: true,    avatarsize: 30,    size: true,    diff: true,    diffModal: true,    comment: true,    newpage: true,    mainpage: true,    time: 'timestamp',    timezone: 'local ',    lang: 'de',    position: {        element: document.getElementById('WikiaPageHeader'),        method: 'append'    },    namespaces: {        exclude: [501]    },    pages: [] };