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

--- Comment #2 from ShoeMaker <[email protected]> ---
Rollback is in span.mw-rollback-link, so that one can easily be done with a
little CSS/JavaScript. Block is a little more difficult to modify from user end
without using JavaScript/Jquery to look for the <a> element with the innerHTML
of "block".  I tried editing MediaWiki:Blocklink on my test wiki to wrap
"block" with a span.mw-block-link, but the MW parser doesn't allow HTML on that
message.  Looking at the source a little deeper, that would still leave an
extra | that would "look" weird, so the proper workaround would be to use
JavaScript/Jquery to find that <a> element, remove the href - title -
innerHTML, add a class of "block", then replace " | <a class="block"></a>" with
"" in the span.mw-usertoollinks.

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

Reply via email to