User talk:Krinkle/Tools/WhatLeavesHere.js

From Meta, a Wikimedia project coordination wiki

Namespace localization[edit]

{{editprotected}}

This script should use

mw.config.get( 'wgNamespaceNumber' ) === -1

instead of

mw.config.get( 'wgCanonicalNamespace' ) === 'Special'

, to ease compatibility with non-English wikis. --Ricordisamoa 00:25, 30 June 2013 (UTC)[reply]

No, this works fine on non-English wikis. This is exactly why we have a canonical version of namespaces (in addition to primary, alias and localized versions), so that scripts can reliably use them regardless of future changes to the primary name and/or localized versions. –Krinkletalk 07:47, 30 June 2013 (UTC)[reply]
Oops, I saw it wasn't working with localized namespaces, but I was wrong... sorry --Ricordisamoa 00:40, 1 July 2013 (UTC)[reply]
You're welcome. Let me know if you find anything else –Krinkletalk 15:21, 1 July 2013 (UTC)[reply]

Updating for migration from Toolserver?[edit]

I see that this script calls Toolserver for a component. Is this the component going to be migrated to Tools, or is the script going to be left to be retired? Thanks.  — billinghurst sDrewth 13:30, 4 June 2014 (UTC)[reply]

Done (filed as issue #2). –Krinkletalk 20:19, 5 June 2014 (UTC)[reply]
Thanks. Really appreciate your work and continued efforts.  — billinghurst sDrewth 03:21, 6 June 2014 (UTC)[reply]