r18262 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r18261‎ | r18262 | r18263 >
Date:18:16, 11 December 2006
Author:hashar
Status:old
Tags:
Comment:
'next page' link now point to the first title of the next chunk instead of
pointing to the last title of current chunk.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialAllpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialAllpages.php
@@ -270,6 +270,7 @@
271271 $sk->makeKnownLink( $wgContLang->specialPage( "Allpages" ),
272272 wfMsgHtml ( 'allpages' ) );
273273 if ( isset($dbr) && $dbr && ($n == $this->maxPerPage) && ($s = $dbr->fetchObject( $res )) ) {
 274+ $t = Title::MakeTitle( $s->page_namespace, $s->page_title );
274275 $self = SpecialPage::getTitleFor( 'Allpages' );
275276 $q = 'from=' . $t->getPartialUrl() . ( $namespace ? '&namespace=' . $namespace : '' );
276277 $nextLink = $sk->makeKnownLinkObj( $self, wfMsgHtml( 'nextpage', $t->getText() ), $q );
Index: trunk/phase3/RELEASE-NOTES
@@ -266,6 +266,8 @@
267267 * (bug 8148) Handle non-removable output buffers gracefully when cleaning
268268 buffers for HTTP 304 responses, StreamFile, and Special:Export.
269269 Duplicated code merged into wfResetOutputBuffers() and wfClearOutputBuffers()
 270+* Special:AllPages : 'next page' link now point to the first title of the next
 271+ chunk instead of pointing to the last title of current chunk.
270272
271273
272274 == Languages updated ==