Commit graph

2491 commits

Author SHA1 Message Date
paladox 3f692d9e15 Convert .css to .less
* This patch convert .css to .less
* Semantic changes are avoided, but there are minor
  tweaks such as capitalization and ordering.

Change-Id: Iebff0f8e3d87bb792093a10d87f33540aca301d5
2015-03-09 21:24:23 -04:00
Translation updater bot 603873070e Localisation updates from https://translatewiki.net.
Change-Id: Ia51b9d428028ee2e23214626ca0f2462627a97cf
2015-03-09 22:11:34 +01:00
Translation updater bot 3e59317621 Localisation updates from https://translatewiki.net.
Change-Id: Ia344ed277bfa3977f8bb37d541384141e53ef8fa
2015-03-05 22:30:50 +01:00
Translation updater bot cf654b244b Localisation updates from https://translatewiki.net.
Change-Id: I57206b351b31c7e34207fb528b83fc5af19625a9
2015-03-01 22:11:07 +01:00
Translation updater bot 45737059ff Localisation updates from https://translatewiki.net.
Change-Id: Ie455978d0cccf4535665fb4fbd5eaa841000bf62
2015-02-26 21:41:02 +01:00
Translation updater bot 9a8bb8fd14 Localisation updates from https://translatewiki.net.
Change-Id: I48b32919060ee6642f3ccc4616b72a01bb31db76
2015-02-24 22:06:16 +01:00
Translation updater bot 814970bf85 Localisation updates from https://translatewiki.net.
Change-Id: I4da6998f955663360dddf7eacb62cdd956375048
2015-02-23 22:01:34 +01:00
jenkins-bot 82a290b452 Merge "Skip an old IE 8 bug workaround in WikiEditor on IE 11/Spartan" 2015-02-21 22:36:26 +00:00
Translation updater bot 631515a147 Merge "Localisation updates from https://translatewiki.net." 2015-02-19 21:13:17 +00:00
Translation updater bot 610291e0a1 Localisation updates from https://translatewiki.net.
Change-Id: I87cdd4a12b0b06e288199016833c2940ff153ef1
2015-02-19 22:12:40 +01:00
Brion Vibber ab2c7e3ce6 Skip an old IE 8 bug workaround in WikiEditor on IE 11/Spartan
An early version of WikiEditor added a workaround for a reported
bug with IE 8 where textarea scroll and selection state was lost
when the contents were modified.

This doesn't seem to be needed on modern versions of IE such as 11
and above and the newer 'Edge' HTML engine mode in Windows 10.

Actually, I can't reproduce it in Windows 7 or XP with IE 8 either
from the original bugs, but just in case it's needed on some particular
version that we don't know about I've only added a check for modern
IEs, which is already in use on other old-IE workarounds in the
module.

Bug: T88875
Change-Id: I25b667a8d8378c417441adee5d97571c71a1c8c7
2015-02-19 21:01:21 +00:00
Brion Vibber 4f8ad57aaf Enable search-replace dialog on IE 11+
The search-replace box in WikiEditor was blacklisted entirely from
MSIE, although it appears to work fine in IE 11 on Windows 8.1
and Windows 10 Tech Preview.

IE/Spartan team specifically requested a fix for this bug; looks like
it's an easy case of adjusting the blacklist with a version component...

(Note that in RTL the dialog positioning is bad, but that affects
other WikiEditor dialogs too.)

Bug: T88875
Change-Id: I4cf1eb76cc8a788cab233fe9ed04aaeba4af5725
2015-02-19 12:55:29 -08:00
Fomafix d67b50eeb5 Remove color overwrite for dialog header border bottom
This changes the color of the line under the hader of the dialog boxes
from #6bc8f3 to the default #aed0ea.
This difference is nearly not recognizable and it is not worth to overwrite
the default color.

Change-Id: I88580ab74fc158ec1a498fc489fbdd9cd5ba897a
2015-02-18 21:27:37 +00:00
Fomafix 6986f8dba8 Remove CSS definition for tables in dialogs
The only dialog with a table is the table creator dialog.
For this table a more specific definition exist in
jquery.wikiEditor.dialogs.config.css
These rules overwrite all here removed definitions except of
  wikiEditor-toolbar-dialog table { margin-top: 0.75em; }
Without this definition the margin-top slightly increase to the
definition from .wikitable with margin-top: 1em.

Change-Id: I0aab246db05cb4330287666f6a71b56d6b88b0af
2015-02-18 20:09:21 +00:00
Translation updater bot d7a7d55a62 Localisation updates from https://translatewiki.net.
Change-Id: Iba891ff193489f041446b80b08952be8e9601aee
2015-02-16 21:59:11 +01:00
Matthew Flaschen 736b94f827 Update autoMsg doc for plain call
* Reflect that we're now calling mw.message( ... ).plain()
* Remove vague statement about "may eventually become a wrapper for
  some kind of core MW functionality."

Change-Id: Ibe743162c1f72bb3977ec16e2ba4b023a66e3907
2015-02-14 22:32:35 -05:00
Translation updater bot e208d0f4b7 Localisation updates from https://translatewiki.net.
Change-Id: I4889a1106a0065721d03e0d22bbb7cc809f77246
2015-02-09 21:38:47 +01:00
jenkins-bot 51cc8a3d21 Merge "Move style from JavaScript to CSS" 2015-02-08 19:55:44 +00:00
jenkins-bot de5f3932b9 Merge "Allow a resizeable toolbar index" 2015-02-05 12:44:02 +00:00
Fomafix 78bdeffcc6 Use "obj.hasOwnProperty( prop )" instead of "prop in obj"
'constructor' in {}; // true
Object.prototype.hasOwnProperty( {}, 'constructor' ); // false

Bug: T86643
Change-Id: I4356608956d722dc086e6876a53fdd93435c6f0a
2015-02-05 13:34:03 +01:00
jenkins-bot d70fe376eb Merge "Use sprite as button icon where possible" 2015-02-05 12:25:11 +00:00
Fomafix da5c8abe9e Allow a resizeable toolbar index
Change-Id: I329a143e2ee0a21bee4a9b146c28e6e8df58d570
2015-01-29 08:45:08 +00:00
jenkins-bot bca8c3cf69 Merge "Prevent line wrapping for link syntax help column" 2015-01-24 08:01:57 +00:00
jenkins-bot 6433e68160 Merge "Remove style for wpSummary and wpSummaryLabel" 2015-01-24 08:01:03 +00:00
jenkins-bot c9b6a851b4 Merge "Use font-family: monospace, Courier" 2015-01-24 07:59:52 +00:00
Fomafix 17cb22e4f3 Use sprite as button icon where possible
The icon for italic in language 'os' exists in the sprite like for 'ru'.

Change-Id: I126b3fbc2246b485c2b7e8572037447498821e35
2015-01-21 18:31:33 +00:00
Translation updater bot b7fbb3d6e2 Localisation updates from https://translatewiki.net.
Change-Id: I38a5140ddfd7a196e82aabf3ace2a905e49e8d4e
2015-01-20 22:02:29 +01:00
Translation updater bot 942e9b5f47 Localisation updates from https://translatewiki.net.
Change-Id: Ia7dab9d985d8557b84762321ce0d0d4f53d33e3d
2015-01-15 22:52:20 +01:00
Fomafix ace852b237 Add missing dependency to module 'jquery.mwExtension'
jquery.wikiEditor.dialogs.config.js is using $.escapeRE().

Change-Id: I121c09fe7a598364e9005b61aec3e8c3d113b513
2015-01-15 19:41:30 +00:00
Fomafix 342cebaba6 Use font-family: monospace, Courier
Use
   font-family: monospace, Courier
instead of
   font-family: monospace, "Courier New"
like in resources/src/mediawiki.skinning/elements.css from core.

Change-Id: I87145f8254d34b6d00d76f22c3d0819b9ea5839f
2015-01-14 10:26:55 +00:00
Fomafix 5186f34fd3 Prevent line wrapping for link syntax help column
Bug: T33649
Change-Id: Ia814105aaac986e4ba216d68b1a8afaf38ddfdc1
2015-01-14 09:45:55 +00:00
Fomafix 000031fd48 Move style from JavaScript to CSS
Change-Id: I1bf4b886e3b9b789df377dbdd2df94eb80dd61d1
2015-01-14 07:51:24 +00:00
Fomafix 790a1af231 Fix whitespaces in JavaScript
* Use a singe space as whitespace.
* Remove space before colon when not used as ternary operator

Change-Id: I6391bbcf10d26fadf82686d7ff226b773868415c
2015-01-14 07:14:44 +00:00
Fomafix 216a271213 jquery.wikiEditor.toolbar.css: Remove selectors without prefix "cell-"
The selectors
.wikiEditor-ui-toolbar .section-help .page-table td.description
.wikiEditor-ui-toolbar .section-help .page-table td.syntax
.wikiEditor-ui-toolbar .section-help .page-table td.result
are not used. The used selectors have the prefix "cell-":
.wikiEditor-ui-toolbar .section-help .page-table td.cell-description
.wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax
.wikiEditor-ui-toolbar .section-help .page-table td.cell-result

Also add the missing selector
.wikiEditor-ui-toolbar .section-help .page-table td.cell-description

Change-Id: I26a131f269c6d0ee11015e388224dae79de4494f
2015-01-14 00:16:38 +00:00
Fomafix 169c4bfb7d Fix whitespaces for JavaScript and CSS
Change-Id: I3f6bf0d9e788cdca19b2b699fcb0a7b5ceab2a93
2015-01-13 09:14:53 +00:00
Fomafix 90592de211 Remove style for wpSummary and wpSummaryLabel
WikiEditor should not responsible for the style of the summary.

Change-Id: I8a6f3d3b6212a105fa3fa3326eb35c3e7e1e5c0b
2015-01-12 06:57:41 +00:00
jenkins-bot ebb75b8815 Merge "Toolbar: Reset lineheight for character cells" 2015-01-09 23:14:13 +00:00
Translation updater bot 4f0bd0eaaa Localisation updates from https://translatewiki.net.
Change-Id: Ic09b8d6184558b5393ae56d6c753a9253abc07b4
2015-01-09 22:12:38 +01:00
Translation updater bot 95c0fa5d6c Localisation updates from https://translatewiki.net.
Change-Id: I5b09c28adc8127a0ffe30d157c346c6cd5ec603b
2015-01-08 22:49:17 +01:00
Fomafix 77fca50876 Use mw.Api() instead of $.ajax()
Add dependency to the already used module 'mediawiki.api'.

Change-Id: I236b3be5f64ac92f6710e5c690b0cc1800ceb1c5
2015-01-07 18:25:47 +00:00
Derk-Jan Hartman 2946fcd56d Remove reference to magnify-clip.png
magnify-clip.png was recently removed from the core styles directory,
but the Help panel of the WikiEditor still references it by way of i18n
message: wikieditor-toolbar-help-content-file-result

Also remove unused local copy

Bug: T85920
Change-Id: Icc17092c0f854360b2f2999b8f153827bf194c0c
2015-01-07 10:19:35 +01:00
Translation updater bot b9c758f361 Localisation updates from https://translatewiki.net.
Change-Id: I8bedb3168f14aa7a6c2beb0c98e7bc76d803727e
2015-01-06 22:29:35 +01:00
Derk-Jan Hartman 4e65f2b204 Toolbar: Reset lineheight for character cells
Bug: T78354
Change-Id: I2f004a29b19d5629ba78a94b4cd26bb91d5a8747
2015-01-06 17:41:16 +01:00
Translation updater bot 3891aa20bd Localisation updates from https://translatewiki.net.
Change-Id: I68119d4d7c5ad29d308a5e92ebfef1317eff3a83
2015-01-05 23:09:37 +01:00
jenkins-bot d372ae0a29 Merge "Toolbar help: Make magic word from help string a param" 2015-01-05 13:35:17 +00:00
Translation updater bot d3a3f1d5e2 Localisation updates from https://translatewiki.net.
Change-Id: I1417a49fbb87616e5184c402ebc94966f88133e0
2015-01-02 22:40:07 +01:00
Translation updater bot 6e4a0659c1 Localisation updates from https://translatewiki.net.
Change-Id: I9a3cd7a309c714775e9b607d4389f025fe9bd7b8
2014-12-28 21:48:33 +01:00
Translation updater bot 95529e4b9d Localisation updates from https://translatewiki.net.
Change-Id: Ibe47ff2ad8b294b066e22975eb4e7ca40a76ebb8
2014-12-22 22:49:14 +01:00
Translation updater bot 6322b46bce Localisation updates from https://translatewiki.net.
Change-Id: I62c8a0e4b5a579428feb36fd97044268a14a3f70
2014-12-14 22:26:27 +01:00
Translation updater bot b1159b791c Localisation updates from https://translatewiki.net.
Change-Id: I49814529b7fdf40e0a91f0ebdbd496f0bb6ab337
2014-12-13 22:40:34 +01:00