Index: trunk/phase3/includes/api/ApiQueryAllmessages.php |
— | — | @@ -77,9 +77,10 @@ |
78 | 78 | $result = $this->getResult(); |
79 | 79 | foreach ( $messages_target as $message ) { |
80 | 80 | // Skip all messages up to $params['from'] |
81 | | - if ( $skip && $message === $params['from'] ) { |
| 81 | + if ( $skip && $message === $params['from'] ) |
82 | 82 | $skip = false; |
83 | 83 | |
| 84 | + if ( !$skip ) { |
84 | 85 | $a = array( 'name' => $message ); |
85 | 86 | $msg = wfMsgGetKey( $message, true, false, false ); |
86 | 87 | if ( wfEmptyMsg( $message, $msg ) ) |
— | — | @@ -148,4 +149,4 @@ |
149 | 150 | public function getVersion() { |
150 | 151 | return __CLASS__ . ': $Id$'; |
151 | 152 | } |
152 | | -} |
\ No newline at end of file |
| 153 | +} |
Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -541,7 +541,7 @@ |
542 | 542 | ' 1) Get data about a set of pages (last revision), by setting titles or pageids parameter.', |
543 | 543 | ' 2) Get revisions for one given page, by using titles/pageids with start/end/limit params.', |
544 | 544 | ' 3) Get data about a set of revisions by setting their IDs with revids parameter.', |
545 | | - 'All parameters marked as (enum) may only be used with a single page (//2).' |
| 545 | + 'All parameters marked as (enum) may only be used with a single page (#2).' |
546 | 546 | ); |
547 | 547 | } |
548 | 548 | |