Commit graph

3185 commits

Author SHA1 Message Date
Translation updater bot d0cad8628e Localisation updates from http://translatewiki.net.
Change-Id: I12838f56addebc08a200a9c626d97891b95ff7eb
2012-12-29 19:49:51 +00:00
Translation updater bot b144746517 Localisation updates from http://translatewiki.net.
Change-Id: If55ce5814a3471480e0acedc87905a98ecf594fd
2012-12-28 21:22:37 +00:00
Translation updater bot 55df10e697 Localisation updates from http://translatewiki.net.
Change-Id: I682f716924f7c8e214ca7705dfc4a08961285496
2012-12-27 21:30:45 +00:00
Translation updater bot 28b3ab9bfa Localisation updates from http://translatewiki.net.
Change-Id: I39b0dc4c8a2ce55c462aac6ceebc4a722e369b7d
2012-12-26 21:19:22 +00:00
Translation updater bot 7dd12c2fa8 Localisation updates from http://translatewiki.net.
Change-Id: I58cb40894e2ba167ed9d300cd572a81e435b9cc3
2012-12-25 20:19:51 +00:00
Translation updater bot d644d255a7 Localisation updates from http://translatewiki.net.
Change-Id: Ia65549e788fc97248a113240139e82d94663d7d1
2012-12-23 22:03:12 +00:00
Siebrand Mazeland 7593905152 Remove en-gb
Same as en. Superfluous.

Change-Id: I6f3a6a2779e935ab4f76d9f5cfa529b16994b9b4
2012-12-23 02:29:24 +01:00
Translation updater bot 402d9836de Localisation updates from http://translatewiki.net.
Change-Id: I3601870992d4b8feb6e7952776218bfb85cbf394
2012-12-22 22:25:37 +00:00
jenkins-bot 24e6219cd1 Merge "Fixing label tag in demo" 2012-12-20 22:32:16 +00:00
Translation updater bot 85257f13c3 Localisation updates from http://translatewiki.net.
Change-Id: I368511b4adc0a4d7f700aa0812305edaa01f60ce
2012-12-20 21:07:05 +00:00
Christian Williams d86312cde2 Fixing label tag in demo
Change-Id: I5715ec4a4f710bcadbe226b79a930d71dfd9e2d1
2012-12-19 17:49:29 -08:00
Translation updater bot ea769d221b Localisation updates from http://translatewiki.net.
Change-Id: I00df3f25088c46eda00b2c3aa210757a4b73076c
2012-12-19 20:04:35 +00:00
jenkins-bot b5edb71467 Merge "Fix outdent tooltip calling for a non-existant message" 2012-12-19 18:35:24 +00:00
Translation updater bot 40e366009d Localisation updates from http://translatewiki.net.
Change-Id: Ic13434f023a33edc221881b6b085cc51107a06fc
2012-12-18 20:42:20 +00:00
Translation updater bot 79248e3071 Localisation updates from http://translatewiki.net.
Change-Id: I81ecea2a6e989ac25c382195e8acad69ebd5b26c
2012-12-17 21:31:50 +00:00
jenkins-bot 33f2c76ea4 Merge "(bug 43098) Prevent alien node contents from floating above phantoms." 2012-12-16 22:19:27 +00:00
Translation updater bot 563d7c06e6 Localisation updates from http://translatewiki.net.
Change-Id: I8c4bd126e41e9b3087f74a6356557d9ded88e87b
2012-12-16 20:54:59 +00:00
Translation updater bot 6433b7ccbf Localisation updates from http://translatewiki.net.
Change-Id: I271d6fd62d52ff8a456b19e3297d3d1d914f70d3
2012-12-15 23:58:20 +00:00
Rob Moen 041359ba01 (bug 43098) Prevent alien node contents from floating above phantoms.
* Sets z-index of alien blocks to 0.
* Simplify alienNode css
* Add missing -ms-user-select: none;
* Add missing [-moz-|-ms-|]user-select: element
  (webkit doesn't support element, auto is closest)

Change-Id: I889074a659483ce3d48380be5f50f80abb573286
2012-12-15 00:58:52 +01:00
James D. Forrester 851bd1a76e Fix outdent tooltip calling for a non-existant message
Change-Id: I8b39f116181310b86d804a567eedf9c68bde594f
2012-12-14 15:53:53 -08:00
Translation updater bot 240ae6b81f Localisation updates from http://translatewiki.net.
Change-Id: I79058ee012e3fde329ab0fc19205af2686a5b189
2012-12-14 20:38:13 +00:00
Translation updater bot a69d446c1e Localisation updates from http://translatewiki.net.
Change-Id: I5869cd6c77c94e4c3994917860c6f399cc4ec274
2012-12-13 20:31:37 +00:00
jenkins-bot cf5f2ae0f5 Merge "(bug 43040) All edits were being marked as minor" 2012-12-13 04:46:25 +00:00
Catrope 892990ef17 (bug 43040) All edits were being marked as minor
&minor=false doesn't work, but &minor=0 does

Change-Id: I73e18e7b58a151d78d56aa199cdfadb6d7150f1d
2012-12-12 17:51:47 -08:00
jenkins-bot df359ce829 Merge "Typo from I65447da8." 2012-12-13 01:12:13 +00:00
Timo Tijhof de4e12367f Typo from I65447da8.
Change-Id: I27cce9784149cf1e98c4ed144ead4718978a74ae
2012-12-13 02:11:25 +01:00
jenkins-bot eca19a1618 Merge "Handle a null response in onLoad()" 2012-12-13 01:02:37 +00:00
jenkins-bot c3c2dca9f2 Merge "Close suggestions when escape key pressed." 2012-12-13 01:00:42 +00:00
jenkins-bot e5e4dafe2e Merge "Only call showSelecton on undo and redo if there is a returned range." 2012-12-13 01:00:35 +00:00
Catrope 803001d652 Handle a null response in onLoad()
Change-Id: I6ce6c3b313c4785db1bad47c8822cca5114d17a3
2012-12-12 16:58:06 -08:00
Rob Moen c9da8f61dd Close suggestions when escape key pressed.
Fixes (Bug 43051)

Change-Id: I5e6baeec62da49b10793f2ebe7d341697a63f9c4
2012-12-12 16:54:11 -08:00
jenkins-bot 8b50543b6d Merge "Save dialog: Fix too-wide diff box." 2012-12-13 00:51:25 +00:00
jenkins-bot 74b874c1fa Merge "(bug 43013) Exclude edit notices with no visible text." 2012-12-13 00:39:10 +00:00
jenkins-bot 9ad0328b56 Merge "Phase out $.toJSON, use JSON.stringify directly." 2012-12-13 00:36:54 +00:00
Timo Tijhof 4fa57b469a Phase out $.toJSON, use JSON.stringify directly.
Although $.toJSON optimises heavily for modern browsers (it
becomes a direct reference to JSON.stringify), we still load the
extra plugin.

JSON is specified as part of ECMAScript 5, but most browsers
supported this one before they supported the rest of ES5.

http://caniuse.com/#search=JSON

Cut off for native JSON is IE7, Firefox 3.0 (3.6 supports it) and
Safari 3. Not any of our concern as VE will most likely never
support those (certainly not at this point in time, and less
likely as time goes on).

Change-Id: I4e8f26ac94763fa38d29e41264de0247f53a21e5
2012-12-13 01:33:46 +01:00
Timo Tijhof 18ab361a43 (bug 43013) Exclude edit notices with no visible text.
en.wikipedia.org has a template gala for edit notices with a whole
bunch of html framework outputted by default from
MediaWiki:Editnotice-0 (even if their underlying system has no
matches for the current page).

In the core editor from EditPage.php this isn't a problem as the
element is just idling hidden above the editor.

In the case of VisualEditor (where we have a custom delivery for
the edit notices) we don't want to say "1 notice available" on
every page, so we need to be smart and quickly walk the dom of the
notice, filter out invisible nodes, and if the resulting nodes
have no contents, ignore the notice all together.

Change-Id: I65447da8b88a9bae9c24ff155544ff66b3fe9100
2012-12-13 01:26:11 +01:00
Trevor Parscal 718e72d534 Disabled VisualEditor section edit link overrides by default
Server config: $wgVisualEditorEnableSectionEditLinks
Client config: mw.config.get( 'wgVisualEditor' ).enableSectionEditLinks

Change-Id: I859546475a32a686e318aa7108396606b5a0a78d
2012-12-12 15:35:33 -08:00
Translation updater bot 3163cb4053 Localisation updates from http://translatewiki.net.
Change-Id: Ie9545be769df90cab2d67bdd20cd68d25f643da6
2012-12-12 21:18:18 +00:00
Rob Moen a09ab4d70a Only call showSelecton on undo and redo if there is a returned range.
Fixes (Bug 43033)

Change-Id: I36745a01fad135b8eb02ee0da22d74ebf0a4c118
2012-12-12 12:07:02 -08:00
James D. Forrester 112a22f820 Link 'user' namespace as well as 'main' in preferences label
This was skipped due to time constraints; now fixing up.

Change-Id: I4ef25c0aeabdcf14a078aa3360e43db223010ff7
2012-12-12 11:50:57 -08:00
jenkins-bot 98ae870d83 Merge "Add "and User namespace" to message" 2012-12-12 03:35:31 +00:00
Timo Tijhof 0cec349074 Save dialog: Fix too-wide diff box.
The rules have changed, these constraints are no longer needed
and actually causing the table.diff to ignore the restrictions
and bump out of the container beyond the width of the window.

This restores the condition under which table.diff is displayed
by core EditPage.php.

Follows-up I5f59482f4db.

Change-Id: I456644bf14efab7dac351818d5c3bb69b9b3c993
2012-12-12 04:32:55 +01:00
Catrope c966ff0544 Add "and User namespace" to message
enwiki now also has VE enabled in NS_USER

Change-Id: Ic96d09fe0a54c43d1c951d44c1c4efe3006f75c8
2012-12-11 19:28:19 -08:00
James D. Forrester fee25f14f7 Add missing qqq strings and other minor clean-ups
In our rush to get the code out of the door, we skipped the qqq strings for some
of these strings, and we left a ghastly i18n hole in the middle. Now fixed.

Change-Id: I88319cdc2d10f99a631989047a571a7a3e7122da
2012-12-11 18:32:45 -08:00
James D. Forrester 98fdcbe5b5 Fix renamed message keys
Some of the message keys have been renamed but only in English; find/replace of others.

Change-Id: I4d85fe2d4da5a4a09083223701ae10810caee6cb
2012-12-11 18:11:41 -08:00
jenkins-bot 0ca661345f Merge "Remove cruft from suggestion tool." 2012-12-12 01:59:08 +00:00
jenkins-bot 20dd91423a Merge "Save dialog: Implement new "Review and Save" model." 2012-12-12 01:57:36 +00:00
jenkins-bot a8a26ee7a3 Merge "Make {{PAGENAME}} in edit notices work by setting $wgTitle" 2012-12-12 01:56:16 +00:00
Timo Tijhof cdee18dae8 Save dialog: Implement new "Review and Save" model.
Basically saveDialog-body now has three slides:
* review
* report
* save

There is a viewPage.swapSaveDialog method that is called like this
 viewPage.swapSaveDialog( 'review' );
initially called from showSaveDialog.

Misc:
 * Replaced more reused core message with a ve ones:
   savearticle => visualeditor-savedialog-label-save
   showdiff => (removed)

 * Removed min-height from saveDialog. When slide-review is
   load, it is very short and there shouldn't be 10em's of
   whitespace below the loader + buttons.

To avoid problems with diff cache being cleared while looking
at the save dialog, we lock and unlock the surface.
We could later remove this as and optimise it as feature, but for
now this fixes a bug.

Change-Id: I5f59482f4db16264014720b199d7652843c36108
2012-12-11 17:52:48 -08:00
Catrope 1dbe1127e5 Make {{PAGENAME}} in edit notices work by setting $wgTitle
This is TERRIBLY DIRTY and I am ashamed

Change-Id: Ief6f7b81de966d5f87e802c4385ae041f98bde6d
2012-12-11 17:50:11 -08:00