Index: trunk/phase3/includes/SpecialVersion.php |
— | — | @@ -250,7 +250,10 @@ |
251 | 251 | * @return mixed |
252 | 252 | */ |
253 | 253 | function arrayToString( $list ) { |
254 | | - if ( ! is_array( $list ) ) { |
| 254 | + if( is_object( $list ) ) { |
| 255 | + $class = get_class( $list ); |
| 256 | + return "($class)"; |
| 257 | + } elseif ( ! is_array( $list ) ) { |
255 | 258 | return $list; |
256 | 259 | } else { |
257 | 260 | $class = get_class( $list[0] ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -103,6 +103,7 @@ |
104 | 104 | * (bug 7993) support mathematical symbol classes |
105 | 105 | * (bug 10007) Allow Block IP to work with Postgrs again. |
106 | 106 | * Add Google Wireless Transcoder to the Unicode editing blacklist |
| 107 | +* (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks |
107 | 108 | |
108 | 109 | |
109 | 110 | == MediaWiki API changes since 1.10 == |