r23637 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23636‎ | r23637 | r23638 >
Date:11:53, 2 July 2007
Author:catrope
Status:old
Tags:
Comment:
Merging r23636 into apiedit branch
Modified paths:
  • /branches/apiedit/phase3 (modified) (history)
  • /branches/apiedit/phase3/includes/api/ApiQueryInfo.php (modified) (history)

Diff [purge]

Index: branches/apiedit/phase3/includes/api/ApiQueryInfo.php
@@ -72,7 +72,7 @@
7373 $pageLatest = $pageSet->getCustomField('page_latest');
7474 $pageLength = $pageSet->getCustomField('page_len');
7575
76 - if ($fld_protection) {
 76+ if ($fld_protection && count($titles) > 0) {
7777 $this->addTables('page_restrictions');
7878 $this->addFields(array('pr_page', 'pr_type', 'pr_level', 'pr_expiry'));
7979 $this->addWhereFld('pr_page', array_keys($titles));
Property changes on: branches/apiedit/phase3
___________________________________________________________________
Modified: svnmerge-integrated
8080 - /trunk/phase3:1-23634
8181 + /trunk/phase3:1-23636

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r23636API: Fixing a bug that caused inprop=protection to scream when no...catrope11:52, 2 July 2007

Status & tagging log