Catrope has uploaded a new change for review.

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

Change subject: [WIP] Pass correct $2 param to 
flow-{hide,delete,suppress}-{post,title}-content
......................................................................

[WIP] Pass correct $2 param to flow-{hide,delete,suppress}-{post,title}-content

This doesn't really help much because wikitext isn't interpreted
in these messages, so now it renders as [/w/index.php?... history]
instead.

I tried returning $message->parse() but that doesn't help either,
because summaries are apparently not allowed to be rich text
so the link gets stripped later.

Bug: T97872
Change-Id: Ie4214b518a28cd1350dc85c66c7f55467a94b6fe
---
M includes/Templating.php
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/43/208843/1

diff --git a/includes/Templating.php b/includes/Templating.php
index cae993d..20d35ac 100644
--- a/includes/Templating.php
+++ b/includes/Templating.php
@@ -179,7 +179,6 @@
                        // Messages: flow-hide-post-content, 
flow-delete-post-content, flow-suppress-post-content
                        //           flow-hide-title-content, 
flow-delete-title-content, flow-suppress-title-content
                        $message = wfMessage( "flow-$state-$type-content", 
$username )
-                               ->rawParams( $this->getUserLinks( $revision ) )
                                ->params( $historyLink );
 
                        if ( !$message->exists() ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4214b518a28cd1350dc85c66c7f55467a94b6fe
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to