Extension:CentralLogging

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎sicilianu • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
CentralLogging
Release status: beta
Implementation other (invalid type)
Description Allows extensions to send log entries to a central wiki
Author(s) Kunal Mehta (Legoktmtalk)
Latest version 1.1 (2018-02-06)
MediaWiki 1.29+
PHP 5.3+
Database changes No
License MIT License
Download
README
Parameters
$wgCentralWiki
Hooks used
SpecialStatsAddExtra
Translate the CentralLogging extension if it is available at translatewiki.net
Check usage and version matrix.

The CentralLogging extension allows your extension to send log entries to a central wiki, rather than split. See the README for more details.

Installation

  • Download and place the file(s) in a directory called CentralLogging in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'CentralLogging' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'CentralLogging' );, you need to use:

require_once "$IP/extensions/CentralLogging/CentralLogging.php";