MediaWiki  1.23.1
checkExtensions.php
Go to the documentation of this file.
1 <?php
24 require_once __DIR__ . '/../commandLine.inc';
25 require_once 'languages.inc';
26 require_once 'checkLanguage.inc';
27 
28 if ( !class_exists( 'MessageGroups' ) || !class_exists( 'PremadeMediawikiExtensionGroups' ) ) {
29  echo <<<TEXT
30 Please add the Translate extension to LocalSettings.php, and enable the extension groups:
31  require_once 'extensions/Translate/Translate.php';
32  \$wgTranslateEC = array_keys( \$wgTranslateAC );
33 If you still get this message, update Translate to its latest version.
34 
35 TEXT;
36  exit( -1 );
37 }
38 
39 $cli = new CheckExtensionsCLI( $options, $argv[0] );
40 $cli->execute();
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
version
Prior to version
Definition: maintenance.txt:1
add
An extension or a will often add custom code to the function with or without a global variable For someone wanting email notification when an article is shown may add
Definition: hooks.txt:51
$options
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options
Definition: hooks.txt:1530
CheckExtensionsCLI
Definition: checkLanguage.inc:491
$cli
if(!class_exists( 'MessageGroups')||!class_exists( 'PremadeMediawikiExtensionGroups')) $cli
Definition: checkExtensions.php:39
message
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing after in associative array form externallinks including delete and has completed for all link tables default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a message
Definition: hooks.txt:1624