https://bugzilla.wikimedia.org/show_bug.cgi?id=51871

       Web browser: ---
            Bug ID: 51871
           Summary: Changing HTML coding for list output in
                    Insider.class.php
           Product: MediaWiki extensions
           Version: REL1_20 branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Insider
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Please change the old code in Insider.class.php from

    Html::closeElement( 'div' ) .
    Html::closeElement( 'div' ) .
    Html::openElement( 'div', array( 'id' => 'p-lang', 'class' => 'portal' ) )
.
    Html::element( 'h3', array(), wfMessage( 'insider-title' )->text() ) .
    Html::openElement( 'div', array( 'class' => 'body' ) ) .
    Html::openElement( 'ul', array( 'class' => 'body' ) ) .
    implode( '', $insiders );

to

    Html::closeElement( 'div' ) .
    Html::closeElement( 'div' ) .
    Html::openElement( 'div', array( 'id' => 'p-insiders', 'class' => 'portal',
'role' => 'navigation' ) ) .
    Html::element( 'h3', array(), wfMessage( 'insider-title' )->text() ) .
    Html::openElement( 'div', array( 'class' => 'body' ) ) .
    Html::openElement( 'ul' ) ) .
    implode( '', $insiders );

In line 3 id was changed from p-lang to p-insiders because p-lang is already
used. In the same line the role attribute was added.

In line 4 h3 must now noted instead of the former h5 (in current master
correct).

Next to the last line the class="body" attribute was removed. No longer
necessary.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to