https://bugzilla.wikimedia.org/show_bug.cgi?id=63164

--- Comment #3 from Lokal_Profil <[email protected]> ---
(In reply to Quiddity from comment #2)
> In navpopups, there are a large number of Regex rules to remove things that
> interfere with the preview. (Search for "STARTFILE: previewmaker.js" in
> https://en.wikipedia.org/wiki/MediaWiki:Gadget-popups.js to see the many
> "Previewmaker.prototype" subsections there.)
> 
> I would guess that Hovercards will need the same extensive set of
> 'exclusions'? (plus more, such as the {{pagebanner}} templates at the top of
> every WikiVoyage article.)
> 
> Digging around, it appears that Extension:TextExtracts removes elements via
> their CSS classes, here
> https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FTextExtracts/
> c56742eb7149ef9aa5b8cf31c62c4c71333a00f5/TextExtracts.php#L51 so possibly
> you just need to compile a set of additions for that? (eg. class="topbanner"
> for the WikiVoyage templates, and class="dablink" for the various types of
> hatnote.)

In many places disambiguation links are just entered as 
" :''BLA'' " though rather than through any template meaning it can't be
filtered on CSS (AFAIK).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to