MediaWiki  1.23.12
SpecialListusers.php
Go to the documentation of this file.
1 <?php
35 class UsersPager extends AlphabeticPager {
36 
43  function __construct( IContextSource $context = null, $par = null, $including = null ) {
44  if ( $context ) {
45  $this->setContext( $context );
46  }
47 
48  $request = $this->getRequest();
49  $par = ( $par !== null ) ? $par : '';
50  $parms = explode( '/', $par );
51  $symsForAll = array( '*', 'user' );
52 
53  if ( $parms[0] != '' &&
54  ( in_array( $par, User::getAllGroups() ) || in_array( $par, $symsForAll ) )
55  ) {
56  $this->requestedGroup = $par;
57  $un = $request->getText( 'username' );
58  } elseif ( count( $parms ) == 2 ) {
59  $this->requestedGroup = $parms[0];
60  $un = $parms[1];
61  } else {
62  $this->requestedGroup = $request->getVal( 'group' );
63  $un = ( $par != '' ) ? $par : $request->getText( 'username' );
64  }
65 
66  if ( in_array( $this->requestedGroup, $symsForAll ) ) {
67  $this->requestedGroup = '';
68  }
69  $this->editsOnly = $request->getBool( 'editsOnly' );
70  $this->creationSort = $request->getBool( 'creationSort' );
71  $this->including = $including;
72  $this->mDefaultDirection = $request->getBool( 'desc' );
73 
74  $this->requestedUser = '';
75 
76  if ( $un != '' ) {
77  $username = Title::makeTitleSafe( NS_USER, $un );
78 
79  if ( !is_null( $username ) ) {
80  $this->requestedUser = $username->getText();
81  }
82  }
83 
84  parent::__construct();
85  }
86 
90  function getIndexField() {
91  return $this->creationSort ? 'user_id' : 'user_name';
92  }
93 
97  function getQueryInfo() {
98  $dbr = wfGetDB( DB_SLAVE );
99  $conds = array();
100 
101  // Don't show hidden names
102  if ( !$this->getUser()->isAllowed( 'hideuser' ) ) {
103  $conds[] = 'ipb_deleted IS NULL OR ipb_deleted = 0';
104  }
105 
106  $options = array();
107 
108  if ( $this->requestedGroup != '' ) {
109  $conds['ug_group'] = $this->requestedGroup;
110  }
111 
112  if ( $this->requestedUser != '' ) {
113  # Sorted either by account creation or name
114  if ( $this->creationSort ) {
115  $conds[] = 'user_id >= ' . intval( User::idFromName( $this->requestedUser ) );
116  } else {
117  $conds[] = 'user_name >= ' . $dbr->addQuotes( $this->requestedUser );
118  }
119  }
120 
121  if ( $this->editsOnly ) {
122  $conds[] = 'user_editcount > 0';
123  }
124 
125  $options['GROUP BY'] = $this->creationSort ? 'user_id' : 'user_name';
126 
127  $query = array(
128  'tables' => array( 'user', 'user_groups', 'ipblocks' ),
129  'fields' => array(
130  'user_name' => $this->creationSort ? 'MAX(user_name)' : 'user_name',
131  'user_id' => $this->creationSort ? 'user_id' : 'MAX(user_id)',
132  'edits' => 'MAX(user_editcount)',
133  'numgroups' => 'COUNT(ug_group)',
134  'singlegroup' => 'MAX(ug_group)', // the usergroup if there is only one
135  'creation' => 'MIN(user_registration)',
136  'ipb_deleted' => 'MAX(ipb_deleted)' // block/hide status
137  ),
138  'options' => $options,
139  'join_conds' => array(
140  'user_groups' => array( 'LEFT JOIN', 'user_id=ug_user' ),
141  'ipblocks' => array(
142  'LEFT JOIN', array(
143  'user_id=ipb_user',
144  'ipb_auto' => 0
145  )
146  ),
147  ),
148  'conds' => $conds
149  );
150 
151  wfRunHooks( 'SpecialListusersQueryInfo', array( $this, &$query ) );
152 
153  return $query;
154  }
155 
160  function formatRow( $row ) {
161  if ( $row->user_id == 0 ) { #Bug 16487
162  return '';
163  }
164 
165  $userName = $row->user_name;
166 
167  $ulinks = Linker::userLink( $row->user_id, $userName );
169  $row->user_id,
170  $userName,
171  (int)$row->edits
172  );
173 
174  $lang = $this->getLanguage();
175 
176  $groups = '';
177  $groups_list = self::getGroups( $row->user_id );
178 
179  if ( !$this->including && count( $groups_list ) > 0 ) {
180  $list = array();
181  foreach ( $groups_list as $group ) {
182  $list[] = self::buildGroupLink( $group, $userName );
183  }
184  $groups = $lang->commaList( $list );
185  }
186 
187  $item = $lang->specialList( $ulinks, $groups );
188 
189  if ( $row->ipb_deleted ) {
190  $item = "<span class=\"deleted\">$item</span>";
191  }
192 
193  $edits = '';
194  global $wgEdititis;
195  if ( !$this->including && $wgEdititis ) {
196  // @fixme i18n issue: Hardcoded square brackets.
197  $edits = ' [' .
198  $this->msg( 'usereditcount' )->numParams( $row->edits )->escaped() .
199  ']';
200  }
201 
202  $created = '';
203  # Some rows may be null
204  if ( !$this->including && $row->creation ) {
205  $user = $this->getUser();
206  $d = $lang->userDate( $row->creation, $user );
207  $t = $lang->userTime( $row->creation, $user );
208  $created = $this->msg( 'usercreated', $d, $t, $row->user_name )->escaped();
209  $created = ' ' . $this->msg( 'parentheses' )->rawParams( $created )->escaped();
210  }
211  $blocked = !is_null( $row->ipb_deleted ) ?
212  ' ' . $this->msg( 'listusers-blocked', $userName )->escaped() :
213  '';
214 
215  wfRunHooks( 'SpecialListusersFormatRow', array( &$item, $row ) );
216 
217  return Html::rawElement( 'li', array(), "{$item}{$edits}{$created}{$blocked}" );
218  }
219 
220  function doBatchLookups() {
221  $batch = new LinkBatch();
222  # Give some pointers to make user links
223  foreach ( $this->mResult as $row ) {
224  $batch->add( NS_USER, $row->user_name );
225  $batch->add( NS_USER_TALK, $row->user_name );
226  }
227  $batch->execute();
228  $this->mResult->rewind();
229  }
230 
234  function getPageHeader() {
235  global $wgScript;
236 
237  list( $self ) = explode( '/', $this->getTitle()->getPrefixedDBkey() );
238 
239  # Form tag
241  'form',
242  array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listusers-form' )
243  ) .
244  Xml::fieldset( $this->msg( 'listusers' )->text() ) .
245  Html::hidden( 'title', $self );
246 
247  # Username field
248  $out .= Xml::label( $this->msg( 'listusersfrom' )->text(), 'offset' ) . ' ' .
249  Html::input(
250  'username',
251  $this->requestedUser,
252  'text',
253  array(
254  'id' => 'offset',
255  'size' => 20,
256  'autofocus' => $this->requestedUser === ''
257  )
258  ) . ' ';
259 
260  # Group drop-down list
261  $out .= Xml::label( $this->msg( 'group' )->text(), 'group' ) . ' ' .
262  Xml::openElement( 'select', array( 'name' => 'group', 'id' => 'group' ) ) .
263  Xml::option( $this->msg( 'group-all' )->text(), '' );
264  foreach ( $this->getAllGroups() as $group => $groupText ) {
265  $out .= Xml::option( $groupText, $group, $group == $this->requestedGroup );
266  }
267  $out .= Xml::closeElement( 'select' ) . '<br />';
269  $this->msg( 'listusers-editsonly' )->text(),
270  'editsOnly',
271  'editsOnly',
272  $this->editsOnly
273  );
274  $out .= '&#160;';
276  $this->msg( 'listusers-creationsort' )->text(),
277  'creationSort',
278  'creationSort',
279  $this->creationSort
280  );
281  $out .= '&#160;';
283  $this->msg( 'listusers-desc' )->text(),
284  'desc',
285  'desc',
286  $this->mDefaultDirection
287  );
288  $out .= '<br />';
289 
290  wfRunHooks( 'SpecialListusersHeaderForm', array( $this, &$out ) );
291 
292  # Submit button and form bottom
293  $out .= Html::hidden( 'limit', $this->mLimit );
294  $out .= Xml::submitButton( $this->msg( 'allpagessubmit' )->text() );
295  wfRunHooks( 'SpecialListusersHeader', array( $this, &$out ) );
296  $out .= Xml::closeElement( 'fieldset' ) .
297  Xml::closeElement( 'form' );
298 
299  return $out;
300  }
301 
306  function getAllGroups() {
307  $result = array();
308  foreach ( User::getAllGroups() as $group ) {
309  $result[$group] = User::getGroupName( $group );
310  }
311  asort( $result );
312 
313  return $result;
314  }
315 
320  function getDefaultQuery() {
321  $query = parent::getDefaultQuery();
322  if ( $this->requestedGroup != '' ) {
323  $query['group'] = $this->requestedGroup;
324  }
325  if ( $this->requestedUser != '' ) {
326  $query['username'] = $this->requestedUser;
327  }
328  wfRunHooks( 'SpecialListusersDefaultQuery', array( $this, &$query ) );
329 
330  return $query;
331  }
332 
339  protected static function getGroups( $uid ) {
340  $user = User::newFromId( $uid );
341  $groups = array_diff( $user->getEffectiveGroups(), User::getImplicitGroups() );
342 
343  return $groups;
344  }
345 
353  protected static function buildGroupLink( $group, $username ) {
354  return User::makeGroupLinkHtml(
355  $group,
356  htmlspecialchars( User::getGroupMember( $group, $username ) )
357  );
358  }
359 }
360 
368  public function __construct() {
369  parent::__construct( 'Listusers' );
370  }
371 
377  public function execute( $par ) {
378  $this->setHeaders();
379  $this->outputHeader();
380 
381  $up = new UsersPager( $this->getContext(), $par, $this->including() );
382 
383  # getBody() first to check, if empty
384  $usersbody = $up->getBody();
385 
386  $s = '';
387  if ( !$this->including() ) {
388  $s = $up->getPageHeader();
389  }
390 
391  if ( $usersbody ) {
392  $s .= $up->getNavigationBar();
393  $s .= Html::rawElement( 'ul', array(), $usersbody );
394  $s .= $up->getNavigationBar();
395  } else {
396  $s .= $this->msg( 'listusers-noresult' )->parseAsBlock();
397  }
398 
399  $this->getOutput()->addHTML( $s );
400  }
401 
402  protected function getGroupName() {
403  return 'users';
404  }
405 }
406 
413  function __construct() {
414  parent::__construct( 'Listadmins', 'Listusers', 'sysop' );
415  }
416 }
417 
424  function __construct() {
425  parent::__construct( 'Listbots', 'Listusers', 'bot' );
426  }
427 }
Xml\checkLabel
static checkLabel( $label, $name, $id, $checked=false, $attribs=array())
Convenience function to build an HTML checkbox with a label.
Definition: Xml.php:433
ContextSource\$context
IContextSource $context
Definition: ContextSource.php:33
SpecialListAdmins\__construct
__construct()
Definition: SpecialListusers.php:413
$result
The index of the header message $result[1]=The index of the body text message $result[2 through n]=Parameters passed to body text message. Please note the header message cannot receive/use parameters. 'ImportHandleLogItemXMLTag':When parsing a XML tag in a log item. $reader:XMLReader object $logInfo:Array of information Return false to stop further processing of the tag 'ImportHandlePageXMLTag':When parsing a XML tag in a page. $reader:XMLReader object $pageInfo:Array of information Return false to stop further processing of the tag 'ImportHandleRevisionXMLTag':When parsing a XML tag in a page revision. $reader:XMLReader object $pageInfo:Array of page information $revisionInfo:Array of revision information Return false to stop further processing of the tag 'ImportHandleToplevelXMLTag':When parsing a top level XML tag. $reader:XMLReader object Return false to stop further processing of the tag 'ImportHandleUploadXMLTag':When parsing a XML tag in a file upload. $reader:XMLReader object $revisionInfo:Array of information Return false to stop further processing of the tag 'InfoAction':When building information to display on the action=info page. $context:IContextSource object & $pageInfo:Array of information 'InitializeArticleMaybeRedirect':MediaWiki check to see if title is a redirect. $title:Title object for the current page $request:WebRequest $ignoreRedirect:boolean to skip redirect check $target:Title/string of redirect target $article:Article object 'InterwikiLoadPrefix':When resolving if a given prefix is an interwiki or not. Return true without providing an interwiki to continue interwiki search. $prefix:interwiki prefix we are looking for. & $iwData:output array describing the interwiki with keys iw_url, iw_local, iw_trans and optionally iw_api and iw_wikiid. 'InternalParseBeforeSanitize':during Parser 's internalParse method just before the parser removes unwanted/dangerous HTML tags and after nowiki/noinclude/includeonly/onlyinclude and other processings. Ideal for syntax-extensions after template/parser function execution which respect nowiki and HTML-comments. & $parser:Parser object & $text:string containing partially parsed text & $stripState:Parser 's internal StripState object 'InternalParseBeforeLinks':during Parser 's internalParse method before links but after nowiki/noinclude/includeonly/onlyinclude and other processings. & $parser:Parser object & $text:string containing partially parsed text & $stripState:Parser 's internal StripState object 'InvalidateEmailComplete':Called after a user 's email has been invalidated successfully. $user:user(object) whose email is being invalidated 'IRCLineURL':When constructing the URL to use in an IRC notification. Callee may modify $url and $query, URL will be constructed as $url . $query & $url:URL to index.php & $query:Query string $rc:RecentChange object that triggered url generation 'IsFileCacheable':Override the result of Article::isFileCacheable()(if true) $article:article(object) being checked 'IsTrustedProxy':Override the result of wfIsTrustedProxy() $ip:IP being check $result:Change this value to override the result of wfIsTrustedProxy() 'IsUploadAllowedFromUrl':Override the result of UploadFromUrl::isAllowedUrl() $url:URL used to upload from & $allowed:Boolean indicating if uploading is allowed for given URL 'isValidEmailAddr':Override the result of User::isValidEmailAddr(), for instance to return false if the domain name doesn 't match your organization. $addr:The e-mail address entered by the user & $result:Set this and return false to override the internal checks 'isValidPassword':Override the result of User::isValidPassword() $password:The password entered by the user & $result:Set this and return false to override the internal checks $user:User the password is being validated for 'Language::getMessagesFileName':$code:The language code or the language we 're looking for a messages file for & $file:The messages file path, you can override this to change the location. 'LanguageGetNamespaces':Provide custom ordering for namespaces or remove namespaces. Do not use this hook to add namespaces. Use CanonicalNamespaces for that. & $namespaces:Array of namespaces indexed by their numbers 'LanguageGetMagic':DEPRECATED, use $magicWords in a file listed in $wgExtensionMessagesFiles instead. Use this to define synonyms of magic words depending of the language $magicExtensions:associative array of magic words synonyms $lang:language code(string) 'LanguageGetSpecialPageAliases':DEPRECATED, use $specialPageAliases in a file listed in $wgExtensionMessagesFiles instead. Use to define aliases of special pages names depending of the language $specialPageAliases:associative array of magic words synonyms $lang:language code(string) 'LanguageGetTranslatedLanguageNames':Provide translated language names. & $names:array of language code=> language name $code language of the preferred translations 'LanguageLinks':Manipulate a page 's language links. This is called in various places to allow extensions to define the effective language links for a page. $title:The page 's Title. & $links:Associative array mapping language codes to prefixed links of the form "language:title". & $linkFlags:Associative array mapping prefixed links to arrays of flags. Currently unused, but planned to provide support for marking individual language links in the UI, e.g. for featured articles. 'LinkBegin':Used when generating internal and interwiki links in Linker::link(), before processing starts. Return false to skip default processing and return $ret. See documentation for Linker::link() for details on the expected meanings of parameters. $skin:the Skin object $target:the Title that the link is pointing to & $html:the contents that the< a > tag should have(raw HTML) $result
Definition: hooks.txt:1528
User\newFromId
static newFromId( $id)
Static factory method for creation from a given user ID.
Definition: User.php:412
SpecialListAdmins
Redirect page: Special:ListAdmins --> Special:ListUsers/sysop.
Definition: SpecialListusers.php:412
UsersPager\buildGroupLink
static buildGroupLink( $group, $username)
Format a link to a group description page.
Definition: SpecialListusers.php:353
Linker\userToolLinksRedContribs
static userToolLinksRedContribs( $userId, $userText, $edits=null)
Alias for userToolLinks( $userId, $userText, true );.
Definition: Linker.php:1155
php
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
Definition: skin.txt:62
ContextSource\msg
msg()
Get a Message object with context set Parameters are the same as wfMessage()
Definition: ContextSource.php:175
LinkBatch
Class representing a list of titles The execute() method checks them all for existence and adds them ...
Definition: LinkBatch.php:30
Linker\userLink
static userLink( $userId, $userName, $altUserName=false)
Make user link (or user contributions for unregistered users)
Definition: Linker.php:1072
SpecialPage\getOutput
getOutput()
Get the OutputPage being used for this instance.
Definition: SpecialPage.php:535
SpecialListUsers\execute
execute( $par)
Show the special page.
Definition: SpecialListusers.php:377
SpecialListUsers
Definition: SpecialListusers.php:364
UsersPager\getIndexField
getIndexField()
Definition: SpecialListusers.php:90
wfGetDB
& wfGetDB( $db, $groups=array(), $wiki=false)
Get a Database object.
Definition: GlobalFunctions.php:3706
text
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
Definition: design.txt:12
Xml\option
static option( $text, $value=null, $selected=false, $attribs=array())
Convenience function to build an HTML drop-down list item.
Definition: Xml.php:475
SpecialRedirectToSpecial
Definition: RedirectSpecialPage.php:106
AlphabeticPager
IndexPager with an alphabetic list and a formatted navigation bar.
Definition: Pager.php:743
$s
$s
Definition: mergeMessageFileList.php:156
IncludableSpecialPage
Shortcut to construct an includable special page.
Definition: IncludableSpecialPage.php:29
Html\hidden
static hidden( $name, $value, $attribs=array())
Convenience function to produce an input element with type=hidden.
Definition: Html.php:665
ContextSource\getRequest
getRequest()
Get the WebRequest object.
Definition: ContextSource.php:77
UsersPager\__construct
__construct(IContextSource $context=null, $par=null, $including=null)
Definition: SpecialListusers.php:43
ContextSource\getUser
getUser()
Get the User object.
Definition: ContextSource.php:132
ContextSource\getTitle
getTitle()
Get the Title object.
Definition: ContextSource.php:87
UsersPager\getPageHeader
getPageHeader()
Definition: SpecialListusers.php:234
Xml\openElement
static openElement( $element, $attribs=null)
This opens an XML element.
Definition: Xml.php:109
$dbr
$dbr
Definition: testCompression.php:48
ContextSource\getLanguage
getLanguage()
Get the Language object.
Definition: ContextSource.php:154
UsersPager\getDefaultQuery
getDefaultQuery()
Preserve group and username offset parameters when paging.
Definition: SpecialListusers.php:320
$out
$out
Definition: UtfNormalGenerate.php:167
UsersPager\doBatchLookups
doBatchLookups()
Called from getBody(), before getStartBody() is called and after doQuery() was called.
Definition: SpecialListusers.php:220
SpecialListUsers\__construct
__construct()
Constructor.
Definition: SpecialListusers.php:368
User\getImplicitGroups
static getImplicitGroups()
Get a list of implicit groups.
Definition: User.php:4251
wfRunHooks
wfRunHooks( $event, array $args=array(), $deprecatedVersion=null)
Call hook functions defined in $wgHooks.
Definition: GlobalFunctions.php:4058
UsersPager
This class is used to get a list of user.
Definition: SpecialListusers.php:35
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
SpecialPage\setHeaders
setHeaders()
Sets headers - this should be called from the execute() method of all derived classes!
Definition: SpecialPage.php:352
global
when a variable name is used in a it is silently declared as a new masking the global
Definition: design.txt:93
SpecialListBots
Redirect page: Special:ListBots --> Special:ListUsers/bot.
Definition: SpecialListusers.php:423
ContextSource\setContext
setContext(IContextSource $context)
Set the IContextSource object.
Definition: ContextSource.php:57
Html\input
static input( $name, $value='', $type='text', $attribs=array())
Convenience function to produce an "<input>" element.
Definition: Html.php:648
list
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global list
Definition: deferred.txt:11
SpecialPage\getContext
getContext()
Gets the context this SpecialPage is executed in.
Definition: SpecialPage.php:508
UsersPager\getAllGroups
getAllGroups()
Get a list of all explicit groups.
Definition: SpecialListusers.php:306
$options
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options
Definition: hooks.txt:1530
Title\makeTitleSafe
static makeTitleSafe( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
Definition: Title.php:422
NS_USER_TALK
const NS_USER_TALK
Definition: Defines.php:82
UsersPager\formatRow
formatRow( $row)
Definition: SpecialListusers.php:160
SpecialPage\msg
msg()
Wrapper around wfMessage that sets the current context.
Definition: SpecialPage.php:609
SpecialListBots\__construct
__construct()
Definition: SpecialListusers.php:424
User\getAllGroups
static getAllGroups()
Return the set of defined explicit groups.
Definition: User.php:4222
$user
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a account $user
Definition: hooks.txt:237
User\getGroupMember
static getGroupMember( $group, $username='#')
Get the localized descriptive name for a member of a group, if it exists.
Definition: User.php:4211
IContextSource
Interface for objects which can provide a context on request.
Definition: IContextSource.php:29
User\getGroupName
static getGroupName( $group)
Get the localized descriptive name for a group, if it exists.
Definition: User.php:4199
$self
$self
Definition: doMaintenance.php:54
UsersPager\getQueryInfo
getQueryInfo()
Definition: SpecialListusers.php:97
DB_SLAVE
const DB_SLAVE
Definition: Defines.php:55
User\idFromName
static idFromName( $name)
Get database id given a user name.
Definition: User.php:503
UsersPager\getGroups
static getGroups( $uid)
Get a list of groups the specified user belongs to.
Definition: SpecialListusers.php:339
Xml\closeElement
static closeElement( $element)
Shortcut to close an XML element.
Definition: Xml.php:118
Bug
</pre > ! end ! test Regression with preformatted in< center > ! wikitext< center > Blah</center > ! html< center >< pre > Blah</pre ></center > ! end ! test Bug
Definition: parserTests.txt:1476
as
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
Definition: distributors.txt:9
SpecialListUsers\getGroupName
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
Definition: SpecialListusers.php:402
NS_USER
const NS_USER
Definition: Defines.php:81
$batch
$batch
Definition: linkcache.txt:23
Xml\submitButton
static submitButton( $value, $attribs=array())
Convenience function to build an HTML submit button.
Definition: Xml.php:463
$t
$t
Definition: testCompression.php:65
Html\rawElement
static rawElement( $element, $attribs=array(), $contents='')
Returns an HTML element in a string.
Definition: Html.php:124
Xml\label
static label( $label, $id, $attribs=array())
Convenience function to build an HTML form label.
Definition: Xml.php:374
$query
return true to allow those checks to and false if checking is done use this to change the tables headers temp or archived zone change it to an object instance and return false override the list derivative used the name of the old file when set the default code will be skipped add a value to it if you want to add a cookie that have to vary cache options can modify $query
Definition: hooks.txt:1105
SpecialPage\outputHeader
outputHeader( $summaryMessageKey='')
Outputs a summary message on top of special pages Per default the message key is the canonical name o...
Definition: SpecialPage.php:443
SpecialPage\including
including( $x=null)
Whether the special page is being evaluated via transclusion.
Definition: SpecialPage.php:207
Xml\fieldset
static fieldset( $legend=false, $content=false, $attribs=array())
Shortcut for creating fieldsets.
Definition: Xml.php:563