WikiTextStructure: Add an exclusion from WikibaseMediaInfo

This is not lovely, and probably should be a hook or similar.

Bug: T213638
Change-Id: I042ac81b630dede55887e644692ea1a3b1fd6fe1
This commit is contained in:
James D. Forrester 2019-01-17 10:31:52 -08:00
parent 55a08801e1
commit 41f9c59a97

View 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',
];
/**