dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfcb444
)
Use getActionName() static
author
Federico Leva
<federicoleva@tiscali.it>
Mon, 18 May 2015 20:20:00 +0000
(22:20 +0200)
committer
Nemo bis
<federicoleva@tiscali.it>
Mon, 18 May 2015 20:27:48 +0000
(20:27 +0000)
Change-Id: I3225ecd2b8e4294c28ea0aa664f0246d0d028b11
includes/actions/Action.php
patch
|
blob
|
history
diff --git
a/includes/actions/Action.php
b/includes/actions/Action.php
index
79e859a
..
bb6a4d5
100644
(file)
--- a/
includes/actions/Action.php
+++ b/
includes/actions/Action.php
@@
-386,7
+386,9
@@
abstract class Action {
*/
public function addHelpLink( $to, $overrideBaseUrl = false ) {
global $wgContLang;
- $msg = wfMessage( $wgContLang->lc( $this->getActionName() ) . '-helppage' );
+ $msg = wfMessage( $wgContLang->lc(
+ Action::getActionName( $this->getContext() )
+ ) . '-helppage' );
if ( !$msg->isDisabled() ) {
$helpUrl = Skin::makeUrl( $msg->plain() );