Jump to content

User talk:Js/urldecoder.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by He7d3r (talk | contribs) at 12:30, 15 August 2012 (Toolbar customization: It fix the missing dependency on RL module "ext.wikiEditor.toolbar" (which is required in order to make changes in the toolbar), which will make the button to stop disappearing from time to time. The code also makes the "h). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Protocol relative URLs

Hi!

Could you change

  '/media/wikipedia/commons/9/91/Link_go.png',

to

  '/media/wikipedia/commons/9/91/Link_go.png',

? Helder 11:30, 20 February 2012 (UTC)[reply]

Done. Js (talk) 16:14, 20 February 2012 (UTC)[reply]

Toolbar customization

Hi!

On this update you added a comment which says "mw:Toolbar customization is not helpful".

I just wanted to note that it has been updated recently taking into account the recent MW updates, and it may be more helpful now :-)

Best regards, Helder 17:08, 14 April 2012 (UTC)[reply]

To be more specific, could you make an update like this on your script? I think this would solve a problem where it sometimes doesn't insert the button in the new toolbar. Helder 20:16, 6 July 2012 (UTC)[reply]
I'm not sure what exactly you're requesting. Can you be more clear, like below perhaps? Thanks. Rjd0060 (talk) 12:29, 4 August 2012 (UTC)[reply]
You just need to copy the source code from the right hand side of this diff. I've updated it to include also an extra update related to the topic below. Helder 17:26, 4 August 2012 (UTC)[reply]
 Not done I'm not sure how you want this to be updated. Please write clear instructions about what you would like to be changed. Best — Mr. Stradivarius (have a chat) 07:50, 15 August 2012 (UTC)[reply]
The full code is in the sandbox. The only action necessary is to replace the current script by the sandbox version.
It fix the missing dependency on ResourceLoader module "ext.wikiEditor.toolbar" (which is required in order to make changes in the toolbar), which will make the button to stop disappearing from time to time. The code also makes the "https" optional in the regex, so it will also work for protocol relative links. Helder 12:30, 15 August 2012 (UTC)[reply]

Protocol relative URLs

Hi!

Could you replace

/^(https?:\/\/|\{\{)/

by

/^((?:https?:)?\/\/|\{\{)/

to match external links such as [//toolserver.org/~daniel/WikiSense/CategoryIntersect.php CatScan]? Helder 19:11, 6 July 2012 (UTC)[reply]

 Done I've notified the user that this script belongs to. [edit] Rjd0060 (talk) 12:29, 4 August 2012 (UTC)[reply]