Go to the documentation of this file.
35 if ( !$this->plaintext ) {
37 $parts = explode( $wgUserrightsInterwikiDelimiter, $text, 2 );
39 if ( count( $parts ) === 2 ) {
41 htmlspecialchars(
$title->getPrefixedText() ) );
43 if ( $titleLink !==
false ) {
49 return parent::makePageLink(
$title, $parameters );
53 $key = parent::getMessageKey();
63 $params = parent::getMessageParameters();
74 if ( $oldGroups ===
'' ) {
76 } elseif ( is_string( $oldGroups ) ) {
77 $oldGroups = array_map(
'trim', explode(
',', $oldGroups ) );
79 if ( $newGroups ===
'' ) {
81 } elseif ( is_string( $newGroups ) ) {
82 $newGroups = array_map(
'trim', explode(
',', $newGroups ) );
85 $userName = $this->entry->getTarget()->getText();
86 if ( !$this->plaintext && count( $oldGroups ) ) {
87 foreach ( $oldGroups
as &$group ) {
91 if ( !$this->plaintext && count( $newGroups ) ) {
92 foreach ( $newGroups
as &$group ) {
97 $lang = $this->context->getLanguage();
98 if ( count( $oldGroups ) ) {
99 $params[3] = $lang->listToText( $oldGroups );
101 $params[3] = $this->
msg(
'rightsnone' )->text();
103 if ( count( $newGroups ) ) {
106 $params[4] = $lang->listToText( array_values( $newGroups ) );
108 $params[4] = $this->
msg(
'rightsnone' )->text();
static foreignUserLink( $wikiID, $user, $text=null)
Convenience to get a link to a user page on a foreign wiki.
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a and so rather than having a global skin object we just rely on the global User and get the skin with $wgUser and also has some character encoding functions and other locale stuff The current user interface language is instantiated as and the content language as $wgContLang
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
when a variable name is used in a it is silently declared as a new masking the global
presenting them properly to the user as errors is done by the caller $title
static getGroupMember( $group, $username='#')
Get the localized descriptive name for a member of a group, if it exists.
Represents a title within MediaWiki.
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such as