Go to the documentation of this file.
85 const SEND_NONE =
true;
90 const SEND_FEED =
false;
150 if ( is_array(
$type ) ) {
159 if ( !array_key_exists(
$type, self::$changeTypes ) ) {
162 return self::$changeTypes[
$type];
172 return array_search( $rcType, self::$changeTypes,
true ) ?:
"$rcType";
183 return array_keys( self::$changeTypes );
212 $row = $db->selectRow(
213 $rcQuery[
'tables'], $rcQuery[
'fields'], $conds,
$fname, [], $rcQuery[
'joins']
215 if ( $row !==
false ) {
237 throw new BadMethodCallException(
238 'Cannot use ' . __METHOD__
239 .
' when $wgActorTableSchemaMigrationStage has SCHEMA_COMPAT_READ_NEW'
248 'rc_actor' =>
'NULL',
284 'tables' => [
'recentchanges' ] + $commentQuery[
'tables'] + $actorQuery[
'tables'],
307 ] + $commentQuery[
'fields'] + $actorQuery[
'fields'],
308 'joins' => $commentQuery[
'joins'] + $actorQuery[
'joins'],
325 $this->mExtra = $extra;
332 if ( $this->mTitle ===
false ) {
333 $this->mTitle =
Title::makeTitle( $this->mAttribs[
'rc_namespace'], $this->mAttribs[
'rc_title'] );
345 if ( $this->mPerformer ===
false ) {
346 if ( !empty( $this->mAttribs[
'rc_actor'] ) ) {
348 } elseif ( !empty( $this->mAttribs[
'rc_user'] ) ) {
350 } elseif ( !empty( $this->mAttribs[
'rc_user_text'] ) ) {
353 throw new MWException(
'RecentChange object lacks rc_actor, rc_user, and rc_user_text' );
369 public function save( $send = self::SEND_FEED ) {
372 if ( is_string( $send ) ) {
376 $send = self::SEND_NONE;
380 if ( !is_array( $this->mExtra ) ) {
385 $this->mAttribs[
'rc_ip'] =
'';
388 # Strict mode fixups (not-NULL fields)
389 foreach ( [
'minor',
'bot',
'new',
'patrolled',
'deleted' ]
as $field ) {
390 $this->mAttribs[
"rc_$field"] = (int)$this->mAttribs[
"rc_$field"];
392 # ...more fixups (NULL fields)
393 foreach ( [
'old_len',
'new_len' ]
as $field ) {
394 $this->mAttribs[
"rc_$field"] = isset( $this->mAttribs[
"rc_$field"] )
395 ? (int)$this->mAttribs[
"rc_$field"]
399 # If our database is strict about IP addresses, use NULL instead of an empty string
400 $strictIPs = in_array( $dbw->getType(), [
'oracle',
'postgres' ] );
401 if ( $strictIPs && $this->mAttribs[
'rc_ip'] ==
'' ) {
402 unset( $this->mAttribs[
'rc_ip'] );
405 # Trim spaces on user supplied text
406 $this->mAttribs[
'rc_comment'] = trim( $this->mAttribs[
'rc_comment'] );
408 # Fixup database timestamps
409 $this->mAttribs[
'rc_timestamp'] = $dbw->timestamp( $this->mAttribs[
'rc_timestamp'] );
411 # # If we are using foreign keys, an entry of 0 for the page_id will fail, so use NULL
412 if ( $this->mAttribs[
'rc_cur_id'] == 0 ) {
413 unset( $this->mAttribs[
'rc_cur_id'] );
418 # Convert mAttribs['rc_comment'] for CommentStore
419 $comment = $row[
'rc_comment'];
420 unset( $row[
'rc_comment'], $row[
'rc_comment_text'], $row[
'rc_comment_data'] );
423 # Convert mAttribs['rc_user'] etc for ActorMigration
425 $row[
'rc_user'] ??
null,
426 $row[
'rc_user_text'] ??
null,
427 $row[
'rc_actor'] ??
null
429 unset( $row[
'rc_user'], $row[
'rc_user_text'], $row[
'rc_actor'] );
432 # Don't reuse an existing rc_id for the new row, if one happens to be
433 # set for some reason.
434 unset( $row[
'rc_id'] );
437 $dbw->insert(
'recentchanges', $row, __METHOD__ );
440 $this->mAttribs[
'rc_id'] = $dbw->insertId();
447 if (
count( $this->tags ) ) {
449 $this->mAttribs[
'rc_this_oldid'], $this->mAttribs[
'rc_logid'],
null, $this );
452 if ( $send === self::SEND_FEED ) {
457 # E-mail notifications
469 $dbw->onTransactionCommitOrIdle(
472 $enotif->notifyOnPageChange(
475 $this->mAttribs[
'rc_timestamp'],
476 $this->mAttribs[
'rc_comment'],
477 $this->mAttribs[
'rc_minor'],
478 $this->mAttribs[
'rc_last_oldid'],
479 $this->mExtra[
'pageStatus']
488 if ( $this->mAttribs[
'rc_user'] > 0 ) {
499 if ( $feeds ===
null ) {
507 'omit_bots' =>
false,
508 'omit_anon' =>
false,
509 'omit_user' =>
false,
510 'omit_minor' =>
false,
511 'omit_patrolled' =>
false,
515 (
$params[
'omit_bots'] && $this->mAttribs[
'rc_bot'] ) ||
516 (
$params[
'omit_anon'] && $performer->isAnon() ) ||
517 (
$params[
'omit_user'] && !$performer->isAnon() ) ||
518 (
$params[
'omit_minor'] && $this->mAttribs[
'rc_minor'] ) ||
519 (
$params[
'omit_patrolled'] && $this->mAttribs[
'rc_patrolled'] ) ||
525 $actionComment = $this->mExtra[
'actionCommentIRC'] ??
null;
528 $feed->notify( $this, $actionComment );
543 $scheme = parse_url( $uri, PHP_URL_SCHEME );
545 throw new MWException(
"Invalid RCFeed uri: '$uri'" );
548 throw new MWException(
"Unknown RCFeedEngine scheme: '$scheme'" );
550 if ( defined(
'MW_PHPUNIT_TEST' ) && is_object(
$wgRCEngines[$scheme] ) ) {
576 return $change->doMarkPatrolled( $wgUser,
$auto,
$tags );
594 if (
$tags ===
null ) {
596 } elseif ( is_string(
$tags ) ) {
605 $this->
getAttribute(
'rc_log_type' ) ==
'upload' ) ) ) {
606 $errors[] = [
'rcpatroldisabled' ];
609 $right =
$auto ?
'autopatrol' :
'patrol';
610 $errors = array_merge( $errors, $this->
getTitle()->getUserPermissionsErrors( $right,
$user ) );
614 $errors[] = [
'hookaborted' ];
621 $errors[] = [
'markedaspatrollederror-noautopatrol' ];
636 'MarkPatrolledComplete',
652 'rc_patrolled' => self::PRC_PATROLLED
661 $this->
getTitle()->invalidateCache();
663 return $dbw->affectedRows();
686 $timestamp,
$title, $minor,
$user, $comment, $oldId, $lastTimestamp,
687 $bot, $ip =
'', $oldSize = 0, $newSize = 0, $newId = 0, $patrol = 0,
692 $rc->mPerformer =
$user;
694 'rc_timestamp' => $timestamp,
695 'rc_namespace' =>
$title->getNamespace(),
696 'rc_title' =>
$title->getDBkey(),
699 'rc_minor' => $minor ? 1 : 0,
700 'rc_cur_id' =>
$title->getArticleID(),
701 'rc_user' =>
$user->getId(),
702 'rc_user_text' =>
$user->getName(),
703 'rc_actor' =>
$user->getActorId(),
704 'rc_comment' => &$comment,
705 'rc_comment_text' => &$comment,
706 'rc_comment_data' =>
null,
707 'rc_this_oldid' => $newId,
708 'rc_last_oldid' => $oldId,
709 'rc_bot' => $bot ? 1 : 0,
711 'rc_patrolled' => intval( $patrol ),
712 'rc_new' => 0, # obsolete
713 'rc_old_len' => $oldSize,
714 'rc_new_len' => $newSize,
717 'rc_log_type' =>
null,
718 'rc_log_action' =>
'',
723 'prefixedDBkey' =>
$title->getPrefixedDBkey(),
724 'lastTimestamp' => $lastTimestamp,
725 'oldSize' => $oldSize,
726 'newSize' => $newSize,
727 'pageStatus' =>
'changed'
732 $rc->addTags(
$tags );
761 $ip =
'', $size = 0, $newId = 0, $patrol = 0,
$tags = []
765 $rc->mPerformer =
$user;
767 'rc_timestamp' => $timestamp,
768 'rc_namespace' =>
$title->getNamespace(),
769 'rc_title' =>
$title->getDBkey(),
772 'rc_minor' => $minor ? 1 : 0,
773 'rc_cur_id' =>
$title->getArticleID(),
774 'rc_user' =>
$user->getId(),
775 'rc_user_text' =>
$user->getName(),
776 'rc_actor' =>
$user->getActorId(),
777 'rc_comment' => &$comment,
778 'rc_comment_text' => &$comment,
779 'rc_comment_data' =>
null,
780 'rc_this_oldid' => $newId,
781 'rc_last_oldid' => 0,
782 'rc_bot' => $bot ? 1 : 0,
784 'rc_patrolled' => intval( $patrol ),
785 'rc_new' => 1, # obsolete
787 'rc_new_len' => $size,
790 'rc_log_type' =>
null,
791 'rc_log_action' =>
'',
796 'prefixedDBkey' =>
$title->getPrefixedDBkey(),
797 'lastTimestamp' => 0,
800 'pageStatus' =>
'created'
805 $rc->addTags(
$tags );
831 $action, $target, $logComment,
$params, $newId = 0, $actionCommentIRC =
''
835 # Don't add private logs to RC!
840 $target, $logComment,
$params, $newId, $actionCommentIRC );
864 $type, $action, $target, $logComment,
$params, $newId = 0, $actionCommentIRC =
'',
865 $revId = 0, $isPatrollable =
false ) {
868 # # Get pageStatus for email notification
869 switch (
$type .
'-' . $action ) {
870 case 'delete-delete':
871 case 'delete-delete_redir':
872 $pageStatus =
'deleted';
875 case 'move-move_redir':
876 $pageStatus =
'moved';
878 case 'delete-restore':
879 $pageStatus =
'restored';
881 case 'upload-upload':
882 $pageStatus =
'created';
884 case 'upload-overwrite':
886 $pageStatus =
'changed';
891 $markPatrolled = $isPatrollable ?
$user->isAllowed(
'autopatrol' ) :
true;
894 $rc->mTitle = $target;
895 $rc->mPerformer =
$user;
897 'rc_timestamp' => $timestamp,
898 'rc_namespace' => $target->getNamespace(),
899 'rc_title' => $target->getDBkey(),
903 'rc_cur_id' => $target->getArticleID(),
904 'rc_user' =>
$user->getId(),
905 'rc_user_text' =>
$user->getName(),
906 'rc_actor' =>
$user->getActorId(),
907 'rc_comment' => &$logComment,
908 'rc_comment_text' => &$logComment,
909 'rc_comment_data' =>
null,
910 'rc_this_oldid' => $revId,
911 'rc_last_oldid' => 0,
912 'rc_bot' =>
$user->isAllowed(
'bot' ) ? (int)
$wgRequest->getBool(
'bot',
true ) : 0,
915 'rc_new' => 0, # obsolete
916 'rc_old_len' =>
null,
917 'rc_new_len' =>
null,
919 'rc_logid' => $newId,
920 'rc_log_type' =>
$type,
921 'rc_log_action' => $action,
926 'prefixedDBkey' =>
$title->getPrefixedDBkey(),
927 'lastTimestamp' => 0,
928 'actionComment' => $actionComment,
929 'pageStatus' => $pageStatus,
930 'actionCommentIRC' => $actionCommentIRC
959 Title $categoryTitle,
975 if ( $added !==
null ) {
980 $rc->mTitle = $categoryTitle;
981 $rc->mPerformer =
$user;
983 'rc_timestamp' => $timestamp,
985 'rc_title' => $categoryTitle->
getDBkey(),
991 'rc_user_text' =>
$user ?
$user->getName() :
'',
992 'rc_actor' =>
$user ?
$user->getActorId() :
null,
993 'rc_comment' => &$comment,
994 'rc_comment_text' => &$comment,
995 'rc_comment_data' =>
null,
996 'rc_this_oldid' => $newRevId,
997 'rc_last_oldid' => $oldRevId,
998 'rc_bot' => $bot ? 1 : 0,
1001 'rc_new' => 0, # obsolete
1002 'rc_old_len' =>
null,
1003 'rc_new_len' =>
null,
1004 'rc_deleted' => $deleted,
1006 'rc_log_type' =>
null,
1007 'rc_log_action' =>
'',
1013 'lastTimestamp' => $lastTimestamp,
1016 'pageStatus' =>
'changed'
1041 $this->mAttribs = get_object_vars( $row );
1042 $this->mAttribs[
'rc_timestamp'] =
wfTimestamp( TS_MW, $this->mAttribs[
'rc_timestamp'] );
1044 $this->mAttribs[
'rc_deleted'] = $row->rc_deleted;
1046 if ( isset( $this->mAttribs[
'rc_ip'] ) ) {
1048 $n = strpos( $this->mAttribs[
'rc_ip'],
'/' );
1049 if ( $n !==
false ) {
1050 $this->mAttribs[
'rc_ip'] = substr( $this->mAttribs[
'rc_ip'], 0, $n );
1058 $this->mAttribs[
'rc_comment'] = &$comment;
1059 $this->mAttribs[
'rc_comment_text'] = &$comment;
1060 $this->mAttribs[
'rc_comment_data'] =
null;
1063 $this->mAttribs[
'rc_user'] ??
null,
1064 $this->mAttribs[
'rc_user_text'] ??
null,
1065 $this->mAttribs[
'rc_actor'] ??
null
1067 $this->mAttribs[
'rc_user'] =
$user->getId();
1068 $this->mAttribs[
'rc_user_text'] =
$user->getName();
1069 $this->mAttribs[
'rc_actor'] =
$user->getActorId();
1079 if (
$name ===
'rc_comment' ) {
1081 ->getComment(
'rc_comment', $this->mAttribs,
true )->text;
1084 if (
$name ===
'rc_user' ||
$name ===
'rc_user_text' ||
$name ===
'rc_actor' ) {
1086 $this->mAttribs[
'rc_user'] ??
null,
1087 $this->mAttribs[
'rc_user_text'] ??
null,
1088 $this->mAttribs[
'rc_actor'] ??
null
1090 if (
$name ===
'rc_user' ) {
1091 return $user->getId();
1093 if (
$name ===
'rc_user_text' ) {
1094 return $user->getName();
1096 if (
$name ===
'rc_actor' ) {
1097 return $user->getActorId();
1101 return $this->mAttribs[
$name] ??
null;
1118 if ( $this->mAttribs[
'rc_type'] ==
RC_EDIT ) {
1119 $trail =
"curid=" . (int)( $this->mAttribs[
'rc_cur_id'] ) .
1120 "&oldid=" . (int)( $this->mAttribs[
'rc_last_oldid'] );
1122 $trail .=
'&diff=0';
1124 $trail .=
'&diff=' . (int)( $this->mAttribs[
'rc_this_oldid'] );
1142 $old = $this->mAttribs[
'rc_old_len'];
1145 $new = $this->mAttribs[
'rc_new_len'];
1147 if ( $old ===
null || $new ===
null ) {
1158 throw new MWException(
"Attempt to write \"" . $ip .
1159 "\" as an IP address into recent changes" );
1196 Wikimedia\suppressWarnings();
1198 Wikimedia\restoreWarnings();
1200 return $unserializedParams;
1212 if ( is_string(
$tags ) ) {
1213 $this->tags[] =
$tags;
1215 $this->tags = array_merge(
$tags, $this->tags );
getCharacterDifference( $old=0, $new=0)
Returns the change size (HTML).
save( $send=self::SEND_FEED)
Writes the data in this object to the database.
static getQueryInfo()
Return the tables, fields, and join conditions to be selected to create a new recentchanges object.
return true to allow those checks to and false if checking is done & $user
static newFromId( $id)
Static factory method for creation from a given user ID.
const SCHEMA_COMPAT_READ_NEW
array $tags
List of tags to apply.
This is to display changes made to all articles linked in an article.
static newForCategorization( $timestamp, Title $categoryTitle, User $user=null, $comment, Title $pageTitle, $oldRevId, $newRevId, $lastTimestamp, $bot, $ip='', $deleted=0, $added=null)
Constructs a RecentChange object for the given categorization This does not call save() on the object...
static newFromConds( $conds, $fname=__METHOD__, $dbType=DB_REPLICA)
Find the first recent change matching some specific conditions.
$wgShowUpdatedMarker
Show "Updated (since my last visit)" marker in RC view, watchlist and history view for watched pages ...
getPrefixedDBkey()
Get the prefixed database key form.
static record( $rc, $auto=false, User $user=null, $tags=null)
Record a log event for a change being patrolled.
Utility class for creating new RC entries.
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
getArticleID( $flags=0)
Get the article ID for this Title from the link cache, adding it if necessary.
static notifyLog( $timestamp, $title, $user, $actionComment, $ip, $type, $action, $target, $logComment, $params, $newId=0, $actionCommentIRC='')
static getEngine( $uri, $params=[])
loadFromRow( $row)
Initialises the members of this object from a mysql row object.
static getChangeTypes()
Get an array of all change types.
reallyMarkPatrolled()
Mark this RecentChange patrolled, without error checking.
static newFromName( $name, $validate='valid')
Static factory method for creation from username.
int $counter
Line number of recent change.
static newFromAnyId( $userId, $userName, $actorId)
Static factory method for creation from an ID, name, and/or actor ID.
static parseToRCType( $type)
Parsing text to RC_* constants.
$wgUseRCPatrol
Use RC Patrolling to check for vandalism (from recent changes and watchlists) New pages and new files...
$wgUseNPPatrol
Use new page patrolling to check new pages on Special:Newpages.
static newCacheUpdateJob()
static newMigration()
Static constructor.
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
parseParams()
Parses and returns the rc_params attribute.
$wgPutIPinRC
Log IP addresses in the recentchanges table; can be accessed only by extensions (e....
getDBkey()
Get the main part with underscores.
namespace and then decline to actually register it file or subcat img or subcat $title
static factory(Title $title)
Create a WikiPage object of the appropriate class for the given title.
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
getNamespace()
Get the namespace index, i.e.
wfGetDB( $db, $groups=[], $wiki=false)
Get a Database object.
null for the wiki Added in
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 an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing & $attribs
static notifyEdit( $timestamp, $title, $minor, $user, $comment, $oldId, $lastTimestamp, $bot, $ip='', $oldSize=0, $newSize=0, $newId=0, $patrol=0, $tags=[])
Makes an entry in the database corresponding to an edit.
$wgRCFeeds
Recentchanges items are periodically purged; entries older than this many seconds will go.
as see the revision history and available at free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use
static makeTitle( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
diffLinkTrail( $forceCur)
Gets the end part of the diff URL associated with this object Blank if no diff link should be display...
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))
passed in as a query string parameter to the various URLs constructed here(i.e. $prevlink) $ldel you ll need to handle error etc yourself modifying $error and returning true will cause the contents of $error to be echoed at the top of the edit form as wikitext Return true without altering $error to allow the edit to proceed & $editor
$wgUseFilePatrol
Use file patrolling to check new files on Special:Newfiles.
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers 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 true if there is text before this autocomment $auto
if(defined( 'MW_SETUP_CALLBACK')) $fname
Customization point after all loading (constants, functions, classes, DefaultSettings,...
Allows to change the fields on the form that will be generated $name
static newFromId( $rcid)
Obtain the recent change with a given rc_id value.
doMarkPatrolled(User $user, $auto=false, $tags=null)
Mark this RecentChange as patrolled.
$wgLogRestrictions
This restricts log access to those who have a certain right Users without this will not see it in the...
$wgRCMaxAge
Recentchanges items are periodically purged; entries older than this many seconds will go.
static showCharacterDifference( $old, $new, IContextSource $context=null)
Show formatted char difference.
static markPatrolled( $change, $auto=false, $tags=null)
Mark a given change as patrolled.
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation use $formDescriptor instead default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a message
addTags( $tags)
Tags to append to the recent change, and associated revision/log.
getAttribute( $name)
Get an attribute value.
static checkIPAddress( $ip)
static newLogEntry( $timestamp, $title, $user, $actionComment, $ip, $type, $action, $target, $logComment, $params, $newId=0, $actionCommentIRC='', $revId=0, $isPatrollable=false)
unserialize( $serialized)
Represents a title within MediaWiki.
static selectFields()
Return the list of recentchanges fields that should be selected to create a new recentchanges object.
static singleton( $domain=false)
static notifyNew( $timestamp, $title, $minor, $user, $comment, $bot, $ip='', $size=0, $newId=0, $patrol=0, $tags=[])
Makes an entry in the database corresponding to page creation Note: the title object must be loaded w...
static parseFromRCType( $rcType)
Parsing RC_* constants to human-readable test.
$wgRCEngines
Used by RecentChange::getEngine to find the correct engine for a given URI scheme.
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
static factory(array $params)
static isInRCLifespan( $timestamp, $tolerance=0)
Check whether the given timestamp is new enough to have a RC row with a given tolerance as the recent...
static newFromActorId( $id)
Static factory method for creation from a given actor ID.
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults error
notifyRCFeeds(array $feeds=null)
Notify all the feeds about the change.
getPerformer()
Get the User object of the person who performed this change.
This module processes the email notifications when the current page is changed.
if(! $wgDBerrorLogTZ) $wgRequest
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
static addCallableUpdate( $callable, $stage=self::POSTSEND, $dbw=null)
Add a callable update.
static run( $event, array $args=[], $deprecatedVersion=null)
Call hook functions defined in Hooks::register and $wgHooks.
static array $changeTypes
Array of change types.
getParam( $name)
Get a parameter value.
static isIPAddress( $ip)
Determine if a string is as valid IP address or network (CIDR prefix).
isAllowed( $action='')
Internal mechanics of testing a permission.
int $wgActorTableSchemaMigrationStage
Actor table schema migration stage.