Index: trunk/phase3/includes/SpecialAllpages.php |
— | — | @@ -336,16 +336,20 @@ |
337 | 337 | |
338 | 338 | # Do we put a previous link ? |
339 | 339 | if( isset( $prevTitle ) && $pt = $prevTitle->getText() ) { |
340 | | - $q = 'from=' . $prevTitle->getPartialUrl() . ( $namespace ? '&namespace=' . $namespace : '' ); |
341 | | - $prevLink = $sk->makeKnownLinkObj( $self, wfMsgHTML( 'prevpage', $pt ), $q ); |
| 340 | + $q = 'from=' . $prevTitle->getPartialUrl() |
| 341 | + . ( $namespace ? '&namespace=' . $namespace : '' ); |
| 342 | + $prevLink = $sk->makeKnownLinkObj( $self, |
| 343 | + wfMsgHTML( 'prevpage', htmlspecialchars( $pt ) ), $q ); |
342 | 344 | $out2 .= ' | ' . $prevLink; |
343 | 345 | } |
344 | 346 | |
345 | 347 | if( $n == $this->maxPerPage && $s = $dbr->fetchObject($res) ) { |
346 | 348 | # $s is the first link of the next chunk |
347 | 349 | $t = Title::MakeTitle($namespace, $s->page_title); |
348 | | - $q = 'from=' . $t->getPartialUrl() . ( $namespace ? '&namespace=' . $namespace : '' ); |
349 | | - $nextLink = $sk->makeKnownLinkObj( $self, wfMsgHtml( 'nextpage', $t->getText() ), $q ); |
| 350 | + $q = 'from=' . $t->getPartialUrl() |
| 351 | + . ( $namespace ? '&namespace=' . $namespace : '' ); |
| 352 | + $nextLink = $sk->makeKnownLinkObj( $self, |
| 353 | + wfMsgHtml( 'nextpage', htmlspecialchars( $t->getText() ) ), $q ); |
350 | 354 | $out2 .= ' | ' . $nextLink; |
351 | 355 | } |
352 | 356 | $out2 .= "</td></tr></table><hr />"; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -247,8 +247,8 @@ |
248 | 248 | * (bug 13925) Fix bad HTML on search results list |
249 | 249 | * (bug 13934) Fixing the link to GNU General Public License Version 2 |
250 | 250 | * Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-) |
| 251 | +* (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML |
251 | 252 | |
252 | | - |
253 | 253 | === API changes in 1.13 === |
254 | 254 | |
255 | 255 | * Fixing main page display in meta=siteinfo |