Bsitu has uploaded a new change for review. https://gerrit.wikimedia.org/r/155849
Change subject: Message on diff page for post should use board title, not UUID ...................................................................... Message on diff page for post should use board title, not UUID Change-Id: If54b7c253c461780ea1d1fbbb351b270a7733feb --- M includes/Formatter/RevisionViewFormatter.php 1 file changed, 4 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow refs/changes/49/155849/1 diff --git a/includes/Formatter/RevisionViewFormatter.php b/includes/Formatter/RevisionViewFormatter.php index 1f81edd..c758745 100644 --- a/includes/Formatter/RevisionViewFormatter.php +++ b/includes/Formatter/RevisionViewFormatter.php @@ -79,12 +79,11 @@ ), 'title' => wfMessage( 'hist' ) ); + + $boardTitle = $row->workflow->getOwnerTitle(); $links['board'] = array( - 'url' => $this->urlGenerator->generateUrl( - $row->workflow, - 'view' - ), - 'title' => $row->workflow->getArticleTitle() + 'url' => $this->urlGenerator->BoardLink( $boardTitle )->getFullURL(), + 'title' => $boardTitle ); if ( $row->revision instanceof PostRevision || $row->revision instanceof PostSummary ) { $links['root'] = array( -- To view, visit https://gerrit.wikimedia.org/r/155849 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If54b7c253c461780ea1d1fbbb351b270a7733feb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Flow Gerrit-Branch: master Gerrit-Owner: Bsitu <bs...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits