dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API: Log all deprecated parameter uses to api-feature-usage.log
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryUserContributions.php
diff --git
a/includes/api/ApiQueryUserContributions.php
b/includes/api/ApiQueryUserContributions.php
index
480a1ab
..
1ef0f35
100644
(file)
--- a/
includes/api/ApiQueryUserContributions.php
+++ b/
includes/api/ApiQueryUserContributions.php
@@
-224,7
+224,6
@@
class ApiQueryContributions extends ApiQueryBase {
$show = $this->params['show'];
if ( $this->params['toponly'] ) { // deprecated/old param
$show = $this->params['show'];
if ( $this->params['toponly'] ) { // deprecated/old param
- $this->logFeatureUsage( 'list=usercontribs&uctoponly' );
$show[] = 'top';
}
if ( !is_null( $show ) ) {
$show[] = 'top';
}
if ( !is_null( $show ) ) {
@@
-491,7
+490,8
@@
class ApiQueryContributions extends ApiQueryBase {
'flags',
'patrolled',
'tags'
'flags',
'patrolled',
'tags'
- )
+ ),
+ ApiBase::PARAM_HELP_MSG_PER_VALUE => array(),
),
'show' => array(
ApiBase::PARAM_ISMULTI => true,
),
'show' => array(
ApiBase::PARAM_ISMULTI => true,