dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "MimeAnalyzer: Add testcases for mp3 detection"
[lhc/web/wiklou.git]
/
includes
/
actions
/
Action.php
diff --git
a/includes/actions/Action.php
b/includes/actions/Action.php
index
844a0d6
..
e8d9a3e
100644
(file)
--- a/
includes/actions/Action.php
+++ b/
includes/actions/Action.php
@@
-151,7
+151,7
@@
abstract class Action implements MessageLocalizer {
return 'view';
}
return 'view';
}
- $action =
Action
::factory( $actionName, $context->getWikiPage(), $context );
+ $action =
self
::factory( $actionName, $context->getWikiPage(), $context );
if ( $action instanceof Action ) {
return $action->getName();
}
if ( $action instanceof Action ) {
return $action->getName();
}
@@
-259,8
+259,6
@@
abstract class Action implements MessageLocalizer {
}
/**
}
/**
- * Constructor.
- *
* Only public since 1.21
*
* @param Page $page
* Only public since 1.21
*
* @param Page $page
@@
-390,7
+388,7
@@
abstract class Action implements MessageLocalizer {
public function addHelpLink( $to, $overrideBaseUrl = false ) {
global $wgContLang;
$msg = wfMessage( $wgContLang->lc(
public function addHelpLink( $to, $overrideBaseUrl = false ) {
global $wgContLang;
$msg = wfMessage( $wgContLang->lc(
-
Action
::getActionName( $this->getContext() )
+
self
::getActionName( $this->getContext() )
) . '-helppage' );
if ( !$msg->isDisabled() ) {
) . '-helppage' );
if ( !$msg->isDisabled() ) {