mediawiki-extensions-Visual.../modules/ve-mw/ce/nodes
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
..
ve.ce.MWAlienExtensionNode.js build: Enable jscs jsDoc rule 'checkParamNames' and make pass 2015-08-19 11:33:59 -07:00
ve.ce.MWBlockImageNode.js build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass 2015-08-19 11:21:01 -07:00
ve.ce.MWEntityNode.js build: Enable jscs rule 'requireSpacesInsideBrackets' and make pass 2015-08-19 10:33:02 -07:00
ve.ce.MWExtensionNode.js MWExtensionNode: Fix selector to find dimension-less images 2015-10-02 14:18:13 +01:00
ve.ce.MWGalleryNode.js Remove useless ve-ce-mw*Node classes from GCN subclasses 2015-03-09 12:05:30 +01:00
ve.ce.MWHeadingNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ce.MWImageCaptionNode.js Stop using this.$ 2015-04-14 02:54:01 +01:00
ve.ce.MWImageNode.js build: Enable jscs rule 'requireSpacesInsideBrackets' and make pass 2015-08-19 10:33:02 -07:00
ve.ce.MWInlineImageNode.js build: Drop last jscs over-ride and make pass 2015-07-22 15:13:09 -07:00
ve.ce.MWMagicLinkNode.js Remove explicit setting of ce=false on FocusableNodes 2015-09-01 18:51:54 +00:00
ve.ce.MWNumberedExternalLinkNode.js Zero-width space to avoid empty annotation cursoring bug 2015-09-22 23:45:14 +08:00
ve.ce.MWPreformattedNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ce.MWReferenceNode.js build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass 2015-08-19 11:21:01 -07:00
ve.ce.MWReferencesListNode.js build: Enable jscs rule 'requireSpacesInsideBrackets' and make pass 2015-08-19 10:33:02 -07:00
ve.ce.MWSignatureNode.js Provide a tool to insert a signature in namespaces that need it 2015-11-16 18:06:32 +01:00
ve.ce.MWTableNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ce.MWTransclusionNode.js Merge "ve.ce.MWTransclusionNode: Pass number of templates to context" 2015-08-24 21:47:08 +00:00