jenkins-bot has submitted this change and it was merged.
Change subject: Make topic history full width
......................................................................
Make topic history full width
Generate a proper page class for the topic history page
so that the topic page layout does not apply.
Bug: T93028
Change-Id: I2110c616f265b7227bd8c36d6cfcc7ae37401757
---
M includes/View.php
1 file changed, 5 insertions(+), 1 deletion(-)
Approvals:
Mooeypoo: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/View.php b/includes/View.php
index 54f7398..35423aa 100644
--- a/includes/View.php
+++ b/includes/View.php
@@ -229,8 +229,12 @@
$page = 'history';
break;
case 'topic':
+ if ( $block['submitted']['action'] ===
'history' ) {
+ $page = 'history';
+ } else {
+ $page = 'topic';
+ }
$flowComponent = 'board';
- $page = 'topic';
break;
default:
$flowComponent = 'board';
--
To view, visit https://gerrit.wikimedia.org/r/220486
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2110c616f265b7227bd8c36d6cfcc7ae37401757
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Sbisson <[email protected]>
Gerrit-Reviewer: Mooeypoo <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits