Manual:Defines.php/de

Details
Defines.php contains "a few constants that might be needed during . Note: these constants must all be resolvable at compile time by HipHop, since this file will not be executed during request startup for a compiled MediaWiki." Among the constants are version constants for the benefit of extensions; Unicode normalisation related constants; constants, including those that provide support for ; protocol constants for wfExpandUrl; and flags for Parser::replaceLinkHolders.

Konstanten

 * Datenbank-bezogene Konstanten
 * Gültige Datenbankindexe
 * Operationsbasis-Indexe
 * erscheint nicht auf der Datenbankseite
 * Echte Namensräume
 * Antivirus Ergebniscodes, zum benutzen in
 * Antivirus Ergebniscodes, zum benutzen in
 * Antivirus Ergebniscodes, zum benutzen in
 * Anti-lock flags
 * Datumsformat-Selektoren; verwendet im Speicher der Benutzereinstellungen und von ::date und co.
 * Letzte Änderungen Typ-Kennungen
 * Artikel-Bearbeitungsflags
 * Flags for ::makeList
 * and normalisation related
 * Hook support constants
 * Support for
 * Allowed values for ::$mOutputType
 * Flags for Parser::setFunctionHook
 * Flags for Parser::replaceLinkHolders
 * conditions
 * Protocol constants for
 * Content model ids, used by Content and ContentHandler.
 * Content formats, used by Content and ContentHandler.

Flags
In some cases, bitfields are used for flags. Examples are as follows:

These involve the use of bitwise operators. E.g. if you want to set the EDIT_MINOR flag in $flags to true:

If you want to set both the EDIT_MINOR and EDIT_NEW flags in $flags to true, and all the other flags in $flags to false:

If you want to set the EDIT_MINOR flag in $flags to false:

If you want $isminor to only be true if the EDIT_MINOR flag is set to true in $flags: