jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/339817 )

Change subject: Fix CollaborationKitToC section link behavior
......................................................................


Fix CollaborationKitToC section link behavior

The internal name for a feature's display name is "displayTitle"
not "display_title".

Change-Id: I83fca73e2367ed93360597cc82c05fcf792c5405
---
M includes/content/CollaborationHubTOC.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  jenkins-bot: Verified
  Isarra: Looks good to me, approved



diff --git a/includes/content/CollaborationHubTOC.php 
b/includes/content/CollaborationHubTOC.php
index d3ef18e..8196a4f 100644
--- a/includes/content/CollaborationHubTOC.php
+++ b/includes/content/CollaborationHubTOC.php
@@ -56,8 +56,8 @@
                                continue;
                        }
                        $title = Title::newFromText( $item['title'] );
-                       if ( isset( $item['display_title'] ) ) {
-                               $displayTitle = $item['display_title'];
+                       if ( isset( $item['displayTitle'] ) ) {
+                               $displayTitle = $item['displayTitle'];
                        } else {
                                $displayTitle = $title->getSubpageText();
                        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I83fca73e2367ed93360597cc82c05fcf792c5405
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CollaborationKit
Gerrit-Branch: master
Gerrit-Owner: Harej <jamesmh...@gmail.com>
Gerrit-Reviewer: Isarra <zhoris...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to