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