From 41f9c59a970b6e00bb3d7d7ad0bf7a6b404f02e8 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Thu, 17 Jan 2019 10:31:52 -0800 Subject: [PATCH] WikiTextStructure: Add an exclusion from WikibaseMediaInfo This is not lovely, and probably should be a hook or similar. Bug: T213638 Change-Id: I042ac81b630dede55887e644692ea1a3b1fd6fe1 --- includes/content/WikiTextStructure.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/content/WikiTextStructure.php b/includes/content/WikiTextStructure.php index 4fc3fa2dbc..0e03e72ef6 100644 --- a/includes/content/WikiTextStructure.php +++ b/includes/content/WikiTextStructure.php @@ -41,7 +41,9 @@ class WikiTextStructure { '.autocollapse', // Content explicitly decided to be not searchable by editors such // as custom navigation templates. - '.navigation-not-searchable' + '.navigation-not-searchable', + // User-facing interface code prompting the user to act from WikibaseMediaInfo + '.wbmi-entityview-emptyCaption', ]; /** -- 2.20.1