diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-03-21 11:49:34 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-03-21 11:49:34 +0100 |
commit | 086ae52d12011746a75f5588e877347bc0457352 (patch) | |
tree | e73263c7a29d0f94fafb874562610e16eb292ba8 /includes/Defines.php | |
parent | 749e7fb2bae7bbda855de3c9e319435b9f698ff7 (diff) |
Update auf MediaWiki 1.12.0
Diffstat (limited to 'includes/Defines.php')
-rw-r--r-- | includes/Defines.php | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/includes/Defines.php b/includes/Defines.php index c923c256..2d6aee5f 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -260,6 +260,27 @@ define( 'UTF8_FFFF', "\xef\xbf\xbf" /*codepointToUtf8( 0xffff )*/ ); define( 'UTF8_HEAD', false ); define( 'UTF8_TAIL', true ); - - - +# Hook support constants +define( 'MW_SUPPORTS_EDITFILTERMERGED', 1 ); +define( 'MW_SUPPORTS_PARSERFIRSTCALLINIT', 1 ); + +# Allowed values for Parser::$mOutputType +# Parameter to Parser::startExternalParse(). +define( 'OT_HTML', 1 ); +define( 'OT_WIKI', 2 ); +define( 'OT_PREPROCESS', 3 ); +define( 'OT_MSG' , 3 ); // b/c alias for OT_PREPROCESS + +# Flags for Parser::setFunctionHook +define( 'SFH_NO_HASH', 1 ); +define( 'SFH_OBJECT_ARGS', 2 ); + +# Flags for Parser::replaceLinkHolders +define( 'RLH_FOR_UPDATE', 1 ); + +# Autopromote conditions (must be here and not in Autopromote.php, so that +# they're loaded for DefaultSettings.php before AutoLoader.php) +define( 'APCOND_EDITCOUNT', 1 ); +define( 'APCOND_AGE', 2 ); +define( 'APCOND_EMAILCONFIRMED', 3 ); +define( 'APCOND_INGROUPS', 4 ); |