Change-Id: Id1f408a4c498f23f656298e3453d2a9264e3ac7c
* @see RCFeedFormatter::getLine
*/
public function getLine( array $feed, RecentChange $rc, $actionComment ) {
* @see RCFeedFormatter::getLine
*/
public function getLine( array $feed, RecentChange $rc, $actionComment ) {
- global $wgCanonicalServer, $wgScriptPath, $wgDBname;
+ global $wgCanonicalServer, $wgScriptPath;
$attrib = $rc->getAttributes();
$packet = array(
$attrib = $rc->getAttributes();
$packet = array(
$packet['server_url'] = $wgCanonicalServer;
$packet['server_script_path'] = $wgScriptPath ?: '/';
$packet['server_url'] = $wgCanonicalServer;
$packet['server_script_path'] = $wgScriptPath ?: '/';
- $packet['wiki'] = $wgDBname;
+ $packet['wiki'] = wfWikiID();
return $this->formatArray( $packet );
}
return $this->formatArray( $packet );
}