MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus Pyrathor
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 4: Zeile 4:
         'p-cactions',
         'p-cactions',
         mw.util.getUrl( null, { action: 'purge' } ),
         mw.util.getUrl( null, { action: 'purge' } ),
         'Purge',
         'Cache leeren',
         'ca-purge',
         'ca-purge',
         'Purge the server cache of this page'
         'Purge the server cache of this page'
     );
     );
} );
} );

Version vom 17. September 2026, 16:48 Uhr

/* Purge Button zum leeren des Seitencaches hinzufügen */
mw.loader.using( 'mediawiki.util' ).then( function () {
    mw.util.addPortletLink(
        'p-cactions',
        mw.util.getUrl( null, { action: 'purge' } ),
        'Cache leeren',
        'ca-purge',
        'Purge the server cache of this page'
    );
} );