r23012 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23011‎ | r23012 | r23013 >
Date:15:02, 15 June 2007
Author:brion
Status:old
Tags:
Comment:
* (bug 10265) Fix regression in category image gallery paging
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/ImageGallery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImageGallery.php
@@ -147,6 +147,10 @@
148148 * @param $html String: Additional HTML text to be shown. The name and size of the image are always shown.
149149 */
150150 function insert( $title, $html='' ) {
 151+ if ( $title instanceof File ) {
 152+ // Old calling convention
 153+ $title = $title->getTitle();
 154+ }
151155 array_unshift( $this->mImages, array( &$title, $html ) );
152156 }
153157
Index: trunk/phase3/RELEASE-NOTES
@@ -165,6 +165,7 @@
166166 * (bug 10223) Fix edit link in noarticletext localizations for fr, oc
167167 * (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
168168 * (bug 9948) Workaround for diff regression with old Mozilla versions
 169+* (bug 10265) Fix regression in category image gallery paging
169170
170171
171172 == API changes since 1.10 ==

Follow-up revisions

RevisionCommit summaryAuthorDate
r23039Merged revisions 22967-23037 via svnmerge from...david20:15, 16 June 2007

Status & tagging log