Go to the documentation of this file.
14 parent::__construct();
20 $this->user_comment =
'<User comment about action>';
61 $sep = $this->context->msg(
'colon-separator' )->text();
72 $this->context->msg(
'unblocklogentry',
'SomeTitle' )->plain() . $sep .
$this->user_comment,
83 $sep = $this->context->msg(
'colon-separator' )->text();
95 $this->context->msg(
'undeletedarticle',
'SomeTitle' )->plain() . $sep .
$this->user_comment,
108 'newusers',
'newusers',
113 'newusers',
'create',
117 'created new account SomeTitle',
118 'newusers',
'create2',
122 'Account created automatically',
123 'newusers',
'autocreate',
132 $move_params =
array(
133 '4::target' => $this->target->getPrefixedText(),
136 $sep = $this->context->msg(
'colon-separator' )->text();
140 $this->context->msg(
'1movedto2',
'SomeTitle',
'TestTarget' )
149 $this->context->msg(
'1movedto2_redir',
'SomeTitle',
'TestTarget' )
151 'move',
'move_redir',
163 $this->context->msg(
'patrol-log-line',
'revision 777',
'[[SomeTitle]]',
'' )->plain(),
167 '5::previd' =>
'666',
177 $protectParams =
array(
178 '[edit=sysop] (indefinite) [move=sysop] (indefinite)'
180 $sep = $this->context->msg(
'colon-separator' )->text();
184 $this->context->msg(
'protectedarticle',
'SomeTitle ' . $protectParams[0] )
186 'protect',
'protect',
193 $this->context->msg(
'unprotectedarticle',
'SomeTitle' )->plain() . $sep .
$this->user_comment,
194 'protect',
'unprotect',
201 $this->context->msg(
'modifiedarticleprotection',
'SomeTitle ' . $protectParams[0] )
213 $sep = $this->context->msg(
'colon-separator' )->text();
225 $this->context->msg(
'overwroteimage',
'SomeTitle' )->plain() . $sep .
$this->user_comment,
226 'upload',
'overwrite',
267 $logEntry->setPerformer( $this->
user );
268 $logEntry->setTarget( $this->
title );
272 $logEntry->setParameters(
$params );
275 $formatter->setContext( $this->context );
static newFromText( $text, $defaultNamespace=NS_MAIN)
Create a new Title from text, such as what one would find in a link.
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
testIrcMsgForLogTypeBlock()
The testIrcMsgForAction* tests are supposed to cover the hacky LogFormatter::getIRCActionText / bug 3...
static newFromName( $name, $validate='valid')
Static factory method for creation from username.
to move a page</td >< td > &*You are moving the page across *A non empty talk page already exists under the new or *You uncheck the box below In those you will have to move or merge the page manually if desired</td >< td > be sure to &You are responsible for making sure that links continue to point where they are supposed to go Note that the page will &a page at the new title
testIrcMsgForLogTypePatrol()
@covers LogFormatter::getIRCActionText
testIrcMsgForLogTypeNewusers()
@covers LogFormatter::getIRCActionText
static newExtraneousContext(Title $title, $request=array())
Create a new extraneous context.
testIrcMsgForLogTypeProtect()
@covers LogFormatter::getIRCActionText
testIrcMsgForLogTypeMove()
@covers LogFormatter::getIRCActionText
testIrcMsgForLogTypeUpload()
@covers LogFormatter::getIRCActionText
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
testIrcMsgForLogTypeDelete()
@covers LogFormatter::getIRCActionText
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 and we might be restricted by PHP settings such as safe mode or open_basedir We cannot assume that the software even has read access anywhere useful Many shared hosts run all users web applications under the same user
Class for creating log entries manually, for example to inject them into the database.
assertIRCComment( $expected, $type, $action, $params, $comment=null, $msg='')