From d0610c03702edf3d5bd937f3567bf9c51b1abbe7 Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Mon, 6 Jan 2014 16:53:43 -0500 Subject: [PATCH] Include namespaces in {{CASCADINGSOURCES}} output Include the namespace of pages in the output of the CASCADINGSOURCES parser function. Change-Id: Ie39ecfb52965c36349e601bee092590a147b5a03 --- includes/parser/CoreParserFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 4e7e663b6c..250442c831 100644 --- 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->getPrefixedText(); } } -- 2.20.1