Commit graph

195 commits

Author SHA1 Message Date
MatmaRex fb83a8416d (bug 42198) fix ext.wikiEditor.publish so that it actually works
Two fixes:

* The Cancel button previously simply did nothing. However, since it's a
  button, it caused the form to be submitted - essentially saving the edit
  instead of cancelling it.

  Now it sets window's location to "Cancel" link's href (already present in
  vanilla MediaWiki) and cancels the submitting of the edit form.

* The Publish button did nothing as well (except that it cancelled the form
  submission). This was caused by the dialog it was supposed to show not being
  initialized.

  I simply forced its initialization using "immediateCreate: true".

Change-Id: I64589985b6075183e66eaa40bc457acbbae380b1
2013-01-24 19:56:38 +01:00
Krinkle d8f32148be Merge "Georgian bold toolbar icon reworked. Followed by general style." 2013-01-07 20:15:42 +00:00
Reedy 743d550709 Merge "Remove source images and just store compressed images in the folders" 2013-01-07 13:53:39 +00:00
Siebrand 2481f782d7 Merge "Losslessly compress images" 2013-01-04 14:53:39 +00:00
Reedy 80a5a5964e Losslessly compress images
Change-Id: Ia4f690ec92e269289ff2c3df0cb3e30c26ce85a0
2013-01-03 01:58:06 +00:00
Reedy 3223a71d5a Remove source images and just store compressed images in the folders
Change-Id: Ia107210dfca766ad4a8de4a469638a5c7d877c6d
2013-01-03 01:56:56 +00:00
Xwybylty Soslan 87b0c0dfc4 Georgian bold toolbar icon reworked. Followed by general style.
Change-Id: Iaf59456674566e5a7ee6da9fb788838dd14bc4aa
2013-01-03 02:08:38 +04:00
Xwybylty Soslan 73c92a3ca2 Added toolbar icon for Ossetian language. Added Ossetian to toolbar configuration.
Change-Id: Icd0086d3c8944ae33c9a25801abecf67bdbeb7af
2013-01-03 01:17:45 +04:00
Siebrand Mazeland db7b05404f No longer use parameter in 'wikieditor-toolbar-tool-table-toomany'
The value is 1000 and this number can only be change in the JavaScript
code. It's unlikely this will be done, and if it's done, the message can
be changed easily.

Change-Id: Iff2553112af52ccb22627301c68db63595ec3cf2
2012-12-28 21:56:43 +01:00
Yuri Astrakhan 61ab2e1078 (bug 35064) Added Cyrillic chars to Special Symbols editor
Change-Id: Idb39c6b3c9612e8a0e2daff73c71da8e4469e859
2012-12-23 11:03:47 -05:00
MaxSem dd24768983 Merge "Bug 42039 - Fix some file-related issues in the distribution" 2012-12-16 01:02:37 +00:00
isarra 92b0870d69 (bug 40608) Width tweaks for consistency with surrounding elements
Specifies textarea width of 100% for legacy skin support, and per suggestion by Daniel Friesen, adds a box-sizing specification to prevent the WikiEditor interface from overflowing from the bodyContent.

Change-Id: I8b3369f584c636dfb03685c16f838ea94e6fc0fb
2012-11-26 23:14:47 +01:00
MarkAHershberger a72179e943 Bug 42039 - Fix some file-related issues in the distribution
Change-Id: I725b7ca86d037dafc1ea7ac4e744f8e822953841
2012-11-12 09:55:09 -05:00
Kaldari 27013f26e5 (bug 40735) Enabling editors to distinguish dashes in the WikiEditor
Right now, the Special Characters interface in WikiEditor shows all
characters in a monospace font which makes it especially difficult to
distinguish the different dash characters. The solution implemented
in this change is to add title tooltips to the following characters:
en dash, em dash, minus sign. The title tooltips are localizable and
can be added to any other characters as needed. If we eventually want
to add title tooltips to all the characters, we should come up with a
config shortcut like we're using for Hebrew vowels.

Change-Id: I7eb207acda045a868ec4c625c39bfd3d1f78ea17
2012-10-16 16:26:04 -07:00
Siebrand Mazeland 06f3e09e21 CSS cleanup.
Change-Id: I9ab92becb4d7bbff91448a504457f69c8179b010
2012-09-28 01:28:50 -07:00
Krinkle 598763f3cb Merge "Fix for bug 38827. Setting thumb as default format" 2012-09-13 05:47:45 +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
Siebrand Mazeland c93dc3714c Remove unnecessary colon and redundant closing tags
Change-Id: Icc9d4d647ce189ba8044627bcdface0c7a33e31d
2012-08-26 01:01:36 +02: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
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
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
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
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
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
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
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
Demon 30b6d957e9 Merge "Fix for bug 35111" 2012-05-22 17:50:34 +00:00
Siebrand cb99b0a552 Merge "Making ltr default for characters." 2012-05-21 16:05:26 +00:00
Siebrand a0e48c6d82 Merge "fixing some RTL issues with Wikieditor dialogs." 2012-05-21 07:07:41 +00:00
Amir E. Aharoni 80067e8620 Making ltr default for characters.
Without this some conjoined ltr characters look weird in rtl wikis.

Change-Id: I7f38a18fd0d9728f69c63abd77b095a34cffbcb2
2012-05-20 23:27:06 +03:00
शंतनू 5622bdb5e1 Fix for bug 35111
Added support Devanagari characters in the WikiEditor. This includes all
characters as per http://unicode.org/charts/PDF/U0900.pdf

Change-Id: Iecab40aaf024c4ee40db142373ee94d90507b9c2
2012-05-20 18:58:42 +05:30
Amir E. Aharoni 71b0323303 Change the code of Greek to 'el'.
'hl' is not the correct code for Greek. It's 'el'.

Change-Id: I90a67ada71e2cbe2dbf8e79df02b83bae5aba998
2012-05-20 14:21:28 +03:00
Eranroz 44122de2dc fixing some RTL issues with Wikieditor dialogs.
Original support for RTL here was written before ResourceLoader, now
ResourceLoader handles it and this special code for RTL shouldn't exist
:)

Long time ago some css specific for RTL was added for supporting RTL with
body.rtl (before ResourceLoader). However now it is not needed as
ResourceLoader already flips right/left, and moreover it even causes wrong
direconality as ResourceLoader flipps the special handling for RTL.

Changes:
1. dialogs buttons were on right (in English buttons on the
right side too) => now on left side
2. Title of dialogs was in left, and close on right => now title is on
right and close on left
3. Link dialogs: the "Target Page" and the icon for "Broken/Good link" was
flipped

Change-Id: Ia85dfcfcea5945d088cffc4da6198fa506933f81
2012-05-03 22:13:23 +03:00
Trevor Parscal 96052d0d97 (bug 34885) Fixes issue where old toolbar was killed, even when the new toolbar was incompatible
Instead of wiping the old toolbar out on the server side we now just wrap the old toolbar in a div that has an inline style that prevents it from being displayed. This is only done when the toolbar is enabled. When the toolbar code runs on the client, if the toolbar ends up being incompatible, the old toolbar's wrapping div is shown. This avoids the side-effect of the old toolbar showing up momentarily while the new toolbar loads. It's a dirty hack, but we explored this extensively and it's the least evil way we could come up with that worked consistently.

Change-Id: I6fefadea4dbd01b96a0b95c50bc9ef526144dc3c
2012-04-17 15:19:20 -07:00
Krinkle 8730cde553 Merge "Don't escape $, not needed in JS" 2012-04-17 21:30:41 +00:00
Catrope aa78431fc0 Merge "Adding Tamil numerals special character insertion toolbar." 2012-04-17 21:21:40 +00:00
srikanthlogic 2dc745c7ef Adding Tamil numerals special character insertion toolbar.
Patchset 2: (Roan) Fix indentation to use tabs instead of spaces

Change-Id: Ia55da864a01a0adc6ac15d5c132832b11a4d94c2
2012-04-17 14:20:00 -07:00
Catrope 5bd7ef6a1b Merge "Moved character 25cc (dotted circle) before the diacritic." 2012-04-17 21:14:53 +00:00
Catrope c96beedf86 Merge "RTL fix for special characters insertion links." 2012-04-17 21:12:14 +00:00
Catrope 99a8b25d3b Merge "Adding pretty quotation marks for Hebrew." 2012-04-17 21:11:32 +00:00
Catrope ba2cf2f249 Don't escape $, not needed in JS
This makes jquery.wikiEditor.toolbar.config.js pass jshint (the
command-line jshint from npm that is)

Change-Id: I74d353c956c2b9616a9f80e10d5309ae9ee544db
2012-04-17 13:41:13 -07:00
Amir E. Aharoni ec24d21801 Updating the Gujarati character insertion toolbar.
New characters are added and existing characters are reordered
according to comments received from the Gujarati Language support
team.

Change-Id: I769594ec1088d2c3326477a3f1065d576c6dcdf7
2012-04-01 14:39:51 +03:00
Amir E. Aharoni f963e0f704 Adding pretty quotation marks for Hebrew.
Change-Id: Ief0aad430b4565a46f5772b6ef24e41e11e98774
2012-03-29 11:22:59 +02:00
Amir E. Aharoni e6640f53ba Moved character 25cc (dotted circle) before the diacritic.
The diacritic is supposed to appear after the dotted circle. It is
already like this in other languages.

Change-Id: Id157ab58ae41bd6e8f78c26b35b65003abc7bf7a
2012-03-29 10:15:43 +02:00
Amir E. Aharoni 7cea0eb810 RTL fix for special characters insertion links.
Added @noflip, because it's explicitly rtl. Without it, it becomes ltr.

Change-Id: Ifda0894d8745faea2dc18e4efed3a3dfa52239d8
2012-03-29 10:10:23 +02:00
Brion VIBBER 954636d7ca Merge "Added ZWNJ and ZWJ according to request at bug 30611. Split special characters from digits." 2012-03-26 22:50:21 +00:00
Amir E. Aharoni 562f1d3fbc Grouped Hebrew characters and added comments. Added required punctuation characters.
Change-Id: I353e3c12be8c2fdb8abcc1d6690b43e71717f689
2012-03-24 15:00:50 +02:00
Amir E. Aharoni aa493220fa Added ZWNJ and ZWJ according to request at bug 30611.
Split special characters from digits.

Change-Id: Ibcaaa1f5447495647ff18658c4250617f8307455
2012-03-24 12:56:08 +02:00
Sam Reed 0514d49717 More image compression for extensions 2012-03-01 02:24:49 +00:00
Roan Kattouw f26acc15c7 Add a configuration variable for disabling tracking clicks on the toolbar buttons 2012-02-23 22:29:37 +00:00
Daniel Friesen 45f3e29065 Add resize: vertical; to the textarea's css so that browsers like firefox and chrome won't allow horizontal resizing resulting in WikiEditor background showing. 2012-02-15 06:06:27 +00:00
Roan Kattouw 9061f480db (bug 32451) Clicking on a special characters section loses the selection in IE8. Patch by Lupo 2011-11-20 15:02:20 +00:00
Derk-Jan Hartman 6325d5ea3b Harden the toolbar builder for character insertion a bit against incorrect configurations.
Will now check if character is defined and will return empty string as result instead.

Added a mw.log to catch this situation for developers.
Based on patch by User:Lupo.

Bug 31673
2011-11-14 21:55:46 +00:00
Derk-Jan Hartman 2c9bbffca7 Make sure a row is closed in the toolbar.
Patch by User:Lupo
Bug 31673
2011-11-14 21:21:15 +00:00
Roan Kattouw d82577cce1 Remove stray comma per bug 31673 comment 4 2011-11-14 13:51:40 +00:00
Roan Kattouw a1cec03598 (bug 32374) Heading dropdown disappears behind textarea after closing and re-opening the Advanced section. This seems to be caused by the collapsing animation that sets position:absolute on the section, does the fadeOut animation, then after the animation sets the position 'back' to relative. However, the position was never relative to begin with, so now the absolutely positioned header dropdown has a different closest positioned anchestor and it appears things go wrong from there and cause the bug. So instead of setting the position to relative after the animation, set it back to what it actually was before, which is static (implicitly). 2011-11-12 09:08:00 +00:00
Roan Kattouw 432415b129 Followup r96944: rename "Replace next" button to "Replace" cause that's what it does now 2011-10-31 08:38:35 +00:00
Sam Reed 7f10e92044 Swap
/*
 *

for

/**
 *
2011-10-26 03:49:06 +00:00
Roan Kattouw 280ae464a4 (bug 31499) articlePathRegex (detection of external links within the same wiki) broken when wgServer is protocol-relative 2011-10-25 14:30:33 +00:00
Derk-Jan Hartman 11aabbd4a9 Fix bug 31604.
Table should now load the tablesorter if needed, and make sure that the table is sortable.
2011-10-22 17:21:03 +00:00
Roan Kattouw fe7b614517 (bug 31411) Remove stray comma introduced in r86853, broke WikiEditor in IE 2011-10-06 13:15:03 +00:00
Roan Kattouw bf8858349b WikiEditor: Fix bug where ext.wikiEditor would load and wrap the textarea even if the toolbar was disabled. This has been reported to me on IRC but I'm not aware of any bug report in BZ 2011-09-29 19:04:54 +00:00
Siebrand Mazeland cc71ec5354 * bump version to 0.3.1
* stylize.php
2011-09-13 08:56:32 +00:00
Siebrand Mazeland 868eec7504 (bug 20919) Search & Replace: Change "Replace Next" functionality to "Replace" functionality. Patch by Amir E. Aharoni.
Submitter's comment: "Replace next" now replaces the currently selected text instead of finding the next occurrence and replacing it. To keep the location of the current occurrence, i added matchIndex to $(this).data.

I added some comments renamed a couple of variable for readability:
* s to textRemainder
* replace to actualReplacement

This is my first significant jQuery-style patch so it may have embarrassing mistakes - constructive criticism is welcome.
2011-09-13 08:53:12 +00:00
Siebrand Mazeland 85ad75bc8c (bug 30611) Improve WikiEditor localization for Arabic script languages. Patch by Amir E. Aharoni.
Split the Arabic section in jquery.wikiEditor.toolbar.config.js into Arabic and Arabic extended. Arabic contains the core 28-letter alphabet, special letters for the Arabic language, vowels, punctuation and digits. "Arabic extended" contains most of the other letters and signs that are used by languages such as Arabic, Urdu, Balochi, etc.
2011-08-30 16:22:26 +00:00
Roan Kattouw 0af1258eef Followup r82900: per CR, use .length instead of size(), strict comparison with zero, and re-select from the DOM after removal to guard against weird interaction between .remove() and .length 2011-08-20 12:47:00 +00:00
Roan Kattouw dccf13d8c3 (bug 29750) In the special characters toolbar, add Ș (\u0218), ș (\u0129), Ț (\u021a), ț (\u021b) and remove Ţ (\u0162), ţ (\u0163), Ŀ (\u013f), ŀ (\u0140). Patch by Amir Aharoni 2011-08-14 09:29:45 +00:00
Leo Koppelkamm fb2ee48521 r91740: Updating module name in extensions 2011-07-08 18:00:38 +00:00
Derk-Jan Hartman e2f796c8d9 One more fix for the for in loops.
Follow up to r91347
2011-07-07 20:54:24 +00:00
Derk-Jan Hartman f83bb24864 Follow up to r91349
Missed adding quotes to two of the [rel=]
2011-07-03 22:42:28 +00:00
Derk-Jan Hartman 6f6e7d0565 Adding quotes for the [rel=] stuff, since this broke one test.
Reported in bug 29106. Patch by Michael M.
2011-07-02 09:17:01 +00:00
Derk-Jan Hartman 3cae03cef5 Correct for in loops on arrays.
Reported in bug 29106. Patch by Michael M.
2011-07-02 09:09:05 +00:00
Derk-Jan Hartman c1edd49986 Clean up some global var leaking in WikiEditor toolbar
Reported in bug 29106. Patch by Michael M.
2011-07-02 08:54:01 +00:00
Derk-Jan Hartman e7132c5323 * Fix broken post call to api in side-to-side diffs
* Fix support for side-to-side diffs in section editing

Reported in bug 29106. Patch by Michael M.
2011-07-02 08:46:50 +00:00
Krinkle 6b2326d26d Follow-up r90845: mw.get > mw.config.get 2011-06-26 19:54:21 +00:00
Mark A. Hershberger b18069c06a Bug #29106: Patch from Michael M. to address JS legacy globals in wikiEditor 2011-06-26 19:25:27 +00:00
Brion Vibber 2b22c37b88 * (bug 29322) Move some iframe-specific code in WikiEditor JS to its proper module 2011-06-09 18:10:02 +00:00
Brion Vibber 85ec51cce0 Fix for WikiEditor iframe extension on IE: use $.inArray() instead of Array.indexOf(), which is not in earlier JS standards as implemented in IE 8.
Use of Array.indexOf was added in r74271 when the iframe bits were broken out to an extension.
2011-06-09 00:20:13 +00:00
Krinkle 40bb0c72b5 Extension:WikiEditor Code quality, JSHint validation and JSPERF
- Leaked globals
- Strict comparison to 0, false and ''
- Missing semicolon
- Variable name collision
- Minor improvements in caching (in a few places "var $that" cached $(this), but wasn't actually used)
- Replace calls to deprecated $j with $
- Checking undefined by strictly comparing references instead of a string comparison and typeof (speed)

(see bug 29106)
2011-06-06 23:18:13 +00:00
Roan Kattouw 63e9d0ff85 WikiEditor: (bug 27698) Toolbar height isn't updated in all code paths of addToToolbar(), causes toolbar to overlap part of the edit box if certain race conditions happen. Patch by Salvatore Ingala 2011-05-13 14:34:43 +00:00
Leo Koppelkamm 57721bd94e Followup to r86108 per CR: Fix two calls to legacy tablesorter 2011-04-30 18:58:17 +00:00
Jan Paul Posma 6e998359f0 Fixes bug 24088: WikiEditor toolbar RTL icons 2011-04-25 12:26:20 +00:00
Jan Paul Posma 4c8f157f1a Fixes bug 28149 (but with default to true) 2011-04-22 12:10:18 +00:00
Roan Kattouw fad3b6568b (bug 22209, bug 22574) Make indent, bullet list and numbered list buttons in the WikiEditor toolbar act on each line individually
* Reintroduce support for the splitlines argument in encapsulateSelection(). Was implemented by Adam Miller in r61493 but got lost somehow
* Add 'splitlines': true for the bullet list and numbered list buttons. The indent button already had it, so that part of r61493 did survive
* Copy options.pre and options.post to local pre and post variables instead of using (and modifying!) them directly all over the place
2011-04-21 13:42:39 +00:00
Leo Koppelkamm 724dccc131 Fix jumping of textbox in link-dialog. This happened when the link was being checked and the too large spinner image pushed the field down 2011-04-21 08:59:13 +00:00
Marcin Cieślak e8625d2726 Additonal pair of quotes in the enhanced edit toolbar
Some langages (Croatian, Hungarian, Polish, Romanian, Serbian)
use DOUBLE LOW-9 QUOTATION MARK (U+201E) and 
RIGHT DOUBLE QUOTATION MARK (U+201D) in marking up
quotes. For more details, see:

http://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage
2011-04-04 23:06:47 +00:00
Derk-Jan Hartman d0b6d276cf Because this element has margins, the scrollWidth will be larger by definition, causing the box to continiously grow in size when opening it multiple times.
Fixes bug 27566
2011-03-28 21:11:17 +00:00
Michael Dale 203a9133a2 removed addMediaWizard gadget ( should be supported via dedicated extension 'AddMediaWizard' ) 2011-03-11 21:42:03 +00:00
Jan Paul Posma 9df5838aa5 Fixes bug when having multiple textareas, which is caused by the fact that dialogs are kept in memory for performance, even when selecting a different textarea. 2011-02-27 17:14:01 +00:00
Jan Paul Posma 9d6f6e3526 1. Re-introduces check if the browser supports the dialogs, which was removed for no apparent reason in r74276.
2. Makes the isEnabled function public, to allow other extensions to use the same configuration settings as WikiEditor.
2011-02-25 00:01:57 +00:00
Jan Paul Posma 8ca58dd46b A bit of a reorganisation that fixes bug 27164. Basically the extensive configuration in the ext.wikieditor.* functions is moved to the jquery plugins, to be able to use these configurations in other extensions which don't have a #wpTextbox1.
Please review this to check if this is the right way to do it!
2011-02-24 01:45:55 +00:00
Roan Kattouw ee3a8e68b0 WikiEditor: Add missing message and shut up a source of JS errors 2011-02-23 20:50:52 +00:00
Max Semenik dcebf90c7c WikiEditor: removed duplicate Hebrew characters. Reported on IRC by Yair Rand. 2011-02-21 15:35:01 +00:00
Roan Kattouw 7464078c73 (bug 27502) Monospace text too small 2011-02-19 15:02:14 +00:00
Roan Kattouw 9eaa77a549 WikiEditor: Use wgExtensionAssetsPath instead of wgScriptPath + '/extensions' 2011-02-16 14:52:34 +00:00
Roan Kattouw b7f45b1e01 WikiEditor: Add some var statements to code introduced in r74271 2011-02-08 07:04:12 +00:00
Roan Kattouw 94c2e2f19d WikiEditor: Fix usage of $.client 2011-02-07 21:59:01 +00:00