Commit graph

504 commits

Author SHA1 Message Date
Translation updater bot 5b93b39b8a Localisation updates from http://translatewiki.net.
Change-Id: I53d192d6c9707607e73a898e5f0fb67dc0893de2
2013-08-26 19:43:33 +00:00
Translation updater bot 517a09943e Localisation updates from http://translatewiki.net.
Change-Id: I053f2b2ff32b39698b2787ec5dc5655d517df117
2013-08-25 20:08:20 +00:00
Translation updater bot ab0e671d68 Localisation updates from http://translatewiki.net.
Change-Id: I71613b21444c5f3f93e9e466117fafed408706dd
2013-08-25 13:31:23 +00:00
Translation updater bot 2501fdd2ff Localisation updates from http://translatewiki.net.
Change-Id: Ib524732b1df65c6a1f1b102635b339056a29a1bd
2013-08-23 19:50:15 +00:00
Translation updater bot b143625dd1 Localisation updates from http://translatewiki.net.
Change-Id: Ib19ff7142926f19d7f27a0c160be4fc4aee588a6
2013-08-22 19:50:56 +00:00
Translation updater bot 073267de05 Localisation updates from http://translatewiki.net.
Change-Id: Ib82999c8871732792abe806bdc59e5a87380740b
2013-08-21 21:01:45 +00:00
Translation updater bot 8189d642bb Localisation updates from http://translatewiki.net.
Change-Id: Idd09eb782a44fd604282edf7818ecc27d0bb2e22
2013-08-20 19:36:21 +00:00
Translation updater bot 5a794ad3d9 Localisation updates from http://translatewiki.net.
Change-Id: I9f90aa03b9fdda135177d31ca436e85201b810c3
2013-08-19 19:35:51 +00:00
Translation updater bot 0e1ad8a1bb Localisation updates from http://translatewiki.net.
Change-Id: Ia82ef889266c4506feb6f79e56c4a3096f7fcc41
2013-08-18 19:43:34 +00:00
Translation updater bot c75ed044fc Localisation updates from http://translatewiki.net.
Change-Id: Icb4b717e15df1c3f87a79f1a7b6f6a9c3992a18f
2013-08-17 19:26:12 +00:00
Translation updater bot ab590979dd Localisation updates from http://translatewiki.net.
Change-Id: I6a3c30e123f4d8713925c4f3b743dbaa593b47b4
2013-08-16 19:24:12 +00:00
jenkins-bot 916d1c2b69 Merge "Create a subscript tool" 2013-08-16 02:16:25 +00:00
jenkins-bot c01499fb66 Merge "Create a superscript tool" 2013-08-16 02:15:42 +00:00
jenkins-bot ffc513fcf3 Merge "Create an underline tool" 2013-08-16 02:13:02 +00:00
James D. Forrester 23af88edc3 Create a subscript tool
Bug: 51612
Change-Id: Ia05e09a411213cbc035ad9dd3d3156d57f8e102c
2013-08-15 19:40:15 +00:00
Translation updater bot 858e6a0aca Localisation updates from http://translatewiki.net.
Change-Id: Icef4cb792f89c5c36c3fc3b79ed0a5008fe0bd1d
2013-08-15 19:38:56 +00:00
James D. Forrester 34a37471c6 Create a superscript tool
Bug: 51611
Change-Id: I74b6418542927eeeb7e80d664a30fcaf07b93a13
2013-08-15 12:36:35 -07:00
Steven Zhang 3c65d830f2 Create an underline tool
Bug: 51609
Change-Id: I65246d7eeb154950c35a1cb70909a113080c2323
2013-08-15 12:16:01 -07:00
jenkins-bot c84c47aeba Merge "Prevent the creation of invalid MWInternalLinks" 2013-08-14 21:58:27 +00:00
Translation updater bot 344d97d89c Localisation updates from http://translatewiki.net.
Change-Id: I09f393358ff404728e856712f51d7bffbb8efb7b
2013-08-14 19:28:53 +00:00
Translation updater bot 86359bdd1e Localisation updates from http://translatewiki.net.
Change-Id: I40e6390e0088541e4e1da0b4eb136bc9ff732446
2013-08-13 19:30:14 +00:00
Translation updater bot 26eb55d014 Localisation updates from http://translatewiki.net.
Change-Id: I464c61ff1e48b40f5c2c22169f44c5b985541990
2013-08-12 19:23:27 +00:00
Translation updater bot 0e76b1b521 Localisation updates from http://translatewiki.net.
Change-Id: I007bc086ebb70124cca68d24eabc2e3f7acec62a
2013-08-11 20:01:31 +00:00
Translation updater bot 4cc904ea2f Localisation updates from http://translatewiki.net.
Change-Id: I354e3f30e3a905384793f0c819ebd99882894e16
2013-08-10 19:39:53 +00:00
Translation updater bot 6e413de883 Localisation updates from http://translatewiki.net.
Change-Id: I31170014c38dd3f8afddeca9799a5ef30113a357
2013-08-09 19:49:20 +00:00
Translation updater bot 9bb4812934 Localisation updates from http://translatewiki.net.
Change-Id: Iec31684111c51604cff49e1d20cbf7912ff57576
2013-08-08 20:02:36 +00:00
Ed Sanders ad3a7c95c8 Alien extensions
VisualEditor.i18n.php, VisualEditor.php
* Button title
* New experimental files

ve.*.MWAlienExtensionNode.js
* Very basic extension of ve.*.MWExtensionNode

ve.ui.MWAlienExtensionInspector.js
* Default to inline-block for wrapper. Should probably
  get rid of styled wrappers for GeneratedContent eventually.

ve.ui.MWAlienExtensionInspector.js
* Basic extension of MWExtensionInspector. Override title to
  use tag name e.g. '<easytimeline>'. Could be changed in future
  to 'Extension: easytimeline' or similar.

*.png, *.svg, *Icons*.css, ve.ui.MWAlienExtensionButtonTool.js
* Angle bracket icon for button (open to suggestions)

ve.ui.MWInspector.css
* Make extension inspector text input tall by default.

Change-Id: I07f0686839192cad3cd8dfd3233ae907fe5cdf6a
2013-08-08 14:27:49 +08:00
Translation updater bot 29a89143de Localisation updates from http://translatewiki.net.
Change-Id: I70cce8923d59e78b6461b89d2ee3e51030d076d6
2013-08-07 19:46:59 +00:00
Ed Sanders 0d1617a627 Hieroglyphics support
Mostly as a demonstration of how easy this is with MWExtensionNode.

The icon was chosen with the following criteria:
1. Recognisable (the ankh is quite common in popular culture, right?)
2. Doesn't look idiotic to academics (I've consulted an Egyptology
   PhD and they can confirm it's not the glyph for penis)
3. Renders well at <16x16

That said it does look a little like a stick man...

Bug: 43118

Change-Id: I9f9e8af501401866bfeecf0eec3690a705fbd4db
2013-08-07 09:43:04 +00:00
peter-coti 5014e122e3 Create strikethrough text style button
Experimental to avoid making toolbar too long

Bug: 51610
Change-Id: I1eb5b1361d6058a6e1533ab62c0aa7e21c9fc090
2013-08-07 16:14:19 +08:00
Translation updater bot 5d8e42a393 Localisation updates from http://translatewiki.net.
Change-Id: I93c22817d1dc21188f92e1eedb201e7ec3ddf1ad
2013-08-06 19:30:42 +00:00
Translation updater bot 4f58ca4fa3 Localisation updates from http://translatewiki.net.
Change-Id: I8a0255f89942e2d00afbd42979f825f33af9c2f2
2013-08-05 19:40:03 +00:00
Translation updater bot 24091124e5 Localisation updates from http://translatewiki.net.
Change-Id: I881f8de862a74a0a48acbc9a02de501cc227eb58
2013-08-04 18:56:53 +00:00
Translation updater bot cea97f763b Localisation updates from http://translatewiki.net.
Change-Id: Id6ff98a3d1f486689653cb9b16206ebdda72a815
2013-08-03 19:46:04 +00:00
Translation updater bot 1be1554b40 Localisation updates from http://translatewiki.net.
Change-Id: I7b47bb093731680a4c3a23a51e2510740709fb24
2013-08-02 21:39:05 +00:00
Eloquence 8ab81cfe4c Expand beta message a bit.
Change-Id: I6a49da57540d1702d4477619fb002f9fa0a314de
2013-08-01 21:45:53 -07:00
jenkins-bot 390ce7db3f Merge "Beta welcome dialog" 2013-08-02 04:12:06 +00:00
jenkins-bot 07a513ac9d Merge "Move edit tab generation into PHP and make it more configurable" 2013-08-02 04:10:46 +00:00
Rob Moen 5231d05bbe Beta welcome dialog
For configured wikis, show a dialog that welcomes the user to the
amazing and fantabulous world of VisualEditing, which is not only full of
wonderment and joy but also may lead to increased popularity and love.

The dialog only shows up once (uses a cookie).

Change-Id: I8e7c4dc2c63b36594378a543b9d66291395eebcf
2013-08-01 21:08:15 -07:00
Roan Kattouw ced2a8aa59 Move edit tab generation into PHP and make it more configurable
* Generate the edit tabs and the section edit links in PHP, with a
  fallback in JS for cases where we don't have them yet due to
  caching. But only change things if VE is enabled, and have the JS
  correct the state if the wrong cached HTML comes through.
* Make the order of the tabs/links and the messages to use as captions
  configurable
* Make the edit tabs and section edit links always be present in the
  page (regardless of namespace, user prefs, etc.) but be hidden and
  have JS unhide them (using html.ve-available) if appropriate
* Add appendix messages so we can do a superscript "beta" even in places
  where we can't use HTML in the message

VisualEditor.php:
* Add new hook registrations
* Remove edit link caption messages from the init init module because
  they're now added dynamically in VisualEditor.hooks.php
* Add a noscript CSS module so we can hide some things in JS-less
  environments
* Remove $wgVisualEditorTabLayout and replace it with
  $wgVisualEditorPosition
* Add config vars for link captions, with null causing us to use
  the default caption
* Add config vars for link caption appendices. Too many config vars
  but we'll clean that up later

VisualEditor.hooks.php:
* Dynamically add tab messages to the init init module
* Remove unused globals in onBeforePageDisplay()
* Add noscript CSS module
* Add a SkinTemplateNavigation hook that changes and reorders the edit
  tabs as appropriate
* Add a DoEditSectionLink hook that overwrites the edit section links
* Export the new config variables to JS

VisualEditor.i18n.php:
* Add beta appendix message
* Add a message for the default VE edit section link

ve.init.mw.ViewPageTarget.init.css:
* Remove the animation on the edit section links
* Darken the color of the brackets and the pipe from #ccc to #555
* Style the beta message to be superscript-like (but not real <sup> to
  avoid moving the baseline)

ve.init.mw.ViewPageTarget.noscript.css:
* Hide the VE edit tab, the pipe and the VE edit section link initally
  unless and until JS unhides

ve.init.mw.ViewPageTarget.init.js:
* Toggle .ve-not-available / .ve-available
* Edit tabs
** Only generate the the edit tabs if they're not already there from PHP
** Rewrite the edit tab generation to mirror what's being done in PHP
* Section edit links
** Same as for edit tabs
** Also add mw-visualeditor-expanded to pad the brackets

ve.init.mw.ViewPageTarget.js:
* #ca-ve-edit is now always the VE tab (and #ca-edit always the
  edit source tab) so update the .selected behavior accordingly

Change-Id: Idcb15faea7fabe5fe7578b1508079969b27d2469
2013-08-01 21:08:13 -07:00
Translation updater bot 9f7692a1eb Localisation updates from http://translatewiki.net.
Change-Id: Ie054b70bd8de960be99bb63bc721074b69cf98b3
2013-08-01 20:20:36 +00:00
Ed Sanders 04c0a0d2ee Prevent the creation of invalid MWInternalLinks
By testing against a regex of legal title characters we can determine
if the entered text is a valid internal link. If it isn't we should
prevent the link inpsector from creating/changing the annotation.

Bug: 33094
Change-Id: Ia1df602601e4e82fc351279e432c28c425f5157a
2013-08-01 17:38:55 +01:00
jenkins-bot 43dbd6babb Merge "Added credits for English messages" 2013-08-01 12:19:16 +00:00
Amir E. Aharoni 5695d58708 Added credits for English messages
Change-Id: I04c33ae4941207333b9d3b438dc07a34c6d5b597
2013-08-01 12:53:11 +03:00
Translation updater bot 28ad47f82b Localisation updates from http://translatewiki.net.
Change-Id: Ib0b384998feab8599ba784d119304ee2d908a1af
2013-07-31 20:52:05 +00:00
Jforrester 221cef36a1 Revert "Localisation updates from http://translatewiki.net."
Based off old version, re-added removed messages and re-un-sorted keys.

This reverts commit 93b74fe25c.

Change-Id: I8eb45ca7aeb611176decb4cd4f6dd89b60b92db7
2013-07-31 20:11:34 +00:00
Translation updater bot 93b74fe25c Localisation updates from http://translatewiki.net.
Change-Id: I86b6ce2d9fa9a29ce4041187a8421a2f11788ad8
2013-07-31 20:01:19 +00:00
Ori Livneh e98d54078b Remove gender micro-survey from VisualEditor
The 'ext.visualEditor.genderSurvey' module was introduced in I2b4aba6a9
for the purpose of instrumenting a short-lived microsurvey that would be
concomitant with the deployment of VisualEditor. The survey has now run
its course; this patch removes its code.

Change-Id: I8be6198a66957d792757a5312e9e71b3c8cdd1e3
2013-07-31 00:22:09 -07:00
jenkins-bot 6828804d27 Merge "Language Inspector UI" 2013-07-31 07:14:56 +00:00
jenkins-bot 139eaf653a Merge "Partial revert of gerrit 8ed6dfa542 to avoid i18n mis-links" 2013-07-30 20:29:17 +00:00