User talk:Equazcion/userinfo.js

Latest comment: 9 years ago by Technical 13 in topic Legacy JavaScript

Edit request December 26, 2014 edit

Please replace:

                statusText += ", with " +
                    "<a href=\"http://toolserver.org/~tparis/pcount/index.php?name=" +
                    encodeURIComponent(user.name) +
                    "&amp;lang=en&amp;wiki=wikipedia\">" +
                    UserinfoJsFormatQty(editcount, "edit", "edits") + "</a>";

with:

                statusText += ", with " +
                    "<a href=\"https://tools.wmflabs.org/xtools/pcount/index.php?name=" +
                    encodeURIComponent(user.name) +
                    "&amp;lang=en&amp;wiki=wikipedia\">" +
                    UserinfoJsFormatQty(editcount, "edit", "edits") + "</a>";

To address an issue raised on Equazcion/userinfo.js since I've adopted maintaining some of E's scripts. Thanks. — {{U|Technical 13}} (etc) 20:20, 26 December 2014 (UTC)Reply

Done equazcion 06:59, 30 Dec 2014 (UTC)

Legacy JavaScript edit

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:19, 19 January 2015 (UTC)Reply