Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -31,10 +31,21 @@ |
32 | 32 | /** |
33 | 33 | * File histories |
34 | 34 | */ |
| 35 | +table.filehistory { |
| 36 | + border:1px solid #ccc; |
| 37 | + border-collapse:collapse; |
| 38 | +} |
| 39 | + |
35 | 40 | table.filehistory th, |
36 | 41 | table.filehistory td { |
37 | 42 | padding: 0 0.2em 0 0.2em; |
| 43 | + vertical-align:top; |
| 44 | + border:1px solid #ccc; |
38 | 45 | } |
39 | 46 | table.filehistory th { |
40 | 47 | text-align: left; |
41 | | -} |
\ No newline at end of file |
| 48 | +} |
| 49 | +table.filehistory td.mw-imagepage-filesize, |
| 50 | +table.filehistory th.mw-imagepage-filesize { |
| 51 | + white-space:nowrap; |
| 52 | +} |
Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -673,7 +673,7 @@ |
674 | 674 | . '<th>' . wfMsgHtml( 'filehist-datetime' ) . '</th>' |
675 | 675 | . '<th>' . wfMsgHtml( 'filehist-user' ) . '</th>' |
676 | 676 | . '<th>' . wfMsgHtml( 'filehist-dimensions' ) . '</th>' |
677 | | - . '<th>' . wfMsgHtml( 'filehist-filesize' ) . '</th>' |
| 677 | + . '<th class="mw-imagepage-filesize">' . wfMsgHtml( 'filehist-filesize' ) . '</th>' |
678 | 678 | . '<th>' . wfMsgHtml( 'filehist-comment' ) . '</th>' |
679 | 679 | . "</tr>\n"; |
680 | 680 | } |
— | — | @@ -686,7 +686,7 @@ |
687 | 687 | global $wgUser, $wgLang, $wgTitle, $wgContLang; |
688 | 688 | $local = $this->img->isLocal(); |
689 | 689 | $row = ''; |
690 | | - |
| 690 | + |
691 | 691 | // Deletion link |
692 | 692 | if( $local && $wgUser->isAllowed( 'delete' ) ) { |
693 | 693 | $row .= '<td>'; |
— | — | @@ -702,7 +702,7 @@ |
703 | 703 | ) . ')'; |
704 | 704 | $row .= '</td>'; |
705 | 705 | } |
706 | | - |
| 706 | + |
707 | 707 | // Reversion link/current indicator |
708 | 708 | $row .= '<td>'; |
709 | 709 | if( $iscur ) { |
— | — | @@ -719,7 +719,7 @@ |
720 | 720 | ) . ')'; |
721 | 721 | } |
722 | 722 | $row .= '</td>'; |
723 | | - |
| 723 | + |
724 | 724 | // Date/time and image link |
725 | 725 | $row .= '<td>'; |
726 | 726 | $url = $iscur ? $this->img->getUrl() : $this->img->getArchiveUrl( $img ); |
— | — | @@ -729,7 +729,7 @@ |
730 | 730 | $wgLang->timeAndDate( $timestamp, true ) |
731 | 731 | ); |
732 | 732 | $row .= '</td>'; |
733 | | - |
| 733 | + |
734 | 734 | // Uploading user |
735 | 735 | $row .= '<td>'; |
736 | 736 | if( $local ) { |
— | — | @@ -738,19 +738,19 @@ |
739 | 739 | $row .= htmlspecialchars( $usertext ); |
740 | 740 | } |
741 | 741 | $row .= '</td>'; |
742 | | - |
| 742 | + |
743 | 743 | // Image dimensions |
744 | 744 | // FIXME: It would be nice to show the duration (sound files) or |
745 | 745 | // width/height/duration (video files) here, but this needs some |
746 | 746 | // additional media handler work |
747 | 747 | $row .= '<td>' . wfMsgHtml( 'widthheight', $width, $height ) . '</td>'; |
748 | | - |
| 748 | + |
749 | 749 | // File size |
750 | | - $row .= '<td>' . $this->skin->formatSize( $size ) . '</td>'; |
751 | | - |
| 750 | + $row .= '<td class="mw-imagepage-filesize">' . $this->skin->formatSize( $size ) . '</td>'; |
| 751 | + |
752 | 752 | // Comment |
753 | 753 | $row .= '<td>' . $this->skin->formatComment( $description, $this->title ) . '</td>'; |
754 | | - |
| 754 | + |
755 | 755 | return "<tr>{$row}</tr>\n"; |
756 | 756 | } |
757 | 757 | |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1195,7 +1195,7 @@ |
1196 | 1196 | * to ensure that client-side caches don't keep obsolete copies of global |
1197 | 1197 | * styles. |
1198 | 1198 | */ |
1199 | | -$wgStyleVersion = '93'; |
| 1199 | +$wgStyleVersion = '94'; |
1200 | 1200 | |
1201 | 1201 | |
1202 | 1202 | # Server-side caching: |