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

--- Comment #64 from Gabriel Wicke <[email protected]> ---
Looking at the linked CSS [1], to me it seems that the most complex rules are
those matching on file extensions to figure out video / audio / document links.
As those links are not that common relative to the total number of links I'd
expect classes to be a win overall for those.

Protocol matches on the other hand are a single selector only (no need for
upper case variants), and a large chunk of external links is neither to videos,
audio or document files. This seems to favor keeping those matches in CSS to
keep the document size down.

Does this sound like a promising solution to you?

[1]: https://gerrit.wikimedia.org/r/#/c/85920/2/skins/vector/externalLinks.less

-- 
You are receiving this mail because:
You are the assignee for the bug.
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