Jump to content

User talk:Kudpung/vector.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Technical 13 (talk | contribs) at 14:44, 20 January 2015 (Legacy JavaScript: re). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Legacy JavaScript

Template:JS migration Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include addOnloadHook( ... ) needs to be replaced with $( ... ) or $( function() { ... } ) (depending on use); all wgGlobalVariables need to be properly gotten with mw.config.get( 'wgGlobalVariable' ); and addPortletLink needs to be called with mw.util.addPortletLink. Please see MW:ResourceLoader/Legacy JavaScript for details. Thank you. — {{U|Technical 13}} (etc) 21:39, 19 January 2015 (UTC)[reply]

Technical 13, thank you for this. It may explain why many of the scripts , especially the ones specifically for the use of admins, aren't working any more. That's why, for example, I haven't been doingany AfD closures for months. Unfortunately, it presupposes that all Wikipedia editors and admins have an in-depth knowledge of computer programmes. We don't. If you have time and would like to do me a favour, please copy my entire .js page (I don't believe you are able to edit it yourself), make the changes, and send me acopy to paste in over the entire page. I would be extremeky grateful. Regards, --Kudpung กุดผึ้ง (talk) 12:35, 20 January 2015 (UTC)[reply]
  • It may be part of the cause (it is certainly the cause if all of the warnings in the javascript console if you open it up). I actually expect most of the user's I posted to are unable to fix it themselves (and have been helping all that asks over the last couple days here, on meta, on commons...) Part of this was to create an index of pages that need to be fix (Category:JavaScripts using deprecated elements) so that if Meta:Steward requests/Global permissions#Global editinterface for Technical 13 goes through I'll have a list to work from of scripts I need to fix. I would be happy to copy your .js page and make fixes that should bring you up to date and post it back for you to apply. I normally do so in a collapsed section right in the discussion here, would that work for sending you a copy? Thanks! — {{U|Technical 13}} (etc) 14:44, 20 January 2015 (UTC)[reply]