dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1bc360
)
rcfeed: Use wfWikiID() instead of $wgDBname
author
Kunal Mehta
<legoktm@gmail.com>
Sat, 11 Jan 2014 01:52:25 +0000
(17:52 -0800)
committer
Kunal Mehta
<legoktm@gmail.com>
Sat, 11 Jan 2014 01:52:25 +0000
(17:52 -0800)
Change-Id: Id1f408a4c498f23f656298e3453d2a9264e3ac7c
includes/rcfeed/MachineReadableRCFeedFormatter.php
patch
|
blob
|
history
diff --git
a/includes/rcfeed/MachineReadableRCFeedFormatter.php
b/includes/rcfeed/MachineReadableRCFeedFormatter.php
index
565d0eb
..
9321f52
100644
(file)
--- a/
includes/rcfeed/MachineReadableRCFeedFormatter.php
+++ b/
includes/rcfeed/MachineReadableRCFeedFormatter.php
@@
-38,7
+38,7
@@
abstract class MachineReadableRCFeedFormatter implements RCFeedFormatter {
* @see RCFeedFormatter::getLine
*/
public function getLine( array $feed, RecentChange $rc, $actionComment ) {
- global $wgCanonicalServer, $wgScriptPath
, $wgDBname
;
+ global $wgCanonicalServer, $wgScriptPath;
$attrib = $rc->getAttributes();
$packet = array(
@@
-121,7
+121,7
@@
abstract class MachineReadableRCFeedFormatter implements RCFeedFormatter {
$packet['server_url'] = $wgCanonicalServer;
$packet['server_script_path'] = $wgScriptPath ?: '/';
- $packet['wiki'] =
$wgDBname
;
+ $packet['wiki'] =
wfWikiID()
;
return $this->formatArray( $packet );
}