Index: trunk/phase3/includes/specials/SpecialMostimages.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | function __construct( $name = 'Mostimages' ) { |
36 | 36 | parent::__construct( $name ); |
37 | 37 | } |
38 | | - |
| 38 | + |
39 | 39 | function isExpensive() { return true; } |
40 | 40 | function isSyndicated() { return false; } |
41 | 41 | |
Index: trunk/phase3/includes/ImageGallery.php |
— | — | @@ -144,7 +144,7 @@ |
145 | 145 | * Add an image to the gallery. |
146 | 146 | * |
147 | 147 | * @param $title Title object of the image that is added to the gallery |
148 | | - * @param $html String: additional HTML text to be shown. The name and size of the image are always shown. |
| 148 | + * @param $html String: additional HTML text to be shown. The name and size of the image are always shown. |
149 | 149 | */ |
150 | 150 | function add( $title, $html='' ) { |
151 | 151 | if ( $title instanceof File ) { |
— | — | @@ -276,7 +276,7 @@ |
277 | 277 | . htmlspecialchars( $img->getLastError() ) . '</div>'; |
278 | 278 | } else { |
279 | 279 | $vpad = floor(( 30 + $this->mHeights - $thumb->height ) /2); |
280 | | - |
| 280 | + |
281 | 281 | $imageParameters = array( |
282 | 282 | 'desc-link' => true, |
283 | 283 | 'desc-query' => $descQuery |
— | — | @@ -285,7 +285,7 @@ |
286 | 286 | if ( $text == '' ) { |
287 | 287 | $imageParameters['alt'] = $nt->getText(); |
288 | 288 | } |
289 | | - |
| 289 | + |
290 | 290 | # Set both fixed width and height. Otherwise we might have problems |
291 | 291 | # with the vertical centering of images where height<line-size |
292 | 292 | $thumbhtml = "\n\t\t\t". |