Manual:$wgLang/de

Details
The user language object is the language object selected in user preferences. It is one of two global language objects, the other was. Siehe die Seite für weitere Informationen.

is initialized towards the end of setup; some hooks are called earlier than that and should avoid using it. Wenn Zweifel bestehen, nutzen Sie zum Überprüfen.

Häufig verwendete Methoden
This is not an exhaustive list, view class above to see a complete listing.


 * delimit a list of strings according to the conventions of the user's language
 * delimit a list of strings according to the conventions of the user's language


 * return the user's language code, for example "en"
 * return the user's language code, for example "en"

Empfohlene Alternative
It is best that new code avoids using global variables when alternatives exist. In the case of, two alternatives exist and can be used:


 * Use an instance of  class to get the language used in that context, e.g. . (see also: Manual:RequestContext.php#Accessors)
 * Use  to get the content language statically, e.g. . (To read more about MediaWikiServices, see )