Index: trunk/phase3/includes/api/ApiQuery.php |
— | — | @@ -275,7 +275,7 @@ |
276 | 276 | $redirValues = array (); |
277 | 277 | foreach ($pageSet->getRedirectTitles() as $titleStrFrom => $titleStrTo) { |
278 | 278 | $redirValues[] = array ( |
279 | | - 'from' => $titleStrFrom, |
| 279 | + 'from' => strval($titleStrFrom), |
280 | 280 | 'to' => $titleStrTo |
281 | 281 | ); |
282 | 282 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -191,6 +191,8 @@ |
192 | 192 | * Cleaned up redirect resolution |
193 | 193 | * Added possibility to obtain all external links through list=exturlusage |
194 | 194 | * (bug 13606) Added archivename to iiprop |
| 195 | +* (bug 11633) Explicitly convert redirect titles to strings due to PHP's |
| 196 | + very weak typing on array keys. |
195 | 197 | |
196 | 198 | === Languages updated in 1.13 === |
197 | 199 | |