Mattflaschen has uploaded a new change for review.

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

Change subject: Include workflow title in TopicList API response
......................................................................

Include workflow title in TopicList API response

This is already used by the new topic placeholder, but it only works
on the server rendering.

Bug: 72655
Change-Id: Ib571bf0332cd798bfec63be42d24a6074fd9fdf1
---
M includes/Formatter/TopicListFormatter.php
1 file changed, 1 insertion(+), 0 deletions(-)


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

diff --git a/includes/Formatter/TopicListFormatter.php 
b/includes/Formatter/TopicListFormatter.php
index 169c470..dd06e0d 100644
--- a/includes/Formatter/TopicListFormatter.php
+++ b/includes/Formatter/TopicListFormatter.php
@@ -60,6 +60,7 @@
                        $pagingOption
                );
                $title = $listWorkflow->getArticleTitle();
+               $res['title'] = $title->getPrefixedText();
                $saveSortBy = true;
                $res['links']['board-sort']['updated'] = 
$this->urlGenerator->boardLink( $title, 'updated', $saveSortBy )->getLinkURL();
                $res['links']['board-sort']['newest'] = 
$this->urlGenerator->boardLink( $title, 'newest', $saveSortBy )->getLinkURL();

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

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

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

Reply via email to