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

--- Comment #3 from ShoeMaker <[email protected]> ---
(In reply to comment #2)
> 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.

On second thought, it would have to be done with JavaScript unless you want
those buttons to go away from pages you are reviewing.  It would also be nice
if it was incorporated into the server-side PHP so that if those options were
checked, the parser wouldn't even include them on the page instead of just
hiding them.

As a side-note, I've tried on two different wikis to add:
span.mw-rollback-link {
  text-decoration: blink; //with and without !important
}
to my common.css because the class wasn't responding to my display: hidden/none
and it isn't responding to blinking either.  Is it just me not doing it right,
or is there a bug somewhere preventing that css from applying to that class?

-- 
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