Zum Inhalt springen

MediaWiki:Minerva.css: Unterschied zwischen den Versionen

Aus ADOS Wiki
Keine Bearbeitungszusammenfassung
Markierungen: Mobile Bearbeitung Mobile Web-Bearbeitung Erweiterte mobile Bearbeitung
Keine Bearbeitungszusammenfassung
Markierungen: Mobile Bearbeitung Mobile Web-Bearbeitung Erweiterte mobile Bearbeitung
Zeile 1: Zeile 1:
/* All CSS here will be loaded for users of the MinervaNeue skin */
/* All CSS here will be loaded for users of the MinervaNeue skin */
$wgHooks['MobileMenu'][] = function ( $name, &$group ) {
$wgHooks['MobileMenu'][] = function ( $name, &$group ) {
    // Test-Link OBEN
     if ( $name === 'discovery' && method_exists( $group, 'insert' ) ) {
     if ( $name === 'discovery' && method_exists( $group, 'insert' ) ) {
         $group->insert( 'test-link-oben' )->addComponent(
         $group->insert( 'ados-abfuellungen' )->addComponent(
             'TEST-LINK OBEN',
             'Alle A Dream of Scotland Abfüllungen',
             'https://example.org',
             'https://ados-wiki.bplaced.net/index.php?title=Alle_A_Dream_of_Scotland_Abf%C3%BCllungen',
             null
             null
         );
         );
     }
     }
    // Test-Link GANZ UNTEN
     if ( $name === 'sitelinks' && method_exists( $group, 'insert' ) ) {
     if ( $name === 'sitelinks' && method_exists( $group, 'insert' ) ) {
         $group->insert( 'test-link-unten' )->addComponent(
         $group->insert( 'ados-abfuellungen-bottom' )->addComponent(
             'TEST-LINK UNTEN',
             'Alle ADoS-Abfüllungen',
             'https://example.org',
             'https://ados-wiki.bplaced.net/index.php?title=Alle_A_Dream_of_Scotland_Abf%C3%BCllungen',
             null
             null
         );
         );

Version vom 30. August 2025, 13:13 Uhr

/* All CSS here will be loaded for users of the MinervaNeue skin */
$wgHooks['MobileMenu'][] = function ( $name, &$group ) {
    if ( $name === 'discovery' && method_exists( $group, 'insert' ) ) {
        $group->insert( 'ados-abfuellungen' )->addComponent(
            'Alle A Dream of Scotland Abfüllungen',
            'https://ados-wiki.bplaced.net/index.php?title=Alle_A_Dream_of_Scotland_Abf%C3%BCllungen',
            null
        );
    }
    if ( $name === 'sitelinks' && method_exists( $group, 'insert' ) ) {
        $group->insert( 'ados-abfuellungen-bottom' )->addComponent(
            'Alle ADoS-Abfüllungen',
            'https://ados-wiki.bplaced.net/index.php?title=Alle_A_Dream_of_Scotland_Abf%C3%BCllungen',
            null
        );
    }
    return true;
};