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
Merge "Move PageArchive class to it's own file"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiBase.php
diff --git
a/includes/api/ApiBase.php
b/includes/api/ApiBase.php
index
e249810
..
c03faf0
100644
(file)
--- a/
includes/api/ApiBase.php
+++ b/
includes/api/ApiBase.php
@@
-700,7
+700,7
@@
abstract class ApiBase extends ContextSource {
* @return array
*/
public function extractRequestParams( $parseLimit = true ) {
* @return array
*/
public function extractRequestParams( $parseLimit = true ) {
- // Cache parameters, for performance and to avoid
bug 24
564.
+ // Cache parameters, for performance and to avoid
T26
564.
if ( !isset( $this->mParamCache[$parseLimit] ) ) {
$params = $this->getFinalParams();
$results = [];
if ( !isset( $this->mParamCache[$parseLimit] ) ) {
$params = $this->getFinalParams();
$results = [];
@@
-1326,7
+1326,7
@@
abstract class ApiBase extends ContextSource {
}
if ( !$allowMultiple && count( $valuesList ) != 1 ) {
}
if ( !$allowMultiple && count( $valuesList ) != 1 ) {
- //
Bug 33
482 - Allow entries with | in them for non-multiple values
+ //
T35
482 - Allow entries with | in them for non-multiple values
if ( in_array( $value, $allowedValues, true ) ) {
return $value;
}
if ( in_array( $value, $allowedValues, true ) ) {
return $value;
}