r52620 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52619‎ | r52620 | r52621 >
Date:08:35, 1 July 2009
Author:thomasv
Status:deferred
Tags:
Comment:
minor fix
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -170,7 +170,7 @@
171171 //if the index page exists, find current page number, previous and next pages
172172 list( $links, $params, $attributes ) = pr_parse_index($index_title);
173173
174 - if($params){
 174+ if( $links==null ) {
175175 list($pagenum, $links, $mode) = pr_pageNumber($title->pr_page_num,$params);
176176 $attributes["pagenum"] = $pagenum;
177177 } else {

Status & tagging log