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
Fix Special:Import for new schema; make it create page records as needed and hook...
[lhc/web/wiklou.git]
/
includes
/
SpecialDebug.php
diff --git
a/includes/SpecialDebug.php
b/includes/SpecialDebug.php
index
9e8fef7
..
cc82c0a
100644
(file)
--- a/
includes/SpecialDebug.php
+++ b/
includes/SpecialDebug.php
@@
-1,6
+1,8
@@
<?php
/**
* Let developpers receive the full phpinfo output
<?php
/**
* Let developpers receive the full phpinfo output
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
/**
*/
/**
@@
-9,7
+11,7
@@
function wfSpecialDebug() {
global $wgUser, $wgOut;
function wfSpecialDebug() {
global $wgUser, $wgOut;
- if ( ! $wgUser->is
Developer(
) ) {
+ if ( ! $wgUser->is
Allowed('siteadmin'
) ) {
$wgOut->developerRequired();
return;
}
$wgOut->developerRequired();
return;
}