r34847 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34846‎ | r34847 | r34848 >
Date:07:16, 15 May 2008
Author:raymond
Status:old
Tags:
Comment:
Add a few CSS classes for styling purposes
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -578,7 +578,7 @@
579579 return;
580580 }
581581 $wgOut->addWikiMsg( 'linkstoimage' );
582 - $wgOut->addHTML( "<ul>\n" );
 582+ $wgOut->addHTML( "<ul class='mw-imagepage-linktoimage'>\n" );
583583
584584 $sk = $wgUser->getSkin();
585585 $count = 0;
@@ -621,7 +621,7 @@
622622 return;
623623
624624 $wgOut->addWikiMsg( 'redirectstofile' );
625 - $wgOut->addHTML( "<ul>\n" );
 625+ $wgOut->addHTML( "<ul class='mw-imagepage-redirectstofile'>\n" );
626626
627627 $sk = $wgUser->getSkin();
628628 while ( $row = $dbr->fetchObject( $res ) ) {
@@ -651,10 +651,10 @@
652652 unset( $dupes[$index] );
653653 }
654654 if ( count( $dupes ) == 0 ) return;
655 -
 655+
656656 $wgOut->addWikiMsg( 'duplicatesoffile' );
657 - $wgOut->addHTML( "<ul>\n" );
658 -
 657+ $wgOut->addHTML( "<ul class='mw-imagepage-duplicates'>\n" );
 658+
659659 $sk = $wgUser->getSkin();
660660 foreach ( $dupes as $file ) {
661661 if ( $file->isLocal() )

Status & tagging log