From: James D. Forrester Date: Thu, 17 Jan 2019 18:31:52 +0000 (-0800) Subject: WikiTextStructure: Add an exclusion from WikibaseMediaInfo X-Git-Tag: 1.34.0-rc.0~3057^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=41f9c59a970b6e00bb3d7d7ad0bf7a6b404f02e8;p=lhc%2Fweb%2Fwiklou.git WikiTextStructure: Add an exclusion from WikibaseMediaInfo This is not lovely, and probably should be a hook or similar. Bug: T213638 Change-Id: I042ac81b630dede55887e644692ea1a3b1fd6fe1 --- 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', ]; /**