dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Segregate right to edit sitewide CSS/JS"
[lhc/web/wiklou.git]
/
includes
/
installer
/
Installer.php
diff --git
a/includes/installer/Installer.php
b/includes/installer/Installer.php
index
0890bc4
..
367149d
100644
(file)
--- a/
includes/installer/Installer.php
+++ b/
includes/installer/Installer.php
@@
-531,7
+531,7
@@
abstract class Installer {
* Installer variables are typically prefixed by an underscore.
*
* @param string $name
* Installer variables are typically prefixed by an underscore.
*
* @param string $name
- * @param mixed $default
+ * @param mixed
|null
$default
*
* @return mixed
*/
*
* @return mixed
*/
@@
-1606,7
+1606,7
@@
abstract class Installer {
}
/**
}
/**
- * Create the first user account, grant it sysop
and bureaucrat
rights
+ * Create the first user account, grant it sysop
, bureaucrat and interface-admin
rights
*
* @return Status
*/
*
* @return Status
*/
@@
-1630,6
+1630,7
@@
abstract class Installer {
$user->addGroup( 'sysop' );
$user->addGroup( 'bureaucrat' );
$user->addGroup( 'sysop' );
$user->addGroup( 'bureaucrat' );
+ $user->addGroup( 'interface-admin' );
if ( $this->getVar( '_AdminEmail' ) ) {
$user->setEmail( $this->getVar( '_AdminEmail' ) );
}
if ( $this->getVar( '_AdminEmail' ) ) {
$user->setEmail( $this->getVar( '_AdminEmail' ) );
}
@@
-1725,13
+1726,10
@@
abstract class Installer {
$GLOBALS['wgLanguageConverterCacheType'] = CACHE_NONE;
// Debug-friendly
$GLOBALS['wgShowExceptionDetails'] = true;
$GLOBALS['wgLanguageConverterCacheType'] = CACHE_NONE;
// Debug-friendly
$GLOBALS['wgShowExceptionDetails'] = true;
+ $GLOBALS['wgShowHostnames'] = true;
// Don't break forms
$GLOBALS['wgExternalLinkTarget'] = '_blank';
// Don't break forms
$GLOBALS['wgExternalLinkTarget'] = '_blank';
- // Extended debugging
- $GLOBALS['wgShowSQLErrors'] = true;
- $GLOBALS['wgShowDBErrorBacktrace'] = true;
-
// Allow multiple ob_flush() calls
$GLOBALS['wgDisableOutputCompression'] = true;
// Allow multiple ob_flush() calls
$GLOBALS['wgDisableOutputCompression'] = true;