WikiTextStructure: Add an exclusion from WikibaseMediaInfo
authorJames D. Forrester <jforrester@wikimedia.org>
Thu, 17 Jan 2019 18:31:52 +0000 (10:31 -0800)
committerJames D. Forrester <jforrester@wikimedia.org>
Thu, 17 Jan 2019 18:31:55 +0000 (10:31 -0800)
This is not lovely, and probably should be a hook or similar.

Bug: T213638
Change-Id: I042ac81b630dede55887e644692ea1a3b1fd6fe1

includes/content/WikiTextStructure.php

index 4fc3fa2..0e03e72 100644 (file)
@@ -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',
        ];
 
        /**