mediawiki-extensions-Visual.../modules/ve-mw/init
Bartosz Dziewoński 9be5c85db4 Provide a tool to insert a signature in namespaces that need it
VisualEditor is usually not enabled in talk namespaces... but
sometimes it is. And when users see the button to edit with VE,
they're going to click it and expect to be able to sign their posts.

This tool is only loaded on talk pages and pages in additional
namespaces defined in $wgExtraSignatureNamespaces.

Code adapted with small tweaks from my own gadget
<https://meta.wikimedia.org/wiki/User:Matma_Rex/visualeditor-signature.js?oldid=13461327>,
which is already available under the MIT license.

Changes include:
* The tool is now always visible if the wiki allows signatures in any
  VE namespaces, but disabled when not allowed in the current namespace.
* Register '~~~~' sequence to insert the signature.
* Code style tweaks for stricter lint checks in this repository.
* Documentation corrections.

Swedish translation provided by André Costa (already credited
as a translator as Lokal_Profil).

Depends on changes in VisualEditor core:
* I89fe53890ab59d12260ea6b41de802c38c24e8b9
* I14cd7efac521687ea38580341ae08ddc522edeeb

Bug: T53154
Change-Id: I6be5fb2118cf3eef5098d4c5320228aa81411ccb
2015-11-16 18:06:32 +01:00
..
styles Edit mode switching: Separate styles 2015-11-11 18:50:55 +00:00
targets Edit mode switching: Only show WE toolbar button once module is loaded 2015-11-10 10:43:33 -08:00
ve.init.mw.ApiResponseCache.js build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass 2015-08-19 11:21:01 -07:00
ve.init.mw.ImageInfoCache.js build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass 2015-08-19 11:21:01 -07:00
ve.init.mw.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.init.mw.LinkCache.js ve.init.mw.LinkCache: Update comment about Disambiguator extension 2015-09-24 19:20:12 +02:00
ve.init.mw.Platform.init.js Don't self-instantiate platform 2015-04-15 18:46:34 -07:00
ve.init.mw.Platform.js Implement getUserConfig and setUserConfig in MW 2015-09-01 01:03:38 +00:00
ve.init.mw.Target.js ve.init.mw.Target: Update TitleBlacklist error code 2015-11-05 04:07:38 +01:00
ve.init.mw.TargetEvents.js build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass 2015-08-19 11:21:01 -07:00
ve.init.mw.TargetLoader.js Provide a tool to insert a signature in namespaces that need it 2015-11-16 18:06:32 +01:00
ve.init.mw.trackSubscriber.js mw.trackSubscriber: Log platform as phone vs. desktop 2015-09-05 21:29:03 +00:00
ve.init.MWVESwitchConfirmDialog.js Don't allow keeping changes when switching from wikitext *section* editing 2015-11-04 16:19:36 +00:00