31 parent::__construct(
$query, $moduleName,
'uc' );
45 $this->commentStore = CommentStore::getStore();
47 $prop = array_flip( $this->params[
'prop'] );
48 $this->fld_ids = isset( $prop[
'ids'] );
49 $this->fld_title = isset( $prop[
'title'] );
50 $this->fld_comment = isset( $prop[
'comment'] );
51 $this->fld_parsedcomment = isset( $prop[
'parsedcomment'] );
52 $this->fld_size = isset( $prop[
'size'] );
53 $this->fld_sizediff = isset( $prop[
'sizediff'] );
54 $this->fld_flags = isset( $prop[
'flags'] );
55 $this->fld_timestamp = isset( $prop[
'timestamp'] );
56 $this->fld_patrolled = isset( $prop[
'patrolled'] );
57 $this->fld_tags = isset( $prop[
'tags'] );
62 $dbSecondary = $this->
getDB();
67 $sort = ( $this->params[
'dir'] ==
'newer' ?
'' :
' DESC' );
68 $op = ( $this->params[
'dir'] ==
'older' ?
'<' :
'>' );
74 if ( isset( $this->params[
'userprefix'] ) ) {
75 $this->multiUserMode =
true;
76 $this->orderBy =
'name';
82 $userIter = call_user_func(
function () use ( $dbSecondary,
$sort, $op,
$fname ) {
86 if ( !is_null( $this->params[
'continue'] ) ) {
87 $continue = explode(
'|', $this->params[
'continue'] );
90 $fromName = $continue[1];
92 $like = $dbSecondary->buildLike( $this->params[
'userprefix'], $dbSecondary->anyString() );
97 $from = $fromName ?
"$op= " . $dbSecondary->addQuotes( $fromName ) :
false;
104 $res = $dbSecondary->select(
106 [
'actor_id',
'user_id' =>
'COALESCE(actor_user,0)',
'user_name' =>
'actor_name' ],
107 array_merge( [
"actor_name$like" ], $from ? [
"actor_name $from" ] : [] ),
109 [
'ORDER BY' => [
"user_name $sort" ],
'LIMIT' => $limit ]
112 $res = $dbSecondary->select(
114 [
'actor_id' =>
'NULL',
'user_id' =>
'rev_user',
'user_name' =>
'rev_user_text' ],
115 array_merge( [
"rev_user_text$like" ], $from ? [
"rev_user_text $from" ] : [] ),
117 [
'DISTINCT',
'ORDER BY' => [
"rev_user_text $sort" ],
'LIMIT' => $limit ]
124 $options = $dbSecondary->unionSupportsOrderAndLimit()
125 ? [
'ORDER BY' => [
"user_name $sort" ],
'LIMIT' => $limit ] : [];
127 $subsql[] = $dbSecondary->selectSQLText(
129 [
'actor_id',
'user_id' =>
'COALESCE(actor_user,0)',
'user_name' =>
'actor_name' ],
130 array_merge( [
"actor_name$like" ], $from ? [
"actor_name $from" ] : [] ),
134 $subsql[] = $dbSecondary->selectSQLText(
135 [
'revision',
'actor' ],
136 [
'actor_id',
'user_id' =>
'rev_user',
'user_name' =>
'rev_user_text' ],
138 [
"rev_user_text$like",
'rev_user != 0' ],
139 $from ? [
"rev_user_text $from" ] : []
142 array_merge( [
'DISTINCT' ],
$options ),
143 [
'actor' => [
'LEFT JOIN',
'rev_user = actor_user' ] ]
145 $subsql[] = $dbSecondary->selectSQLText(
146 [
'revision',
'actor' ],
147 [
'actor_id',
'user_id' =>
'rev_user',
'user_name' =>
'rev_user_text' ],
149 [
"rev_user_text$like",
'rev_user = 0' ],
150 $from ? [
"rev_user_text $from" ] : []
153 array_merge( [
'DISTINCT' ],
$options ),
154 [
'actor' => [
'LEFT JOIN',
'rev_user_text = actor_name' ] ]
156 $sql = $dbSecondary->unionQueries( $subsql,
false ) .
" ORDER BY user_name $sort";
157 $sql = $dbSecondary->limitResult( $sql, $limit );
163 foreach (
$res as $row ) {
164 if ( ++$count >= $limit ) {
165 $fromName = $row->user_name;
170 }
while ( $fromName !==
false );
175 } elseif ( isset( $this->params[
'userids'] ) ) {
176 if ( !count( $this->params[
'userids'] ) ) {
178 $this->
dieWithError( [
'apierror-paramempty', $encParamName ],
"paramempty_$encParamName" );
182 foreach ( $this->params[
'userids'] as $uid ) {
184 $this->
dieWithError( [
'apierror-invaliduserid', $uid ],
'invaliduserid' );
189 $this->orderBy =
'id';
190 $this->multiUserMode = count( $ids ) > 1;
192 $from = $fromId =
false;
193 if ( $this->multiUserMode && !is_null( $this->params[
'continue'] ) ) {
194 $continue = explode(
'|', $this->params[
'continue'] );
197 $fromId = (int)$continue[1];
199 $from =
"$op= $fromId";
206 $res = $dbSecondary->select(
208 [
'actor_id',
'user_id' =>
'actor_user',
'user_name' =>
'actor_name' ],
209 array_merge( [
'actor_user' => $ids ], $from ? [
"actor_id $from" ] : [] ),
211 [
'ORDER BY' =>
"user_id $sort" ]
214 $res = $dbSecondary->select(
216 [
'actor_id' =>
'NULL',
'user_id' =>
'user_id',
'user_name' =>
'user_name' ],
217 array_merge( [
'user_id' => $ids ], $from ? [
"user_id $from" ] : [] ),
219 [
'ORDER BY' =>
"user_id $sort" ]
222 $res = $dbSecondary->select(
224 [
'actor_id',
'user_id',
'user_name' ],
225 array_merge( [
'user_id' => $ids ], $from ? [
"user_id $from" ] : [] ),
227 [
'ORDER BY' =>
"user_id $sort" ],
228 [
'actor' => [
'LEFT JOIN',
'actor_user = user_id' ] ]
232 $batchSize = count( $ids );
235 if ( !count( $this->params[
'user'] ) ) {
238 [
'apierror-paramempty', $encParamName ],
"paramempty_$encParamName"
241 foreach ( $this->params[
'user'] as $u ) {
245 [
'apierror-paramempty', $encParamName ],
"paramempty_$encParamName"
253 if ( $name ===
false ) {
256 [
'apierror-baduser', $encParamName,
wfEscapeWikiText( $u ) ],
"baduser_$encParamName"
259 $names[
$name] =
null;
263 $this->orderBy =
'name';
264 $this->multiUserMode = count( $names ) > 1;
266 $from = $fromName =
false;
267 if ( $this->multiUserMode && !is_null( $this->params[
'continue'] ) ) {
268 $continue = explode(
'|', $this->params[
'continue'] );
271 $fromName = $continue[1];
272 $from =
"$op= " . $dbSecondary->addQuotes( $fromName );
279 $res = $dbSecondary->select(
281 [
'actor_id',
'user_id' =>
'actor_user',
'user_name' =>
'actor_name' ],
282 array_merge( [
'actor_name' => array_keys( $names ) ], $from ? [
"actor_id $from" ] : [] ),
284 [
'ORDER BY' =>
"actor_name $sort" ]
289 $res = $dbSecondary->select(
291 [
'actor_id' =>
'NULL',
'user_id',
'user_name' ],
292 array_merge( [
'user_name' => array_keys( $names ) ], $from ? [
"user_name $from" ] : [] ),
296 $res = $dbSecondary->select(
298 [
'actor_id',
'user_id',
'user_name' ],
299 array_merge( [
'user_name' => array_keys( $names ) ], $from ? [
"user_name $from" ] : [] ),
302 [
'actor' => [
'LEFT JOIN',
'actor_user = user_id' ] ]
305 foreach (
$res as $row ) {
306 $names[$row->user_name] = $row;
308 call_user_func_array(
309 $this->params[
'dir'] ==
'newer' ?
'ksort' :
'krsort', [ &$names, SORT_STRING ]
311 $neg = $op ===
'>' ? -1 : 1;
312 $userIter = call_user_func(
function () use ( $names, $fromName, $neg ) {
313 foreach ( $names as $name => $row ) {
314 if ( $fromName ===
false || $neg * strcmp( $name, $fromName ) <= 0 ) {
321 $batchSize = count( $names );
335 $this->orderBy =
'actor';
339 $limit = $this->params[
'limit'];
341 while ( $userIter->valid() ) {
343 while ( count( $users ) < $batchSize && $userIter->valid() ) {
344 $users[] = $userIter->current();
355 foreach ( [
'actor',
'userid',
'username' ] as $which ) {
356 if ( $this->
prepareQuery( $users, $limit - $count, $which ) ) {
358 $res = $this->
select( __METHOD__, [], $hookData );
359 foreach (
$res as $row ) {
360 $merged[] = [ $row, &$hookData ];
364 $neg = $this->params[
'dir'] ==
'newer' ? 1 : -1;
365 usort( $merged,
function ( $a, $b ) use ( $neg, $batchSize ) {
366 if ( $batchSize === 1 ) {
368 } elseif ( $this->orderBy ===
'id' ) {
369 $ret = $a[0]->rev_user - $b[0]->rev_user;
370 } elseif ( $this->orderBy ===
'name' ) {
371 $ret = strcmp( $a[0]->rev_user_text, $b[0]->rev_user_text );
373 $ret = $a[0]->rev_actor - $b[0]->rev_actor;
384 $ret = $a[0]->rev_id - $b[0]->rev_id;
389 $merged = array_slice( $merged, 0, $limit - $count + 1 );
392 if ( $this->fld_sizediff ) {
394 foreach ( $merged as $data ) {
395 if ( $data[0]->rev_parent_id ) {
396 $revIds[] = $data[0]->rev_parent_id;
399 $this->parentLens = Revision::getParentLengths( $dbSecondary, $revIds );
402 foreach ( $merged as $data ) {
404 $hookData = &$data[1];
405 if ( ++$count > $limit ) {
413 $fit = $this->
processRow( $row, $vals, $hookData ) &&
436 $db = $this->
getDB();
438 $revQuery = Revision::getQueryInfo( [
'page' ] );
443 $revWhere = ActorMigration::newMigration()->getWhere( $db,
'rev_user', $users );
444 if ( !isset( $revWhere[
'orconds'][$which] ) ) {
447 $this->
addWhere( $revWhere[
'orconds'][$which] );
450 $orderUserField =
'rev_actor';
451 $userField = $this->orderBy ===
'actor' ?
'revactor_actor' :
'actor_name';
453 $orderUserField = $this->orderBy ===
'id' ?
'rev_user' :
'rev_user_text';
454 $userField =
$revQuery[
'fields'][$orderUserField];
456 if ( $which ===
'actor' ) {
457 $tsField =
'revactor_timestamp';
458 $idField =
'revactor_rev';
460 $tsField =
'rev_timestamp';
465 if ( !is_null( $this->params[
'continue'] ) ) {
466 $continue = explode(
'|', $this->params[
'continue'] );
467 if ( $this->multiUserMode ) {
469 $modeFlag = array_shift( $continue );
471 $encUser = $db->addQuotes( array_shift( $continue ) );
475 $encTS = $db->addQuotes( $db->timestamp( $continue[0] ) );
476 $encId = (int)$continue[1];
478 $op = ( $this->params[
'dir'] ==
'older' ?
'<' :
'>' );
479 if ( $this->multiUserMode ) {
481 "$userField $op $encUser OR " .
482 "($userField = $encUser AND " .
483 "($tsField $op $encTS OR " .
484 "($tsField = $encTS AND " .
485 "$idField $op= $encId)))"
489 "$tsField $op $encTS OR " .
490 "($tsField = $encTS AND " .
491 "$idField $op= $encId)"
499 if ( !$user->isAllowed(
'deletedhistory' ) ) {
500 $bitmask = Revision::DELETED_USER;
501 } elseif ( !$user->isAllowedAny(
'suppressrevision',
'viewsuppressed' ) ) {
502 $bitmask = Revision::DELETED_USER | Revision::DELETED_RESTRICTED;
507 $this->
addWhere( $db->bitAnd(
'rev_deleted', $bitmask ) .
" != $bitmask" );
511 if ( count( $users ) > 1 ) {
512 $this->
addWhereRange( $orderUserField, $this->params[
'dir'],
null,
null );
517 $this->params[
'dir'], $this->params[
'start'], $this->params[
'end'] );
520 $this->
addWhereRange( $idField, $this->params[
'dir'],
null,
null );
522 $this->
addWhereFld(
'page_namespace', $this->params[
'namespace'] );
524 $show = $this->params[
'show'];
525 if ( $this->params[
'toponly'] ) {
528 if ( !is_null( $show ) ) {
529 $show = array_flip( $show );
531 if ( ( isset( $show[
'minor'] ) && isset( $show[
'!minor'] ) )
532 || ( isset( $show[
'patrolled'] ) && isset( $show[
'!patrolled'] ) )
533 || ( isset( $show[
'autopatrolled'] ) && isset( $show[
'!autopatrolled'] ) )
534 || ( isset( $show[
'autopatrolled'] ) && isset( $show[
'!patrolled'] ) )
535 || ( isset( $show[
'top'] ) && isset( $show[
'!top'] ) )
536 || ( isset( $show[
'new'] ) && isset( $show[
'!new'] ) )
541 $this->
addWhereIf(
'rev_minor_edit = 0', isset( $show[
'!minor'] ) );
542 $this->
addWhereIf(
'rev_minor_edit != 0', isset( $show[
'minor'] ) );
544 'rc_patrolled = ' . RecentChange::PRC_UNPATROLLED,
545 isset( $show[
'!patrolled'] )
548 'rc_patrolled != ' . RecentChange::PRC_UNPATROLLED,
549 isset( $show[
'patrolled'] )
552 'rc_patrolled != ' . RecentChange::PRC_AUTOPATROLLED,
553 isset( $show[
'!autopatrolled'] )
556 'rc_patrolled = ' . RecentChange::PRC_AUTOPATROLLED,
557 isset( $show[
'autopatrolled'] )
559 $this->
addWhereIf( $idField .
' != page_latest', isset( $show[
'!top'] ) );
560 $this->
addWhereIf( $idField .
' = page_latest', isset( $show[
'top'] ) );
561 $this->
addWhereIf(
'rev_parent_id != 0', isset( $show[
'!new'] ) );
562 $this->
addWhereIf(
'rev_parent_id = 0', isset( $show[
'new'] ) );
566 if ( isset( $show[
'patrolled'] ) || isset( $show[
'!patrolled'] ) ||
567 isset( $show[
'autopatrolled'] ) || isset( $show[
'!autopatrolled'] ) || $this->fld_patrolled
569 if ( !$user->useRCPatrol() && !$user->useNPPatrol() ) {
570 $this->
dieWithError(
'apierror-permissiondenied-patrolflag',
'permissiondenied' );
573 $isFilterset = isset( $show[
'patrolled'] ) || isset( $show[
'!patrolled'] ) ||
574 isset( $show[
'autopatrolled'] ) || isset( $show[
'!autopatrolled'] );
577 $isFilterset ?
'JOIN' :
'LEFT JOIN',
582 'rc_timestamp = ' . $tsField,
583 'rc_this_oldid = ' . $idField,
588 $this->
addFieldsIf(
'rc_patrolled', $this->fld_patrolled );
590 if ( $this->fld_tags ) {
593 [
'tag_summary' => [
'LEFT JOIN', [ $idField .
' = ts_rev_id' ] ] ]
598 if ( isset( $this->params[
'tag'] ) ) {
601 [
'change_tag' => [
'INNER JOIN', [ $idField .
' = ct_rev_id' ] ] ]
603 $this->
addWhereFld(
'ct_tag', $this->params[
'tag'] );
619 if ( $row->rev_deleted & Revision::DELETED_TEXT ) {
620 $vals[
'texthidden'] =
true;
625 $vals[
'userid'] = (int)$row->rev_user;
626 $vals[
'user'] = $row->rev_user_text;
627 if ( $row->rev_deleted & Revision::DELETED_USER ) {
628 $vals[
'userhidden'] =
true;
631 if ( $this->fld_ids ) {
632 $vals[
'pageid'] = intval( $row->rev_page );
633 $vals[
'revid'] = intval( $row->rev_id );
636 if ( !is_null( $row->rev_parent_id ) ) {
637 $vals[
'parentid'] = intval( $row->rev_parent_id );
641 $title = Title::makeTitle( $row->page_namespace, $row->page_title );
643 if ( $this->fld_title ) {
647 if ( $this->fld_timestamp ) {
648 $vals[
'timestamp'] =
wfTimestamp( TS_ISO_8601, $row->rev_timestamp );
651 if ( $this->fld_flags ) {
652 $vals[
'new'] = $row->rev_parent_id == 0 && !is_null( $row->rev_parent_id );
653 $vals[
'minor'] = (bool)$row->rev_minor_edit;
654 $vals[
'top'] = $row->page_latest == $row->rev_id;
657 if ( $this->fld_comment || $this->fld_parsedcomment ) {
658 if ( $row->rev_deleted & Revision::DELETED_COMMENT ) {
659 $vals[
'commenthidden'] =
true;
663 $userCanView = Revision::userCanBitfield(
665 Revision::DELETED_COMMENT, $this->getUser()
668 if ( $userCanView ) {
669 $comment = $this->commentStore->getComment(
'rev_comment', $row )->text;
670 if ( $this->fld_comment ) {
671 $vals[
'comment'] = $comment;
674 if ( $this->fld_parsedcomment ) {
680 if ( $this->fld_patrolled ) {
681 $vals[
'patrolled'] = $row->rc_patrolled != RecentChange::PRC_UNPATROLLED;
682 $vals[
'autopatrolled'] = $row->rc_patrolled == RecentChange::PRC_AUTOPATROLLED;
685 if ( $this->fld_size && !is_null( $row->rev_len ) ) {
686 $vals[
'size'] = intval( $row->rev_len );
689 if ( $this->fld_sizediff
690 && !is_null( $row->rev_len )
691 && !is_null( $row->rev_parent_id )
693 $parentLen = isset( $this->parentLens[$row->rev_parent_id] )
694 ? $this->parentLens[$row->rev_parent_id]
696 $vals[
'sizediff'] = intval( $row->rev_len - $parentLen );
699 if ( $this->fld_tags ) {
700 if ( $row->ts_tags ) {
701 $tags = explode(
',', $row->ts_tags );
703 $vals[
'tags'] = $tags;
709 if ( $anyHidden && $row->rev_deleted & Revision::DELETED_RESTRICTED ) {
710 $vals[
'suppressed'] =
true;
717 if ( $this->multiUserMode ) {
718 switch ( $this->orderBy ) {
720 return "id|$row->rev_user|$row->rev_timestamp|$row->rev_id";
722 return "name|$row->rev_user_text|$row->rev_timestamp|$row->rev_id";
724 return "actor|$row->rev_actor|$row->rev_timestamp|$row->rev_id";
727 return "$row->rev_timestamp|$row->rev_id";
734 return 'anon-public-user-private';
763 'userprefix' =>
null,
808 'apihelp-query+usercontribs-param-show',
822 'action=query&list=usercontribs&ucuser=Example'
823 =>
'apihelp-query+usercontribs-example-user',
824 'action=query&list=usercontribs&ucuserprefix=192.0.2.'
825 =>
'apihelp-query+usercontribs-example-ipprefix',
830 return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Usercontribs';
int $wgActorTableSchemaMigrationStage
Actor table schema migration stage.
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
wfEscapeWikiText( $text)
Escapes the given text so that it may be output using addWikiText() without any linking,...
if(defined( 'MW_SETUP_CALLBACK')) $fname
Customization point after all loading (constants, functions, classes, DefaultSettings,...
const PARAM_MAX2
(integer) Max value allowed for the parameter for users with the apihighlimits right,...
const PARAM_DEPRECATED
(boolean) Is the parameter deprecated (will show a warning)?
encodeParamName( $paramName)
This method mangles parameter name based on the prefix supplied to the constructor.
const PARAM_MAX
(integer) Max value allowed for the parameter, for PARAM_TYPE 'integer' and 'limit'.
dieWithError( $msg, $code=null, $data=null, $httpCode=null)
Abort execution with an error.
dieContinueUsageIf( $condition)
Die with the 'badcontinue' error.
const PARAM_TYPE
(string|string[]) Either an array of allowed value strings, or a string type as described below.
const PARAM_DFLT
(null|boolean|integer|string) Default value of the parameter.
extractRequestParams( $parseLimit=true)
Using getAllowedParams(), this function makes an array of the values provided by the user,...
const PARAM_HELP_MSG_PER_VALUE
((string|array|Message)[]) When PARAM_TYPE is an array, this is an array mapping those values to $msg...
const PARAM_MIN
(integer) Lowest value allowed for the parameter, for PARAM_TYPE 'integer' and 'limit'.
const LIMIT_BIG1
Fast query, standard limit.
getResult()
Get the result object.
const PARAM_HELP_MSG
(string|array|Message) Specify an alternative i18n documentation message for this parameter.
const LIMIT_BIG2
Fast query, apihighlimits limit.
getModuleName()
Get the name of the module being executed by this instance.
requireOnlyOneParameter( $params, $required)
Die if none or more than one of a certain set of parameters is set and not false.
const PARAM_ISMULTI
(boolean) Accept multiple pipe-separated values for this parameter (e.g.
This is a base class for all Query modules.
selectNamedDB( $name, $db, $groups)
Selects the query database connection with the given name.
static addTitleInfo(&$arr, $title, $prefix='')
Add information (title and namespace) about a Title object to a result array.
setContinueEnumParameter( $paramName, $paramValue)
Set a query-continue value.
processRow( $row, array &$data, array &$hookData)
Call the ApiQueryBaseProcessRow hook.
resetQueryParams()
Blank the internal arrays with query parameters.
addWhereIf( $value, $condition)
Same as addWhere(), but add the WHERE clauses only if a condition is met.
addWhereRange( $field, $dir, $start, $end, $sort=true)
Add a WHERE clause corresponding to a range, and an ORDER BY clause to sort in the right direction.
addFields( $value)
Add a set of fields to select to the internal array.
addOption( $name, $value=null)
Add an option such as LIMIT or USE INDEX.
addTables( $tables, $alias=null)
Add a set of tables to the internal array.
addTimestampWhereRange( $field, $dir, $start, $end, $sort=true)
Add a WHERE clause corresponding to a range, similar to addWhereRange, but converts $start and $end t...
getDB()
Get the Query database connection (read-only)
addFieldsIf( $value, $condition)
Same as addFields(), but add the fields only if a condition is met.
addJoinConds( $join_conds)
Add a set of JOIN conditions to the internal array.
addWhereFld( $field, $value)
Equivalent to addWhere(array($field => $value))
addWhere( $value)
Add a set of WHERE clauses to the internal array.
This query action adds a list of a specified user's contributions to the output.
getHelpUrls()
Return links to more detailed help pages about the module.
getAllowedParams()
Returns an array of allowed parameters (parameter name) => (default value) or (parameter name) => (ar...
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
__construct(ApiQuery $query, $moduleName)
prepareQuery(array $users, $limit, $which)
Prepares the query and returns the limit of rows requested.
extractRowInfo( $row)
Extract fields from the database row and append them to a result array.
getExamplesMessages()
Returns usage examples for this module.
getCacheMode( $params)
Get the cache mode for the data generated by this module.
This is the main query class.
static setIndexedTagName(array &$arr, $tag)
Set the tag name for numeric-keyed values in XML format.
static isExternal( $username)
Tells whether the username is external or not.
static formatComment( $comment, $title=null, $local=false, $wikiId=null)
This function is called by all recent changes variants, by the page history, and by the user contribu...
static newFromResult( $res)
static newFromName( $name, $validate='valid')
Static factory method for creation from username.
static getCanonicalName( $name, $validate='valid')
Given unvalidated user input, return a canonical username, or false if the username is invalid.
static newFromRow( $row, $data=null)
Create a new user object from a user row.
static isIP( $name)
Does the string match an anonymous IP address?
We use the convention $dbr for read and $dbw for write to help you keep track of whether the database object is a the world will explode Or to be a subsequent write query which succeeded on the master may fail when replicated to the slave due to a unique key collision Replication on the slave will stop and it may take hours to repair the database and get it back online Setting read_only in my cnf on the slave will avoid this but given the dire we prefer to have as many checks as possible We provide a but the wrapper functions like select() and insert() are usually more convenient. They take care of things like table prefixes and escaping for you. If you really need to make your own SQL
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 noclasses just before the function returns a value If you return true
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 noclasses & $ret
Allows to change the fields on the form that will be generated $name
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify $query
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 local account $user
const MIGRATION_WRITE_NEW
const MIGRATION_WRITE_BOTH