Index: trunk/phase3/includes/api/ApiParse.php |
— | — | @@ -176,6 +176,13 @@ |
177 | 177 | // Return result |
178 | 178 | $result = $this->getResult(); |
179 | 179 | $result_array = array(); |
| 180 | + |
| 181 | + $result_array['title'] = $titleObj->getPrefixedText(); |
| 182 | + |
| 183 | + if ( !is_null( $oldid ) ) { |
| 184 | + $result_array['revid'] = intval( $oldid ); |
| 185 | + } |
| 186 | + |
180 | 187 | if ( $params['redirects'] && !is_null( $redirValues ) ) { |
181 | 188 | $result_array['redirects'] = $redirValues; |
182 | 189 | } |
— | — | @@ -254,10 +261,6 @@ |
255 | 262 | $result_array['iwlinks'] = $this->formatIWLinks( $p_result->getInterwikiLinks() ); |
256 | 263 | } |
257 | 264 | |
258 | | - if ( !is_null( $oldid ) ) { |
259 | | - $result_array['revid'] = intval( $oldid ); |
260 | | - } |
261 | | - |
262 | 265 | $result_mapping = array( |
263 | 266 | 'redirects' => 'r', |
264 | 267 | 'langlinks' => 'll', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -70,6 +70,7 @@ |
71 | 71 | * (bug 26558) list=allusers auprop=groups does not list groups a user is automatically a member of |
72 | 72 | * (bug 26559) list=allusers auprop=rights does not match list=users usprop=rights |
73 | 73 | * (bug 26560) On allusers if limit < total number of users, last user gets duplicate |
| 74 | +* (bug 25135) add "normalized" to action=parse |
74 | 75 | |
75 | 76 | === Languages updated in 1.18 === |
76 | 77 | |