Commit graph

528 commits

Author SHA1 Message Date
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
Translation updater bot fec616636a Localisation updates from http://translatewiki.net.
Change-Id: Ib2b1cca21f362fe8787a35a10f0df9bf3bd14f63
2012-06-11 20:21:56 +00:00
Translation updater bot 457edb8c3c Localisation updates from http://translatewiki.net.
Change-Id: Iea6e6d90df6611a6348fca09aa485affb9893488
2012-06-10 20:08:21 +00:00
Krinkle c2cea9317c Merge "(bug 34847) Changing span tags of buttons to anchor tags" 2012-06-09 20:16:29 +00:00
Translation updater bot 81e2426926 Localisation updates from http://translatewiki.net.
Change-Id: I4ebeba8beb1fbe98b18168e23e564c2ba4d4bd09
2012-06-05 20:11:21 +00:00
Translation updater bot 530581154b Localisation updates from http://translatewiki.net.
Change-Id: Icd3c1c27ef2eeb72b5cc85e54f4b208ff43384cf
2012-06-04 20:52:21 +00:00
Translation updater bot e83d1130f1 Localisation updates from http://translatewiki.net.
Change-Id: I85aba73581557bab0b6069fb4c6f140aabb098ae
2012-06-03 20:28:02 +00:00
Translation updater bot 766a6800c5 Localisation updates from http://translatewiki.net.
Change-Id: I5f2ec749b30e94500cbe72006879127bbd91a17d
2012-06-03 10:55:05 +00:00
Kai_Nissen_(WMDE) fbd5ef001b (bug 34847) Changing span tags of buttons to anchor tags
To allow users navigating the text markup buttons by keyboard
the span tags have been replaced by anchor tags. Also a dummy
link target has been added to make sure screen readers recognize
these tags correctly.

Change-Id: I9ec1543f3a39b57452d72067cf85b11e9351f546
2012-06-02 13:50:43 +02:00
Translation updater bot 9c365be9e9 Localisation updates from http://translatewiki.net.
Change-Id: If076ccb496bf6f6c337846896a30d65eb76f58d2
2012-06-01 19:28:09 +00:00
Translation updater bot 2fe0a4bc43 Localisation updates from http://translatewiki.net.
Change-Id: Ib3381b498944890fbef45ee9c87e5f83ec263a8f
2012-05-31 20:21:13 +00:00
Translation updater bot fd19339734 Localisation updates from http://translatewiki.net.
Change-Id: Iaea172fde19a23b761c78ef8a475ba7fc5f66752
2012-05-30 19:34:47 +00:00
Timo Tijhof 63e396e197 Remove wikieditor-preview=1 example from README
* AFIAK that method isn't as stable as the rest and hasn't been tested
  as much to recommend as default.
  (not enabled on WMF at least)

Change-Id: I27d40b4f7249daac0110ee49db90e31b453d73a2
2012-05-29 23:53:09 +02:00
Translation updater bot 0bd2762db1 Localisation updates from http://translatewiki.net.
Change-Id: I09507c32ac5c400bc2c298fb5cbdb45acf03e5f0
2012-05-29 20:05:58 +00:00
Translation updater bot 0be68e3bfd Localisation updates from http://translatewiki.net.
Change-Id: Iaa7a55082a0bb5a4c7cc9dc44cf4416a2047da12
2012-05-28 19:57:42 +00:00
Translation updater bot b7844e5623 Localisation updates from http://translatewiki.net.
Change-Id: I6a6d3a24473312400ca6bb35ac2045c55df95ce8
2012-05-27 19:25:46 +00:00
Translation updater bot a2c6b484c4 Localisation updates from http://translatewiki.net.
Change-Id: I020c6f93d19af903ec5c24804185efc821e873d4
2012-05-25 20:19:45 +00:00
Translation updater bot 595e03d1e3 Localisation updates from http://translatewiki.net.
Change-Id: I8e42ee0bb06a8877bf12b2855c93f3bf638d7e8d
2012-05-24 20:32:07 +00:00
Translation updater bot 6d89be9dfb Localisation updates from http://translatewiki.net.
Change-Id: I532370c68753eac43eedcfb9f2704ac5edf543fd
2012-05-22 22:43:14 +00:00