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:
92e97e7
)
Include namespaces in {{CASCADINGSOURCES}} output
author
Jackmcbarn
<jackmcbarn@gmail.com>
Mon, 6 Jan 2014 21:53:43 +0000
(16:53 -0500)
committer
Jackmcbarn
<jackmcbarn@gmail.com>
Mon, 6 Jan 2014 21:53:43 +0000
(16:53 -0500)
Include the namespace of pages in the output of the CASCADINGSOURCES
parser function.
Change-Id: Ie39ecfb52965c36349e601bee092590a147b5a03
includes/parser/CoreParserFunctions.php
patch
|
blob
|
history
diff --git
a/includes/parser/CoreParserFunctions.php
b/includes/parser/CoreParserFunctions.php
index
4e7e663
..
250442c
100644
(file)
--- a/
includes/parser/CoreParserFunctions.php
+++ b/
includes/parser/CoreParserFunctions.php
@@
-1139,7
+1139,7
@@
class CoreParserFunctions {
if ( $parser->incrementExpensiveFunctionCount() ) {
$sources = $titleObject->getCascadeProtectionSources();
foreach ( $sources[0] as $sourceTitle ) {
- $names[] = $sourceTitle->getText();
+ $names[] = $sourceTitle->get
Prefixed
Text();
}
}