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 */
$wgMFPageActions =array();
$wgHooks['MobileMenu'][] = function ( $name, &$group ) {
    // Test-Link OBEN
    if ( $name === 'discovery' && method_exists( $group, 'insert' ) ) {
        $group->insert( 'test-link-oben' )->addComponent(
            'TEST-LINK OBEN',
            'https://example.org',
            null
        );
    }
    // Test-Link GANZ UNTEN
    if ( $name === 'sitelinks' && method_exists( $group, 'insert' ) ) {
        $group->insert( 'test-link-unten' )->addComponent(
            'TEST-LINK UNTEN',
            'https://example.org',
            null
        );
    }
    return true;
};

Version vom 30. August 2025, 13:11 Uhr

/* All CSS here will be loaded for users of the MinervaNeue skin */
$wgHooks['MobileMenu'][] = function ( $name, &$group ) {
    // Test-Link OBEN
    if ( $name === 'discovery' && method_exists( $group, 'insert' ) ) {
        $group->insert( 'test-link-oben' )->addComponent(
            'TEST-LINK OBEN',
            'https://example.org',
            null
        );
    }
    // Test-Link GANZ UNTEN
    if ( $name === 'sitelinks' && method_exists( $group, 'insert' ) ) {
        $group->insert( 'test-link-unten' )->addComponent(
            'TEST-LINK UNTEN',
            'https://example.org',
            null
        );
    }
    return true;
};