Commit graph

717 commits

Author SHA1 Message Date
Translation updater bot 699a2446dd Localisation updates from https://translatewiki.net.
Change-Id: I6908010d9d60a76d7f47d2fbe698d311c4eca03d
2014-04-16 15:30:27 +00:00
Translation updater bot 8d480ac1e4 Localisation updates from https://translatewiki.net.
Change-Id: Id99f7f05ba9d92f8fc07ed47dbe19b29627ec067
2014-04-15 20:05:53 +00:00
Derk-Jan Hartman 00905d1829 Add a status bar to the CodeEditor
- Show counts of errors/warnings/info annotations. This is useful
  because the annotations are in the gutter, so in big files it takes
  a lot of scrolling to look for errors
- Clicking the totals count skips you to the 'next' annotation
- If the current line contains an error, show the message of the error
  in the status bar.
- Show the current line:column number, the selection range and the
  editor mode.
- Degrades to a useful and readable but not pretty state in IE7

More complex version of: Ib9f08fcbc0365302756095b9027289736856fc73

Bug: 63294
Change-Id: Ided0804d5eb7864452287087dd1cf5a3dd8ff078
2014-04-14 09:46:55 +02:00
Translation updater bot 187835cbf8 Localisation updates from https://translatewiki.net.
Change-Id: Ida356cdcab34363dd406d1be946b7e7ed007bb55
2014-04-13 19:13:13 +00:00
Translation updater bot 68b0438348 Localisation updates from https://translatewiki.net.
Change-Id: Idaa2effb28e75893c13818b561fca1909a233eca
2014-04-11 19:46:54 +00:00
Translation updater bot f16429c2b1 Localisation updates from https://translatewiki.net.
Change-Id: I74944dbd00d0ac4732571fb68cb285a00d007355
2014-04-10 20:28:54 +00:00
Translation updater bot 49fc41e103 Localisation updates from https://translatewiki.net.
Change-Id: Icc1b259b16e48c4d856051e4b713ad35ef42f795
2014-04-07 20:33:46 +00:00
Translation updater bot 12b0a2068a Localisation updates from https://translatewiki.net.
Change-Id: I92942e69dd0d0122cdbc019525141006939b1b5e
2014-04-06 19:38:20 +00:00
Translation updater bot 4f2ab034ce Localisation updates from https://translatewiki.net.
Change-Id: Id5ed2ffa050d1ed12e1437632d65b898c39df974
2014-04-04 20:20:55 +00:00
Translation updater bot f6dce94439 Localisation updates from https://translatewiki.net.
Change-Id: I73e2ae19ed3f17040134097bf198436b0e7eb248
2014-04-01 19:41:58 +00:00
Translation updater bot 44ee572d5f Localisation updates from https://translatewiki.net.
Change-Id: I1a738ca09da014dfa522eafd6e545bff90960363
2014-03-31 20:13:16 +00:00
Translation updater bot 495be60c60 Localisation updates from https://translatewiki.net.
Change-Id: I07729898e4e637a010c0f06f1a6e9ae34810f89d
2014-03-30 20:10:01 +00:00
jenkins-bot ecff4f5837 Merge "Ask for confirmation when saving document with errors" 2014-03-30 12:03:51 +00:00
Derk-Jan Hartman 262bfde28e Ask for confirmation when saving document with errors
Bug: 63202
Change-Id: Ifbdf976f3c0f27da67d7cf034c040d4279d62217
2014-03-30 00:47:10 +01:00
Translation updater bot 8cf9fffd5c Localisation updates from https://translatewiki.net.
Change-Id: Ia09a20d4ffc79bbc05042f451c018be73a990008
2014-03-28 19:25:39 +00:00
Siebrand Mazeland 27249af1cc Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Id2e1243b0d67c0e6e54e4a147adca6df5d8ee78e
2014-03-26 10:12:39 +01:00
Derk-Jan Hartman 03327915be Work around a problem with web workers in ACE
This will do for now, but we need a better fix upstream

Change-Id: I621066a4eb5ba1e14f92d2896852026d23b4be18
2014-03-25 10:59:08 -07:00
Derk-Jan Hartman 28c4b5ac10 Update ACE to Mar 16, 2014
This should be merged at the same time as it's followup patch, which
fixes an issue with loading webworkers when hosted on protocol
relative URLs.

Amongst other issues, it fixes bug 60156 with } pairing

Bug: 60156
Change-Id: I962c70ea2a07d27e0c3774095d63f9a5cd3de76e
2014-03-25 17:46:47 +00:00
helderwiki 6276431c6e Remove inexistent hook "LivePreviewPrepare"
This hook is never fired, therefore, per code review of
Ife952fc165dacea3ae7726e09bf61279f4bdae59 it should be
removed from CodeEditor.

Bug: 47235
Bug: 52071
Change-Id: Ic9dd9066f7d1676f45381cb6796425f13490fea3
2014-03-19 20:21:04 +00:00
Derk-Jan Hartman d0ec3d6982 Fix JSHint for CodeEditor
Change-Id: Iaf5c1fde6e002ea31eeef88f1963090e14784a7a
2014-03-17 00:28:35 +01:00
Reedy d6bc2282db Add COPYING
Change-Id: I9db9af4ad29641e66e71876002d56f5aa5462c58
2014-03-01 16:20:02 +00:00
Chad Horohoe d9b9580e6f $wgTitle and $wgOut weren't needed here
EditPage::showForm::initial was wrong about its parameters.

Change-Id: I7f2194dee00090a0c4ff35684607384cfc6897a9
2014-02-05 11:21:16 -08:00
Translation updater bot f399b074ab Localisation updates from https://translatewiki.net.
Change-Id: I54ca3b65a3294500d57090236f85ad554d01fc36
2014-01-23 20:11:33 +00:00
Derk-Jan Hartman b50d6d2fc7 Revert "Update ACE to Jan 17, 2014"
The update throws an error for the workers. Better we revert this for
now.

This reverts commit c2eed4f0e6.

Change-Id: I7090b833dc41a25a2c360113c10717055c003330
2014-01-22 16:29:24 -08:00
Translation updater bot 96e33604e0 Localisation updates from https://translatewiki.net.
Change-Id: Ifc518310cb93aac197d554cc6768c04143eaf3f2
2014-01-19 20:13:02 +00:00
jenkins-bot 0b9626eab3 Merge "Update ACE to Jan 17, 2014" 2014-01-19 07:37:14 +00:00
Derk-Jan Hartman c2eed4f0e6 Update ACE to Jan 17, 2014
This fixes a breakage with } pairing
Also adds support for CORS loading of the workers.

Bug: 60156
Change-Id: I7333a107b49bb6aec0f91f443f5823e82a327fab
2014-01-18 01:49:45 +01:00
Derk-Jan Hartman 2de765b86c JSHint: fix the last jslint/hint failures
Change-Id: I3695d0da964ee607d91510c490793aca1ace5d58
2014-01-11 12:11:57 +01:00
Derk-Jan Hartman 85fdb01d00 Enable ACE webworkers
Now that the RL path is set correctly we can enable the webworkers
This adds syntax checker and linting

Change-Id: Ie9177d4acae45f2aadb1dfd3e66049195056bca0
2014-01-11 08:39:31 +00:00
jenkins-bot 9603214b8b Merge "Use page ContentModel to choose editor language" 2014-01-10 15:43:42 +00:00
Derk-Jan Hartman f7b689d9f0 Use page ContentModel to choose editor language
Bug: 42593
Change-Id: I894afc3119719bfb3feff2677df12842bdf47ef8
2014-01-10 11:58:24 +01:00
Derk-Jan Hartman a6e4d82b58 Remove extraneous border in CodeEditor
Change-Id: Iedfed3e8722cb8440797d692739322d7fdf05b43
2014-01-09 22:26:19 +01:00
Derk-Jan Hartman 62da94ce68 Remove trailing commas
Also submitted upstream as:
https://github.com/ajaxorg/ace/pull/1742

Change-Id: Ia71b4e35a7168ea4c437ae728de71e5b0fe03bbe
2014-01-09 18:01:43 +00:00
Derk-Jan Hartman 05e6be051c CodeEditor: Update to package 12.02.2013 (December 2013)
ACE defaults to a white background now. I have no preference in
this, but it is caused by a change in the TextMate theme. There is a
bugreport (Bug 55423) about the old blue background.

This fixes an annoying problem with Safari 7, where characters are no
longer properly measured by ACE.
https://github.com/ajaxorg/ace/issues/1534

Fixes double-click to select:
https://github.com/ajaxorg/ace/issues/956

Set proper basePath so that require works, allowing conditional loading
of ACE resources. Need for Find to work after this update

Bug: 55423
Bug: 45876
Bug: 58521
Change-Id: Ia64b67b4553f77c6ba3d2aefec4bab62d111deb7
2014-01-02 11:11:32 +01:00
Siebrand Mazeland daf1aee4e8 Combine var statements
Change-Id: If005690ab8ecf21e64399781acbecd1ec3b02172
2013-12-31 18:44:56 +01:00
Siebrand Mazeland 2d121364d3 Update formatting of JavaScript files
Change-Id: I7a18b7f76f7c0a064645f23974f1fe09dafc4ca2
2013-12-31 13:03:11 +01:00
Siebrand Mazeland 37e2ec1286 Fix some JSHint issues
Change-Id: I46ae3ce2f39b35af6d75a94b5132eea0e6672064
2013-12-31 12:58:35 +01:00
Translation updater bot 407ea7a1c4 Localisation updates from https://translatewiki.net.
Change-Id: Ieeb142443c7c88370a31077b11c1845ea27ac586
2013-12-07 01:34:11 +00:00
Translation updater bot 655b8c4083 Localisation updates from https://translatewiki.net.
Change-Id: I4008d81e07994dde269c9ab1e431fa499282f2ee
2013-11-27 19:25:47 +00:00
Translation updater bot cb992bb83f Localisation updates from http://translatewiki.net.
Change-Id: I25e5f0649c19934c0781b0edae017a825249687a
2013-10-08 19:03:42 +00:00
Translation updater bot 9c2e0563b8 Localisation updates from http://translatewiki.net.
Change-Id: I8810aaca6673c00f50ba3b0a79deb94abac4f3d5
2013-10-08 00:51:53 +00:00
Translation updater bot e5578f9303 Localisation updates from http://translatewiki.net.
Change-Id: Ie010035dfcc5be3516c3107395fa99c274c4470b
2013-10-06 18:25:14 +00:00
Translation updater bot 3adac6d3de Localisation updates from http://translatewiki.net.
Change-Id: I99b879b2da38f61fd8d9dbea14110d2f6704d9fd
2013-09-29 19:54:03 +00:00
Translation updater bot 963fad36db Localisation updates from http://translatewiki.net.
Change-Id: I46f93640a32a443c122bb24eccc29d56d12e0640
2013-09-21 19:36:39 +00:00
Translation updater bot c32f4eae3c Localisation updates from http://translatewiki.net.
Change-Id: Id277ad78730da8c987519d1fcb03183e19eaca39
2013-09-05 20:22:27 +00:00
Translation updater bot 78a8480cb7 Localisation updates from http://translatewiki.net.
Change-Id: Ifde471bcad49a9f05b9536699dcfa24e2c3b594b
2013-08-30 19:22:55 +00:00
jenkins-bot 2ce7afebbd Merge "Explicit dir="ltr" for code" 2013-08-26 20:47:32 +00:00
Krenair 7a9b6a5168 Save real tabs and allow configuration by users via JS hook
Bug: 39616
Change-Id: I64c3b9b53f1265f5b9c19edb480040113fa85590
2013-08-25 18:45:16 +01:00
Amir E. Aharoni 54c5b35bc3 Explicit dir="ltr" for code
Change-Id: Ia7d6958a10481c39abb1406b67210cac998818e7
2013-08-24 11:19:30 +03:00
Translation updater bot 7adc7b1a8b Localisation updates from http://translatewiki.net.
Change-Id: I98abcd7a0c80dee830a25de93959d5cd72b5bf5a
2013-08-18 19:31:59 +00:00