Community Central
Community Central

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
PRAoptions = {editSummary: 'Automatic page link update'};

window.AjaxCommentDeleteConfig = {vocab:{linkText:"AjaxDelete"},fastDelete:"Clean-up"};

//var qtMessageWallGreetingTemplate = '{{w:User:SpacePucky/de-greeting}}';
var qtUserPageTemplate = '{{w:User:SpacePucky/de}}';
var qtEnableUserPageOverwrite = true;

anchoredRollbackBot = true;

/* Anpassungen für AjaxRC */
window.ajaxRefresh = 30000;
window.ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:Watchlist","Special:Log","Special:Contributions","Spezial:Letzte_Änderungen","Spezial:WikiActivity" ,"Spezial:Beiträge"];

/* FastDelete */
window.fdButtons = [];

window.fdButtons.push(
    {
        summary: 'Erfüllt nicht die Anforderungen für neue Artikel',
        label: 'Anf.'
    },
    {
        summary: 'Löschantrag',
        label: 'Antrag'
    },
    {
        summary: 'Nicht (mehr) benötigt',
        label: 'NMB'
    },
    {
        summary: 'Clean-up',
        label: 'C'
    }
);

//PN-Benachrichtigungen
var PrivateMessageAlert = {
beepSound: 'http://vignette3.wikia.nocookie.net/pucky/images/6/65/Pling.ogg/revision/latest?cb=20160714160044&path-prefix=de',
message: '$1',
notifications: false,
alertWhileFocused: false
};

/* Standard Edit Summary Settings */
window.dev = window.dev || {};
window.dev.editSummaries = {
    select: [
        '(Klicken...)',
        'Quick', [
            'Format',
            'Vandalismus entfernt',
            'Cleanup',
            'Korrektur'
        ],
        'Removal/Reversion', [
            'Vandalismus zurückgesetzt',
            'Test-Edit zurückgesetzt',
            'Urheberrechtsverletzung entfernt',
            'Spam entfernt'
        ],
        'EN', [
            'Reverted vandalism',
            'Reverted test edit',
            'Removed spam'
        ]
    ]
};

/* Importierte Skripte */
importArticles({
    type: 'script',
    articles: [
    //Josephyr
         //'u:josephhawk:User:Josephyr/filecleanup.js',
    //DisneyDE
         //'u:de.disney:MediaWiki:Gadget-HotCat.js',
    //DEV
         'u:dev:MediaWiki:ChatHacks.js',
         'u:dev:MediaWiki:RecentChangesMultiple/code.2.js',
         'u:dev:MediaWiki:AnchoredRollback/code.js',
         'u:dev:MediaWiki:FastDelete/code.js',
         'u:dev:MediaWiki:LastEdited/code.js',
         'u:dev:MediaWiki:QuickCreateUserPage/code.js',
         'u:dev:MediaWiki:QuickIW/code.js',
         'u:dev:MediaWiki:QuickToolsv2/code.js',
         'u:dev:MediaWiki:AjaxUndo/code.js',
         'u:dev:MediaWiki:AjaxCommentDelete/code.js',
         'u:dev:MediaWiki:DupImageList/code.js',
         'u:dev:MediaWiki:PortableCSSPad/code.js',
         'u:dev:MediaWiki:Thread_Inspection/code.js',
         'u:dev:MediaWiki:AjaxDiff/code.js',
         'u:dev:MediaWiki:View_Source/code.js',
         'u:dev:MediaWiki:ViewRemoved/code.js',
         'u:dev:MediaWiki:MultiUpload/code.js',
         'u:dev:MediaWiki:Wikimarks/code.js',
         'u:dev:MediaWiki:NoImageLightbox/code.js',
         'u:dev:MediaWiki:SearchSuggest/code.js',
         'u:dev:MediaWiki:AjaxBatchDelete/code.2.js',
         'u:dev:MediaWiki:AjaxPatrol/code.js', 
         'u:dev:MediaWiki:PurgeButton/code.js',
         'u:dev:MediaWiki:WHAM/code.2.js',
         'u:dev:MediaWiki:FileUsageAuto-update/code.js',
         //'u:dev:MediaWiki:QuickDelete/code.js',
         'u:dev:MediaWiki:MobileEditor.js',
         'u:dev:MediaWiki:RevealAnonIP/code.js',
         //'u:dev:MediaWiki:QuickLogs/code.js',
         'u:dev:MediaWiki:RedirectManagement/code.js',
         'u:dev:MediaWiki:PageRenameAuto-update/code.js',
         'u:dev:MediaWiki:CategoryRenameAuto-update/code.js',
         //'u:dev:MediaWiki:QQX/code.js',
         'u:dev:MediaWiki:DiscussionsFeed.js',
         //'u:dev:MediaWiki:QuickCreateMessageWallGreeting/code.js',
         'u:dev:MediaWiki:AjaxRC/code.js',
         'u:dev:MediaWiki:PrivateMessageAlert/code.js',
         'u:dev:MediaWiki:Standard_Edit_Summary/code.js',
         'u:dev:MediaWiki:SmoothGlobalNav/code.js',
         'u:dev:FixWantedFiles/code.js',
         'u:dev:MediaWiki:PageFormatter/code.js',
         'u:dev:MediaWiki:FileLogs.js',
         'u:dev:MediaWiki:UnhideUserMasthead/code.js',
         'u:dev:MediaWiki:EditConflictAlert/code.js',
         'u:dev:MediaWiki:PreventTheLimbo.js'
    ]
});

/* Buttons by AmonFatalis */
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
    "speedTip": "Adoption", "tagOpen": "{{w:Adoption/de}}"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
"speedTip": "Magic",
"tagOpen": "__",
"tagClose": "__",
"sampleText": "NOEDITSECTION"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "https://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png",
"speedTip": "Weiterleitung",
"tagOpen": "#REDIRECT [[",
    "tagClose": "]]",
"sampleText": "R"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
"speedTip": "Anführungszeichen",
"tagOpen": "„",
"tagClose": "“",
"sampleText": "T"
};
}

/* RC-Button in global Nav (originally by User:AmonFatalis) */
var myUrl = 
       window.location.origin + encodeURI(mw.config.get('wgScript')) + "/Special:RecentChanges?hidebots=0";
$('<a class="wds-button wds-is-secondary wds-global-navigation__link-button" href="/wiki/Special:RecentChanges?hidebots=0" id="RClink" style="position:absolute; top:1px; right:3px; text-transform:none; padding:10px; color:white;">Letzte Änderungen</a>').appendTo('#globalNavigation');
var url = document.getElementById('RClink');
if (url) {
    url.href = myUrl;
}

/* Skipping InfoboxBuilder */
if (window.location.pathname.indexOf('Spezial:InfoboxBuilder') != -1) { 
    var name = window.location.pathname.split('Spezial:InfoboxBuilder/')[1]; 
    location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Vorlage:'+name+'?action=edit&useeditor=source')); 
}
if (window.location.pathname.indexOf('Special:InfoboxBuilder') != -1) { 
    var name = window.location.pathname.split('Special:InfoboxBuilder/')[1]; 
    location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+name+'?action=edit&useeditor=source')); 
}