Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -577,7 +577,7 @@ |
578 | 578 | $wgOut->addWikiMsg( 'nolinkstoimage' ); |
579 | 579 | return; |
580 | 580 | } |
581 | | - $wgOut->addHTML( Xml::element( 'h5', null, wfMsg( 'linkstoimage' ) ) . "\n" ); |
| 581 | + $wgOut->addWikiMsg( 'linkstoimage' ); |
582 | 582 | $wgOut->addHTML( "<ul class='mw-imagepage-linktoimage'>\n" ); |
583 | 583 | |
584 | 584 | $sk = $wgUser->getSkin(); |
— | — | @@ -615,11 +615,12 @@ |
616 | 616 | ), |
617 | 617 | __METHOD__ |
618 | 618 | ); |
| 619 | + |
619 | 620 | |
620 | 621 | if ( 0 == $dbr->numRows( $res ) ) |
621 | 622 | return; |
622 | 623 | |
623 | | - $wgOut->addHTML( Xml::element( 'h5', null, wfMsg( 'redirectstofile' ) ) . "\n" ); |
| 624 | + $wgOut->addWikiMsg( 'redirectstofile' ); |
624 | 625 | $wgOut->addHTML( "<ul class='mw-imagepage-redirectstofile'>\n" ); |
625 | 626 | |
626 | 627 | $sk = $wgUser->getSkin(); |
— | — | @@ -651,7 +652,7 @@ |
652 | 653 | } |
653 | 654 | if ( count( $dupes ) == 0 ) return; |
654 | 655 | |
655 | | - $wgOut->addHTML( Xml::element( 'h5', null, wfMsg( 'duplicatesoffile' ) ) . "\n" ); |
| 656 | + $wgOut->addWikiMsg( 'duplicatesoffile' ); |
656 | 657 | $wgOut->addHTML( "<ul class='mw-imagepage-duplicates'>\n" ); |
657 | 658 | |
658 | 659 | $sk = $wgUser->getSkin(); |