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:
887fb37
)
Don't require JavaScript for addHelpLink styles
author
Federico Leva
<federicoleva@tiscali.it>
Sat, 7 Mar 2015 17:36:41 +0000
(18:36 +0100)
committer
Federico Leva
<federicoleva@tiscali.it>
Sat, 7 Mar 2015 17:59:35 +0000
(18:59 +0100)
And avoid wfMessage.
Followup to
376c0a13df05f30367b2a89c2cac7bdab22600ed
Bug: T45591
Change-Id: I2f02c2a4db609356ff8be30f260490d19f3226d1
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
33483eb
..
aa282a7
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-1406,8
+1406,8
@@
class OutputPage extends ContextSource {
* @since 1.25
*/
public function addHelpLink( $to, $overrideBaseUrl = false ) {
- $this->addModules( 'mediawiki.helplink' );
- $text =
wfMessage
( 'helppage-top-gethelp' )->escaped();
+ $this->addModule
Style
s( 'mediawiki.helplink' );
+ $text =
$this->msg
( 'helppage-top-gethelp' )->escaped();
if ( $overrideBaseUrl ) {
$helpUrl = $to;