r83854 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83853‎ | r83854 | r83855 >
Date:21:33, 13 March 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix undefined $p from r83797
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryLogEvents.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryLogEvents.php
@@ -384,6 +384,7 @@
385385 }
386386
387387 public function getParamDescription() {
 388+ $p = $this->getModulePrefix();
388389 return array(
389390 'prop' => array(
390391 'Which properties to get',
@@ -399,7 +400,7 @@
400401 ' tags - Lists tags for the event',
401402 ),
402403 'type' => 'Filter log entries to only this type(s)',
403 - 'action' => "Filter log actions to only this type. Overrides {$this->getModulePrefix()}type",
 404+ 'action' => "Filter log actions to only this type. Overrides {$p}type",
404405 'start' => 'The timestamp to start enumerating from',
405406 'end' => 'The timestamp to end enumerating',
406407 'dir' => $this->getDirectionDescription( $p ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r83797* (bug 27670) Ordering by timestamp (and usage of start and end) isn't as cle...reedy23:39, 12 March 2011

Status & tagging log