Index: trunk/phase3/includes/ImageGallery.php |
— | — | @@ -147,6 +147,10 @@ |
148 | 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 insert( $title, $html='' ) { |
| 151 | + if ( $title instanceof File ) { |
| 152 | + // Old calling convention |
| 153 | + $title = $title->getTitle(); |
| 154 | + } |
151 | 155 | array_unshift( $this->mImages, array( &$title, $html ) ); |
152 | 156 | } |
153 | 157 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -165,6 +165,7 @@ |
166 | 166 | * (bug 10223) Fix edit link in noarticletext localizations for fr, oc |
167 | 167 | * (bug 10247) Fix IP address regex to avoid false positive IPv6 matches |
168 | 168 | * (bug 9948) Workaround for diff regression with old Mozilla versions |
| 169 | +* (bug 10265) Fix regression in category image gallery paging |
169 | 170 | |
170 | 171 | |
171 | 172 | == API changes since 1.10 == |