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
resources: Strip '$' and 'mw' from file closures
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryBacklinksprop.php
diff --git
a/includes/api/ApiQueryBacklinksprop.php
b/includes/api/ApiQueryBacklinksprop.php
index
ef02d09
..
bfacc51
100644
(file)
--- a/
includes/api/ApiQueryBacklinksprop.php
+++ b/
includes/api/ApiQueryBacklinksprop.php
@@
-2,8
+2,6
@@
/**
* API module to handle links table back-queries
*
/**
* API module to handle links table back-queries
*
- * Created on Aug 19, 2014
- *
* Copyright © 2014 Wikimedia Foundation and contributors
*
* This program is free software; you can redistribute it and/or modify
* Copyright © 2014 Wikimedia Foundation and contributors
*
* This program is free software; you can redistribute it and/or modify
@@
-90,7
+88,7
@@
class ApiQueryBacklinksprop extends ApiQueryGeneratorBase {
}
/**
}
/**
- * @param ApiPageSet $resultPageSet
+ * @param ApiPageSet
|null
$resultPageSet
*/
private function run( ApiPageSet $resultPageSet = null ) {
$settings = self::$settings[$this->getModuleName()];
*/
private function run( ApiPageSet $resultPageSet = null ) {
$settings = self::$settings[$this->getModuleName()];
@@
-421,7
+419,7
@@
class ApiQueryBacklinksprop extends ApiQueryGeneratorBase {
$settings = self::$settings[$this->getModuleName()];
$name = $this->getModuleName();
$path = $this->getModulePath();
$settings = self::$settings[$this->getModuleName()];
$name = $this->getModuleName();
$path = $this->getModulePath();
- $title =
isset( $settings['exampletitle'] ) ? $settings['exampletitle'] :
'Main Page';
+ $title =
$settings['exampletitle'] ??
'Main Page';
$etitle = rawurlencode( $title );
return [
$etitle = rawurlencode( $title );
return [