Withoutaname has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/133946

Change subject: Add wikitext formatting to "CASCADINGSOURCES"
......................................................................

Add wikitext formatting to "CASCADINGSOURCES"

Change-Id: Ide69a1324b0e84a064a4e5a31e9671838ec5ce4c
---
M includes/parser/CoreParserFunctions.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/46/133946/1

diff --git a/includes/parser/CoreParserFunctions.php 
b/includes/parser/CoreParserFunctions.php
index 4e7e663..278a220 100644
--- a/includes/parser/CoreParserFunctions.php
+++ b/includes/parser/CoreParserFunctions.php
@@ -1139,11 +1139,11 @@
                if ( $parser->incrementExpensiveFunctionCount() ) {
                        $sources = $titleObject->getCascadeProtectionSources();
                        foreach ( $sources[0] as $sourceTitle ) {
-                               $names[] = $sourceTitle->getText();
+                               $names[] = "* " . $sourceTitle->getText();
                        }
                }
 
-               return implode( $names, '|' );
+               return implode( $names, '\n' );
        }
 
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/133946
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide69a1324b0e84a064a4e5a31e9671838ec5ce4c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Withoutaname <drevit...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to