dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6933292
)
Global array for user levels
author
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 24 Oct 2004 16:58:01 +0000
(16:58 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 24 Oct 2004 16:58:01 +0000
(16:58 +0000)
includes/Defines.php
patch
|
blob
|
history
diff --git
a/includes/Defines.php
b/includes/Defines.php
index
6883154
..
ab7507a
100644
(file)
--- a/
includes/Defines.php
+++ b/
includes/Defines.php
@@
-63,7
+63,7
@@
$wgFeedClasses = array(
'atom' => 'AtomFeed',
);
'atom' => 'AtomFeed',
);
-
+/** Maths constants */
define( 'MW_MATH_PNG', 0 );
define( 'MW_MATH_SIMPLE', 1 );
define( 'MW_MATH_HTML', 2 );
define( 'MW_MATH_PNG', 0 );
define( 'MW_MATH_SIMPLE', 1 );
define( 'MW_MATH_HTML', 2 );
@@
-71,4
+71,13
@@
define( 'MW_MATH_SOURCE', 3 );
define( 'MW_MATH_MODERN', 4 );
define( 'MW_MATH_MATHML', 5 );
define( 'MW_MATH_MODERN', 4 );
define( 'MW_MATH_MATHML', 5 );
+/**
+ * User rights management
+ * a big array of string defining a right, that's how they are saved in the
+ * database.
+ */
+$wgAvailableRights = array('read', 'edit', 'move', 'delete', 'undelete',
+'protect', 'block', 'userrights', 'createaccount', 'upload', 'asksql',
+'rollback', 'patrol', 'editinterface', 'siteadmin', 'bot');
+
?>
?>