[Bug 46412] Make block and rollback links hide-able

2014-02-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

Marius Hoch  changed:

   What|Removed |Added

 CC||h...@online.de
 Resolution|FIXED   |WONTFIX

--- Comment #9 from Marius Hoch  ---
Marking this as WONTFIX: First of all, this is not possible in the current
software (without JS/CSS hacks) so it's not fixed. We also don't want it to be
in the software (feature creep, ...), so that this wont be fixed.

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


[Bug 46412] Make block and rollback links hide-able

2013-04-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

Theopolisme  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Theopolisme  ---
This script does the trick; no need to keep open.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

--- Comment #7 from ShoeMaker  ---
Okay, the jquery / JavaScript to make those things disappear is:

// Remove [rollback]
$('span.mw-rollback-link').remove();
// Remove " | block" link
$('span.mw-usertoollinks').each(function () {
var $elem = $(this);
$elem.children('a:last').replaceWith("-");
$elem.html($elem.html().replace(" | -", ""));
});

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

--- Comment #6 from ShoeMaker  ---
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > 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?
> > 
> > display:none works fine for me on enwiki. Since I have browser.blink_allowed
> > set to false in my Firefox, I can't test the other. ;)
> 
> With css?  I still can't get it to work setting the css, but I did get it to
> work with jquery to .css('display', 'none');
> 
> Working on writing a full script to do what the requester wants without
> needing
> any core changes.  If whomever has the power wants to assign it to me, I'll
> write the js and close it as wontfix when js is complete.

Or as worksforme maybe?

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

--- Comment #5 from ShoeMaker  ---
(In reply to comment #4)
> (In reply to comment #3)
> > 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?
> 
> display:none works fine for me on enwiki. Since I have browser.blink_allowed
> set to false in my Firefox, I can't test the other. ;)

With css?  I still can't get it to work setting the css, but I did get it to
work with jquery to .css('display', 'none');

Working on writing a full script to do what the requester wants without needing
any core changes.  If whomever has the power wants to assign it to me, I'll
write the js and close it as wontfix when js is complete.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

--- Comment #4 from Brad Jorsch  ---
(In reply to comment #3)
> 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?

display:none works fine for me on enwiki. Since I have browser.blink_allowed
set to false in my Firefox, I can't test the other. ;)

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

Andre Klapper  changed:

   What|Removed |Added

   Priority|Unprioritized   |Low
Version|unspecified |1.21-git

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

--- Comment #3 from ShoeMaker  ---
(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  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  element, remove the href - title -
> innerHTML, add a class of "block", then replace " | "
> 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

--- Comment #2 from ShoeMaker  ---
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  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  element, remove the href - title -
innerHTML, add a class of "block", then replace " | " 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

Brad Jorsch  changed:

   What|Removed |Added

 CC||bjor...@wikimedia.org

--- Comment #1 from Brad Jorsch  ---
Rollback buttons are already hidable, the class is mw-rollback-link.

Personally, I don't find the block button much of a concern since the only
thing that happens if you click on it is that you are taken to the block form,
at which point you simply hit 'back' in your browser.

As for a preference to do so, it's an almost trivial change to
Special:Mypage/common.css. I'd say just make a Gadget if people insist.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

ShoeMaker  changed:

   What|Removed |Added

 CC||technical...@yahoo.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46412] Make block and rollback links hide-able

2013-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46412

Theopolisme  changed:

   What|Removed |Added

 CC||theopolismew...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l