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:
3a06dd9
)
Convert underscores to spaces in {{SUBJECTSPACE}}
author
Pavel Selitskas
<p.selitskas@gmail.com>
Thu, 2 May 2013 00:20:11 +0000
(
03:20
+0300)
committer
Tim Starling
<tstarling@wikimedia.org>
Fri, 16 Aug 2013 06:14:00 +0000
(06:14 +0000)
Bug: 46742
Change-Id: I1af2432cb453efff209e5c384eb484cff5440ebb
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
2b6363e
..
ba5c8de
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-2909,7
+2909,7
@@
class Parser {
$value = $this->mTitle->canTalk() ? wfUrlencode( $this->mTitle->getTalkNsText() ) : '';
break;
case 'subjectspace':
- $value =
$this->mTitle->getSubjectNsText(
);
+ $value =
str_replace( '_', ' ', $this->mTitle->getSubjectNsText()
);
break;
case 'subjectspacee':
$value = ( wfUrlencode( $this->mTitle->getSubjectNsText() ) );