User talk:Topbanana/RLRL SR Utility.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Deprecated methods[edit]

Hi Topbanana!

Could you fix these warnings?

  • Use of "addOnloadHook" is deprecated. Use jQuery instead.
  • Ignored call to document.write() from an external script loaded asyncronouslly.
  • "Use of "hookEvent" is deprecated. Use jQuery instead."

The 2nd and 3rd one are from User:Topbanana/regexReplace.js. Also, the documentation suggests using the deprecated "importScriptURI" but it should use 'mw.loader.load". Helder.wiki 20:59, 8 June 2014 (UTC)[reply]

@Topbanana: consider also using mw.util.getParamValue('RLRLS'), mw.util.getParamValue('RLRLR'), etc... instead of a custom implementation. Helder.wiki 19:12, 14 July 2014 (UTC)[reply]