Harej has uploaded a new change for review. ( 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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollaborationKit refs/changes/17/339817/1 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: newchange Gerrit-Change-Id: I83fca73e2367ed93360597cc82c05fcf792c5405 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CollaborationKit Gerrit-Branch: master Gerrit-Owner: Harej <jamesmh...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits