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

--- Comment #1 from Gabriel Wicke <gwi...@wikimedia.org> ---
Maybe this could even be handled in CSS, somewhat like this example:

<html><head>
<style>
body {
    color: red;
    counter-reset: numberedlink;
}
a[typeof~="mw:ExtLink"]:empty:before {
    content: "[" counter(numberedlink) "]";
    counter-increment: numberedlink;
}
</style>
</head>
<body>
<a typeof="mw:ExtLink"></a>
<a typeof="mw:ExtLink"></a>
<a typeof="mw:ExtLink"></a>
<a typeof="mw:ExtLink"></a>
</body>
</html>

Problems in this simple experiment:

* Links are not clickable, and (maybe related)
* the content can only be generated :before and :after, but not inside the
empty link.

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

Reply via email to