Commit graph

2814 commits

Author SHA1 Message Date
Krinkle 598763f3cb Merge "Fix for bug 38827. Setting thumb as default format" 2012-09-13 05:47:45 +00:00
Translation updater bot dfa7ba9c4a Localisation updates from http://translatewiki.net.
Change-Id: Ib27f586a0d8d271c05e543d48d229c7d01ad24fd
2012-09-11 19:36:15 +00:00
Translation updater bot 4be5649f6a Localisation updates from http://translatewiki.net.
Change-Id: Ib7e92171364638b526c42ace6709af3bde6d40af
2012-09-09 19:35:22 +00:00
Translation updater bot 7e8c136a55 Localisation updates from http://translatewiki.net.
Change-Id: I81468ebde215d8da1f29a66ea1bcc3141d9c52db
2012-09-08 19:02:44 +00:00
Translation updater bot 4c3562f23b Localisation updates from http://translatewiki.net.
Change-Id: I0ad66c7ce61c8ca3d757f87c787fd7fb132ce6fc
2012-09-06 19:45:29 +00:00
Translation updater bot 9f7014a485 Localisation updates from http://translatewiki.net.
Change-Id: I004975f5ce7e99cad311833580348839212af15b
2012-09-05 19:25:55 +00:00
Translation updater bot dc7605dc54 Localisation updates from http://translatewiki.net.
Change-Id: I0256a951dd49d0e8397c85088bd5e874c7270938
2012-09-04 20:23:35 +00:00
Translation updater bot 1ebb448ab1 Localisation updates from http://translatewiki.net.
Change-Id: Idb8ab633c01e07a011c03be5f561598e74f4afd2
2012-09-03 19:56:22 +00:00
Derk-Jan Hartman 667ddb5de9 (bug 39029) Use wgExtensionAssetsPath for path to "extensions/"
Change-Id: I3b816c168af0f5f5dec68fae31b0ca83f23bd871
2012-09-03 06:52:13 +02:00
Translation updater bot 17788a33a0 Localisation updates from http://translatewiki.net.
Change-Id: I135ed8e882eab05e5d878519f00eed83ceb7f385
2012-09-01 20:48:30 +00:00
Translation updater bot 87d058c0eb Localisation updates from http://translatewiki.net.
Change-Id: I3b7ad0bc13cba85512bf7d86d9096f76ffe5c9e7
2012-08-29 19:24:32 +00:00
Translation updater bot 1325a064af Localisation updates from http://translatewiki.net.
Change-Id: Ic0a3f7c98425754f7b3e4b331b377fdebed7cd67
2012-08-28 19:43:57 +00:00
Siebrand Mazeland c93dc3714c Remove unnecessary colon and redundant closing tags
Change-Id: Icc9d4d647ce189ba8044627bcdface0c7a33e31d
2012-08-26 01:01:36 +02:00
Translation updater bot 6d25af9c20 Localisation updates from http://translatewiki.net.
Change-Id: If7d55a60cedce8e5e393a28589cad60e5c2703de
2012-08-25 19:04:04 +00:00
Translation updater bot 7b03f4b6be Localisation updates from http://translatewiki.net.
Change-Id: Idf4d090d29196a481fe9722445119cb248a14e6c
2012-08-23 20:10:51 +00:00
Translation updater bot 34ed285f22 Localisation updates from http://translatewiki.net.
Change-Id: I6fb592500891dd62f99806a259e599ee301d3899
2012-08-22 19:56:34 +00:00
Translation updater bot 25f9e66149 Localisation updates from http://translatewiki.net.
Change-Id: Ice201d6fc015db62b744d291120abce7491be529
2012-08-21 20:11:52 +00:00
Translation updater bot fe30f9fb43 Localisation updates from http://translatewiki.net.
Change-Id: Ie52c04fa64d98b060b2690c566a963b1a43e9c3a
2012-08-20 19:23:28 +00:00
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