MediaWiki REL1_31
checkExtensions.php
Go to the documentation of this file.
1<?php
24require_once __DIR__ . '/../commandLine.inc';
25require_once 'languages.inc';
26require_once 'checkLanguage.inc';
27
28if ( !class_exists( 'MessageGroups' ) || !class_exists( 'PremadeMediawikiExtensionGroups' ) ) {
29 echo <<<TEXT
30Please add the Translate extension to LocalSettings.php, and enable the extension groups:
31 require_once 'extensions/Translate/Translate.php';
32 \$wgTranslateEC = array_keys( \$wgTranslateAC );
33If you still get this message, update Translate to its latest version.
34
35TEXT;
36 exit( -1 );
37}
38
40$cli->execute();
global $argv
if(!class_exists( 'MessageGroups')||!class_exists( 'PremadeMediawikiExtensionGroups')) $cli
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation 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:2163
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist you will want to construct new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects When constructing you specify which group they belong to You can reuse existing groups(accessed through $special->getFilterGroup)
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:2001
Prior to version