Commit graph

546 commits

Author SHA1 Message Date
Eranroz 8cf557addf Fix for bug 38827. Setting thumb as default format
This patch sets the "thumb" format as the default format for images added
using wikieditor toolbar, with or without dialogs enabled.

Change-Id: I707b02c63b7253bd29b960a58c0fc10e1d013fb4
2012-08-19 22:02:05 +03:00
Translation updater bot 6c1141cf6e Localisation updates from http://translatewiki.net.
Change-Id: I014fb431b3e1f69ac7907ef8a3444313ed65b6fc
2012-08-19 14:54:13 +00:00
Translation updater bot 3b05cae1da Localisation updates from http://translatewiki.net.
Change-Id: Ie1b474522a8281c31b2d74ae38eeb559d12e6e0c
2012-08-17 13:13:06 +00:00
Translation updater bot 1f15c213ca Localisation updates from http://translatewiki.net.
Change-Id: I5a519579e4807ea5fa48c28fd50a18d31048b780
2012-08-16 20:32:52 +00:00
Translation updater bot bcd79a9250 Localisation updates from http://translatewiki.net.
Change-Id: I279d3f5c1cd955af00b1a8b7161d4dec147757a7
2012-08-15 20:00:13 +00:00
Catrope 8769681ef4 Merge "(bug 24566) Make the search and replace dialog non-modal" 2012-08-14 20:35:00 +00:00
Translation updater bot 013e0739a0 Localisation updates from http://translatewiki.net.
Change-Id: Ic6a8f2c2509b5f5529bb1bd94ef75e64eebad973
2012-08-14 19:45:59 +00:00
Translation updater bot 44d783d890 Localisation updates from http://translatewiki.net.
Change-Id: I1302d34f8aae8ebbcfe6d27942ffd698b459777f
2012-08-13 19:56:58 +00:00
Translation updater bot 579f2b612c Localisation updates from http://translatewiki.net.
Change-Id: I649b63ca8e54f2a2e6bc58023cba259b3875718b
2012-08-12 20:34:11 +00:00
Translation updater bot ce0c8b4e9a Localisation updates from http://translatewiki.net.
Change-Id: I5c4907948bd973d13271a81beba70f931852dc11
2012-08-11 19:27:16 +00:00
Translation updater bot 8b48979c80 Localisation updates from http://translatewiki.net.
Change-Id: I504a4ab750507a28f0b6b40b2ef852134f5c18c4
2012-08-11 00:07:53 +00:00
Translation updater bot 27f554ddcf Localisation updates from http://translatewiki.net.
Change-Id: Ife2eda4654b48313aea667c84424e0f3b6bc4d3b
2012-08-10 19:27:53 +00:00
Translation updater bot 1254a669c5 Localisation updates from http://translatewiki.net.
Change-Id: Iad846981c365b6a198c59ed5deed494e243cf819
2012-08-09 19:36:03 +00:00
Translation updater bot 65e4312804 Localisation updates from http://translatewiki.net.
Change-Id: Id7de4e235e022d85363276a9f885346d79b4b186
2012-08-08 19:21:24 +00:00
Translation updater bot 2eab378dce Localisation updates from http://translatewiki.net.
Change-Id: Ie6d7933238e9b0478b29b78fc1b760522102a99b
2012-08-07 20:12:03 +00:00
Translation updater bot 19bbd3799f Localisation updates from http://translatewiki.net.
Change-Id: I7e3a5f75c465ec1115116707c16afc8aaf4419b6
2012-08-06 19:31:05 +00:00
Translation updater bot e14004f56e Localisation updates from http://translatewiki.net.
Change-Id: Ifbd9a905b4f4bbef82646862ca84a7da327dbbc2
2012-08-05 19:32:39 +00:00
Siebrand Mazeland 615fe18ecd File name -> filename.
Also fix some capital letters in qqq.

Change-Id: Ic94df4d3fbc4dd30467c5fff8cc3ddefb056a095
2012-08-05 00:54:34 +02:00
Derk-Jan Hartman 7a498e18fb (bug 24566) Make the search and replace dialog non-modal
This has been a popular request, because people often have to
interrupt their search to make certain changes and then want to
resume.

Change-Id: Id537ffe439d4522add300d8c1355758774dca1c9
2012-08-04 16:16:25 +02:00
Translation updater bot 5ced5e288a Localisation updates from http://translatewiki.net.
Change-Id: I0fa5a95e3d6d2de8a0c398c93a20bfc5ebd46968
2012-08-03 16:22:20 +00:00
Amir E. Aharoni 2dfbca2b6d Adjust file size input length
The message that currently appears in the box is '(default)' or its
translation. This translation can be a lot longer than it is in English.
This change sets the length according to the length of the actual string.

Change-Id: I9f2151d39e6f3d1cc708ba71e069316c265a8d20
2012-08-02 15:27:12 +03:00
Translation updater bot 3fa8383067 Localisation updates from http://translatewiki.net.
Change-Id: I240ffe6d0d88e9acce3b5a281865450d77fe1a4a
2012-08-01 20:11:41 +00:00
Rob Moen c535fb3fb6 (bug 38820) Fixed missing and invalid page conditional.
API returns an empty string for invalid and missing properties.
If missing / invalid property are defined, page is correctly flagged.

Change-Id: Id8b28f9ce4fc250853206019e864fe108351add9
2012-07-31 10:17:40 -07:00
Eranroz d0654ef864 (bug 24172) Adding dialog for file, (bug 24114) localize REDIRECT
Fix for bug 24172, by extending the wikieditor with a file
dialog (like the table and link dialog) for adding files with exended
syntax.
The added syntax is localised. This also fixes bug 24114, and the redirect
button now adds localised magic word.

Change-Id: I5950b530ab8c55aeba4b579cc80ce863f228d373
2012-07-27 00:59:23 -07:00
Timo Tijhof e7a0484eb5 (bug 38663) [Regression] WikiEditor "Table" dialog broken
* Fixed by casting to a String before doing the round-trip check

* While at it, improve user interface to make it harder to make mistakes
  and easier to do it "right". By making it an HTML5 "number" input specifically,
  and building in min/max settings into the UI.
  Old browsers fallback to a plain text input (like it was before).

  Most browsers implement this number input by allowing the use of the scroll wheel
  and the up/down arrows to adjust the numbers, and not allowing non-numbers or numbers
  outside the allowed range.

* Follows-up 7721909f9f

Change-Id: If32da14f80c6a0e4be3e1fe7fd0b650be4ed8a09
2012-07-26 11:30:27 -07:00
Translation updater bot b88a866ebe Localisation updates from http://translatewiki.net.
Change-Id: Ib2d66d0719935619b5a9d352be363dd8bdb04fef
2012-07-23 13:48:56 +00:00
Timo Tijhof 05c621db7a Tests: Add cursor: pointer; to the Run button
* Its an interactive button so it should show a cursor. We do
  the same in VisualEditor.

Change-Id: I4c6cfa1cc759b5c6eae82dd17423bb9db554e298
2012-07-17 13:40:40 -07:00
Timo Tijhof 7721909f9f WikiEditor: Linting and conventions
* Code clean up in preparation for enabling linting in the future

* Update code to use latest code conventions and best practices:
 - Make use of jQuery.Event (e.g. no need to check both e.keyCode
   and e.which)
 - jQuery: .size() -> .length
 - jQuery: (where appropiate) .attr() -> .prop()
   Setting properties like 'checked' via attr() has been deprecated
   in jQuery.
 - Whitespace
 - Single quotes instead of double quotes
 - Use literal keys in object literals instead of strings
 - Pass mediaWiki to closure, use mw. locally instead of "mediaWiki"
   global directly.
 - Fix indentation
 - Brackets around if, else and for bodies
 - Strict comparison to 0, null, false, true etc.
 - Fix missing radix parameter in parseInt
 - Use local $ instead of global $
 - Use `foo || bar` instead of `foo ? foo : bar`
 - Variable scope hoisting
 - Double/redundant variable declarations
 - ['foo'] is better written in dot notation
 - New line at EOF
 - Consistency in jQuery construction:
   Tag name for element creation $( '<div>' )
   Valid html for html parsing $( '<div foo="bar"></div>' )
 - Fix regex escape warnings per JSLint/JSHint.
   Do escape ][, don't escape ><
 - ..

* Add .jshintrc / .jshintignore

* Updated most files, but not all. Too much at once.

Change-Id: I445639b25a9688b3cdf9e5449e3d31cbcfa9c7ae
2012-07-17 13:27:27 -07:00
Translation updater bot 955ee768ca Localisation updates from http://translatewiki.net.
Change-Id: Iec062a512b34dceeea33e88132b809a675e4d7a0
2012-07-11 07:28:40 +00:00
Translation updater bot 32a1755735 Localisation updates from http://translatewiki.net.
Change-Id: Ib73c8cc333b91114177180fd389b067dce4012ab
2012-07-10 19:41:29 +00:00
Translation updater bot e0adfee5fb Localisation updates from http://translatewiki.net.
Change-Id: If97048422855176bd7d0e534a08e1bb2fa4390fb
2012-07-08 19:24:56 +00:00
Translation updater bot 52a744391b Localisation updates from http://translatewiki.net.
Change-Id: I7039f0d441ef102c737c031fdcfb1aa46bb5340d
2012-07-05 19:46:52 +00:00
Translation updater bot 9990b14a37 Localisation updates from http://translatewiki.net.
Change-Id: I13236e05cc19ad5df61ffb7a112ef39ed9b9aa55
2012-07-04 20:11:34 +00:00
Translation updater bot 3c3f6646ad Localisation updates from http://translatewiki.net.
Change-Id: Id88f6efe021114e7d74313cb90f43f4630d7e1bf
2012-07-02 22:17:20 +00:00
Translation updater bot f3ce21a1c4 Localisation updates from http://translatewiki.net.
Change-Id: Id60bd2283de2b4da7660fa9f6fb9308ebdcb43cf
2012-06-29 20:18:24 +00:00
Translation updater bot f84e9c7a79 Localisation updates from http://translatewiki.net.
Change-Id: Ie3adbaa07502d6512bebf67e0763bff30ed81ddd
2012-06-27 20:06:58 +00:00
Translation updater bot 518d75be13 Localisation updates from http://translatewiki.net.
Change-Id: I869ad704222789b8025360312f0e65ac268429bd
2012-06-25 20:19:15 +00:00
Eranroz e63ef419f0 (bug 37484) Update removeFromToolbar to select <a> instead of <span>.
* Follows-up fbd5ef001b.

Change-Id: I95eb21ca29a2520b092d6f75ccea98f6f0d1bc32
2012-06-25 20:42:25 +02:00
Timo Tijhof d70e7f8fb1 Merge "Remove wikieditor-preview=1 example from README" 2012-06-25 14:57:20 +00:00
Translation updater bot 7a30b2b78a Localisation updates from http://translatewiki.net.
Change-Id: I1cf8d56abf38231ddff4f769ae1091a0cef7b4d0
2012-06-24 20:07:26 +00:00
Translation updater bot 88cd9d0c93 $COMMITMSG
Change-Id: I6898cf1ef034efdf7c6395c9835914d8ccc0ad43
2012-06-23 20:17:05 +00:00
Translation updater bot 478aa3620c Localisation updates from http://translatewiki.net.
Change-Id: Ibdcb3ac24e1b76ec2c2b63588304da05f2a929a5
2012-06-22 18:11:02 +00:00
Translation updater bot 862599650e Localisation updates from http://translatewiki.net.
Change-Id: I214a3a26c3e472424cd89c0b4a8cc24ba4da6d5b
2012-06-21 20:27:03 +00:00
Translation updater bot 5ce0b0e571 Localisation updates from http://translatewiki.net.
Change-Id: I494c04c5e84e684e973fb2fa55b0ef4e48fd31dd
2012-06-20 20:31:35 +00:00
Translation updater bot e9a5f973f0 Localisation updates from http://translatewiki.net.
Change-Id: Ic2aee46ea49d7f62a012b93a5b1448330be8cdd9
2012-06-19 19:31:28 +00:00
Translation updater bot 5917bdeae7 Localisation updates from http://translatewiki.net.
Change-Id: I2622bba76bf8c1f4fc31e80e1476daf2bcdcfe66
2012-06-17 20:35:25 +00:00
Translation updater bot 7a8fd93299 Localisation updates from http://translatewiki.net.
Change-Id: Ied34373e5ead5a86f8fe963ba70ed68cfc7c32c9
2012-06-14 20:08:44 +00:00
Translation updater bot 4bffa4868f Localisation updates from http://translatewiki.net.
Change-Id: I82f1cd60bc212f0d3e29137ca31935021755facb
2012-06-14 18:57:22 +00:00
Translation updater bot 129b772504 Localisation updates from http://translatewiki.net.
Change-Id: I884e8b460b9f8bb137ceedff2f56e4c009e5f6cf
2012-06-13 21:01:06 +00:00
TyA 5098661115 (bug 25851) Adding additional special characters
The characters are detailed in the bug report.

Patch set 2:
* Amended commit message with bug number.

Patch set 3:
* Added comments to the Cyrillic section for readability.
* Added dotted circle to Palochka to differentiate from I.
* Moved the newly added Ѐ and Ѝ near Е and И.

Change-Id: I2d944926e2769f8691626190259d2466c0e2a8ec
2012-06-13 18:18:50 +03:00