Sbisson has uploaded a new change for review.

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

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(-)


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

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: newchange
Gerrit-Change-Id: I2110c616f265b7227bd8c36d6cfcc7ae37401757
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Sbisson <[email protected]>

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

Reply via email to