User talk:Haza-w/cactions.js

Editprotected

{{editprotected|ans=yes}} This script currently looks terrible in the Vector skin, due to the recent MediaWiki upgrade. Would an admin please replace the lines

with (elements) {

div.id = cid;

div.className = 'vectorMenu extraMenu';

with

with (elements) {

div.id = cid;

div.className = 'vectorMenu extraMenu';

// fix drop-down arrow image in Vector skin

div.style.backgroundImage = 'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAMAAAAlM38UAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9QTFRFsbGxmpqa3d3deXl58/n79CzHcQAAAAV0Uk5T/////wD7tg5TAAAAMklEQVR42mJgwQoYBkqYiZEZAhiZUFRDxWGicEPA4nBRhNlAcYQokpVMDEwD6kuAAAMAyGMFQVv5ldcAAAAASUVORK5CYII=")';

div.style.backgroundPosition = 'right 60%';

Thanks, — This, that, and the other (talk) 06:50, 8 October 2011 (UTC)

File:Screenshot for illustration of the lack of need for a proposed edit.png

: {{not done}} It looks identical with or without your proposed change, and also identical to the standard dropdown link. Check your personal CSS, particularly User:This, that and the other/morebits.css. Anomie 04:19, 9 October 2011 (UTC)

::That is very strange. morebits.css has nothing to do with it. I have no idea why this fix doesn't work for you. — This, that, and the other (talk) 07:00, 9 October 2011 (UTC)

::: While it may have nothing to do with it, I see it does have styles affecting "extraMenu". Without those styles, there is nothing apparent to fix. The current version looks identical to the standard Vector menu tab. Anomie 14:23, 9 October 2011 (UTC)

::::I beg your pardon; it seems I was a bit hasty. I didn't realise morebits.css contained those styles. Unfortunately I don't have time at the moment to come up with a fixed fix. — This, that, and the other (talk) 09:49, 12 October 2011 (UTC)

Import fix

{{edit protected|ans=yes}} These lines need to have their import function fixed, to work with HTTPS:

importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Haza-w/cactions-languages.js&action=raw&ctype=text/javascript'); should be importScriptURI('//en.wikipedia.org/w/index.php?title=User:Haza-w/cactions-languages.js&action=raw&ctype=text/javascript'); and importStylesheetURI('http://en.wikipedia.org/w/index.php?title=User:Haza-w/cactions.css&ctype=text/css&action=raw'); should be importStylesheetURI('//en.wikipedia.org/w/index.php?title=User:Haza-w/cactions.css&ctype=text/css&action=raw');

Note the removal of "http:" as the only change. Cheers, mc10 (t/c) 07:19, 21 November 2011 (UTC)

:{{done}} — Martin (MSGJ · talk) 12:49, 25 November 2011 (UTC)

Script problem with [[User:Haza-w/cactions.js]]

Hi the script User:Haza-w/cactions.js was no longer up to date with current coding standards and causing problems for people. I have therefore blanked it for now. —TheDJ (talkcontribs) 16:37, 30 April 2017 (UTC)