Commit graph

1942 commits

Author SHA1 Message Date
Fomafix 3d103f09b5 JavaScript: Use single quotes instead of double quotes for
strings

* This avoids escaping of double quotes.
* Exceptions: "''" and "'''"
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Quotes

Set "validateQuoteMarks": { "mark": "'", "escape": true } in .jscsrc
This tests for single quotes but allows double quotes to avoid escaping.

Change-Id: Ibd32a63c4c97a7ef8938c6d2dff83b952cfca43e
2016-02-07 18:22:06 +00:00
Fomafix 0b5c23d42b Use .prop() instead of .attr()/.removeAttr() for boolean HTML attributes
https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Pitfalls

Create elements according to
https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Creating_elements

Change-Id: I14a7f6e8d2c0a43b89d0d186398a4fea76b7d362
2016-02-07 14:22:56 +00:00
Translation updater bot 7b744caef4 Localisation updates from https://translatewiki.net.
Change-Id: Id6d086bcd564774ec3e2abb6cbc94309c777b5b4
2016-02-02 21:33:43 +01:00
Translation updater bot 7fea479694 Localisation updates from https://translatewiki.net.
Change-Id: I74b7a8ef44807f1e05debc19468f19f2e5fec282
2016-01-30 22:51:10 +01:00
Translation updater bot a0f918a36e Localisation updates from https://translatewiki.net.
Change-Id: Ida3dc7d2586244a38a074b9447ca7e9b4a98a45d
2016-01-29 22:44:19 +01:00
jenkins-bot e0a384f7f6 Merge "Use boolean values for .prop() on boolean HTML attributes" 2016-01-29 10:26:43 +00:00
Translation updater bot a2a4e37219 Localisation updates from https://translatewiki.net.
Change-Id: I311f2f57bc69a58419642f5da6cf6c3d8bfe7c38
2016-01-27 21:46:54 +01:00
Translation updater bot e283c7136a Localisation updates from https://translatewiki.net.
Change-Id: Iec583a734a90c8e78344c4e4e710d6cfceeb1b36
2016-01-24 21:22:53 +01:00
Translation updater bot 5c3598acfc Localisation updates from https://translatewiki.net.
Change-Id: I61507eaaaf9caa85653bf7211e81634faca65d67
2016-01-23 22:31:15 +01:00
Translation updater bot 85b656e255 Localisation updates from https://translatewiki.net.
Change-Id: Ic9b46f79310d9504c7857b01cb2851ef33b9e53d
2016-01-18 21:38:43 +01:00
Translation updater bot 86465a988d Localisation updates from https://translatewiki.net.
Change-Id: I7de8eb76a41d2196861c111c09c292de480f4793
2016-01-17 22:36:17 +01:00
Translation updater bot d0f6a8fb45 Localisation updates from https://translatewiki.net.
Change-Id: I14399695def6bc9a5c8a31fef9238376a76e6686
2016-01-16 22:00:14 +01:00
Fomafix 7d8b6a1ab6 Use boolean values for .prop() on boolean HTML attributes
.prop() expects a boolean value. .id() returns a boolean value.

Change-Id: If3dc6197f9dded92e99faeaa33e31dc937ebf66f
2016-01-15 12:43:37 +00:00
Translation updater bot 8280065442 Localisation updates from https://translatewiki.net.
Change-Id: I2c05f337a1da1602dcc5dce227dfa9a7f886b674
2016-01-11 22:55:42 +01:00
Translation updater bot 6a8fccf5a0 Localisation updates from https://translatewiki.net.
Change-Id: If6c0303ad633cee18040f631e7a4b0c36917fc1b
2016-01-10 23:15:43 +01:00
Translation updater bot 14d5dfe744 Localisation updates from https://translatewiki.net.
Change-Id: I6a254e8fce1559cb6a2fed7d26542d90e0a06adc
2016-01-07 23:39:38 +01:00
jenkins-bot 60d9feb204 Merge "Use background-image instead of <img> for toolbar icons" 2016-01-07 19:35:23 +00:00
Translation updater bot 12ed529409 Localisation updates from https://translatewiki.net.
Change-Id: Ia9cfc11939194ecd6fb942151eedb00041dd9f1a
2016-01-05 22:31:46 +01:00
Kunal Mehta e39943c539 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I5023ae6b1b02565af7700340a202df58b5a19423
2016-01-05 10:43:16 -08:00
Translation updater bot 5923601005 Localisation updates from https://translatewiki.net.
Change-Id: I0ba3d8d997c064c9e9cc2e61f0be5627ff30343e
2016-01-04 22:39:05 +01:00
Kunal Mehta 062eb19fda build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: I26001a5f07350fc74e74b07d129a797388c39cc3
2016-01-03 18:56:09 -08:00
jenkins-bot 3ec6604d3a Merge "Fix qqq description of i18n message" 2016-01-01 19:36:21 +00:00
Translation updater bot 0579b65957 Localisation updates from https://translatewiki.net.
Change-Id: Ibc4f954cc0e4903231201d16c23e8940f5392dac
2016-01-01 20:08:01 +01:00
Translation updater bot 15911f95ef Localisation updates from https://translatewiki.net.
Change-Id: I4ecd0b887f557ba3df1d3e6a04790c10a171cef7
2015-12-30 21:47:09 +01:00
Kunal Mehta 609fad7ad0 build: Updating development dependencies
* grunt-jsonlint: 1.0.6 → 1.0.7

Change-Id: I80bc77c65f940472d4ae698a2dcbb69a46dee525
2015-12-29 12:06:03 -08:00
Derk-Jan Hartman 0141c73ba8 Fix qqq description of i18n message
Follow up to: Iff987edd
Bug: T122555
Change-Id: I77abd12963a96de7689b73c07da8a343f8aa550a
2015-12-29 08:13:55 +00:00
Translation updater bot 97cac4cbfd Localisation updates from https://translatewiki.net.
Change-Id: Ie6d49ec58739bdab167601a8c2e8187627f89783
2015-12-28 21:05:55 +01:00
jenkins-bot af564f288b Merge "Add format-bold-Iab image for lang ce" 2015-12-28 09:15:22 +00:00
jenkins-bot 6b6109e222 Merge "Use mw.Message#text() instead of plain() in wikiEditor.autoMsg()" 2015-12-28 08:42:09 +00:00
jenkins-bot d581a7d203 Merge "Remove non-working {{#special:mypage}} from help" 2015-12-28 04:32:15 +00:00
Paladox 38d28d5631 Add format-bold-Iab image for lang ce
Also use the icon for Chechen. Also requested by Bug: T119716

Add these icons for lang ce

png

https://commons.wikimedia.org/wiki/File:Toolbaricon_bold_%D3%80%D0%B0%D1%8C.png

svg

https://commons.wikimedia.org/wiki/File:Toolbaricon_bold_%D3%80%D0%B0%D1%8C.svg

This was requested at
https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A4%D0%BE%D1%80%D1%83%D0%BC/%D0%A2%D0%B5%D1%85%D0%BD%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9#.D0.9F.D0.B0.D0.BD.D0.B5.D0.BB.D1.8C

Bug: T119716
Change-Id: I4b41aa53138eae660ebeb9b1d9f6f547cfcca7a4
2015-12-27 20:54:23 +00:00
Translation updater bot 17c00bfc09 Localisation updates from https://translatewiki.net.
Change-Id: Ifa40aba4d2737b2f8b133519be0bbf8a850faef9
2015-12-25 21:56:23 +01:00
Timo Tijhof f583469ece Use mw.Message#text() instead of plain() in wikiEditor.autoMsg()
* Follows-up 6a73d06 by removing the hardcoded SITENAME regex.
* Follows-up 1b797b7f6a which introduced this regression in the first
  place. This is exactly the reason why mw.msg() defaults to format
  'text' instead of 'plain' without transformations.

Change-Id: I7f1b877710fb6baa45b83054d1e30a24979b37b4
2015-12-25 21:33:47 +01:00
Derk-Jan Hartman 95ab425166 Remove non-working {{#special:mypage}} from help
Bug: T44107
Change-Id: Iff987eddfb1fbe6a6ce1c88795b9dc1fd5b47f9e
2015-12-25 20:28:43 +00:00
Translation updater bot bb71139337 Localisation updates from https://translatewiki.net.
Change-Id: Id146b512aabadbecd34919c037e1da66ebc03d72
2015-12-23 22:08:39 +01:00
Translation updater bot b9a60f32ce Localisation updates from https://translatewiki.net.
Change-Id: I24054070a0451f79ae073b9a831c8ef3c7e8e07f
2015-12-22 22:13:31 +01:00
Fomafix 19789d762b Use background-image instead of <img> for toolbar icons
Change-Id: I8af0e2c8585e8d9f6f72133953792eb88a176bcf
2015-12-22 13:36:36 +00:00
2nd-player 6a73d06932 Substitute {{SITENAME}} in the title of dialogs
Bug: T62695
Change-Id: I7e5378b37e66b8b35bb7b3aa2121eea3cbf1defd
2015-12-21 20:03:32 +00:00
Translation updater bot aee1f28c2d Localisation updates from https://translatewiki.net.
Change-Id: I174e64d44db9fb758c04a8807e33a3f8d72414cd
2015-12-20 22:36:53 +01:00
jenkins-bot a73ab354fa Merge "Use mw. instead of mediaWiki. in code" 2015-12-16 20:43:42 +00:00
Translation updater bot 880116f5a6 Localisation updates from https://translatewiki.net.
Change-Id: If40293cb18e7ce2b18e5f95f21a44706e8217c30
2015-12-14 22:06:54 +01:00
Translation updater bot b9a7ced3d4 Localisation updates from https://translatewiki.net.
Change-Id: I389c6ce64e5b5f246b1345a96a3b7bacc926c963
2015-12-13 22:25:13 +01:00
Fomafix de74cc81f5 Use mw. instead of mediaWiki. in code
Change-Id: Ib7905bbbb8954cf8e268acac45e00ceba959b00b
2015-12-13 12:44:49 +00:00
jenkins-bot a4131a7a9b Merge "Update grunt-jscs to 2.5.0" 2015-12-12 01:53:33 +00:00
Translation updater bot 4e6a62140c Localisation updates from https://translatewiki.net.
Change-Id: I4fcae5247d6fd84adf8b201cd254894b1464ff7f
2015-12-11 23:57:25 +01:00
Translation updater bot fecf6934e4 Localisation updates from https://translatewiki.net.
Change-Id: I2b7a34828330a93388d0e76a0c0c5dd7c35afac6
2015-12-10 23:02:08 +01:00
Paladox e01119c931 Update grunt-jscs to 2.5.0
Change-Id: I2b3e4e8c6d0f170330880f4295b552f4ec96899f
2015-12-09 20:41:15 +00:00
Translation updater bot d7b36fb193 Localisation updates from https://translatewiki.net.
Change-Id: Ifb300a26b594dce86efc627609fb6350afcc8f82
2015-12-06 21:46:38 +01:00
Translation updater bot 2ef9922d49 Localisation updates from https://translatewiki.net.
Change-Id: Iea51a46411b8ab27d67f2e1bf9aed1d6d9fceca8
2015-12-03 23:18:31 +01:00
Translation updater bot fa1105ae9e Localisation updates from https://translatewiki.net.
Change-Id: If46a3f871971c0a39fd56364ca1c1ebe9fa6c185
2015-12-02 22:01:46 +01:00