Commit graph

740 commits

Author SHA1 Message Date
Brian Wolff b9e0005c71 Have inputbox langconvert certain attributes
This approximates the behaviour prior to core change for
T119158. It will language convert the options: default,
buttonlabel, searchbuttonlabel, and placeholder if they
contain a "-{".

The old behaviour was to handle the insides
of -{ glossary rules here }- and convert text if there was a
glossary rule both prior to the beginning of the attribute and
prior to the end of the attribute (So default=foo-{}-bar-{}-baz
only bar would be converted). I believe that just looking for
-{ is probably close enough. It also opens the question of if these
options should always be language converted, but I'll leave that
for someone else to decide.

Bug: T180485
Change-Id: I3aa10890950afce445075e895baf6b10327bc222
2017-11-21 04:13:53 +00:00
Translation updater bot fcf331ef99 Localisation updates from https://translatewiki.net.
Change-Id: I98402ce77e7c69f64a0bc5ba5f2d0c055fe8574d
2017-11-18 22:46:38 +01:00
Kunal Mehta 3920105003 build: Adding MinusX
Change-Id: I3aa10890950afce445075e895baf6b10327bc184
2017-11-03 16:54:22 -07:00
Translation updater bot 256d063777 Localisation updates from https://translatewiki.net.
Change-Id: I1ebb211af8ec844dc72eac25f295caeec68d2a53
2017-10-30 22:37:11 +01:00
Translation updater bot 396ab202f8 Localisation updates from https://translatewiki.net.
Change-Id: If6513d0669cf1b019c1f97a4d444ed14984b3e33
2017-10-29 22:46:41 +01:00
Max Semenik 84b7716487 Don't use deprecated Sanitizer::escapeId()
Change-Id: I99ce7bdea39c0b6fe0daed7c0be5fec0c8680321
2017-10-24 14:25:40 -07:00
Translation updater bot e559e4ac70 Localisation updates from https://translatewiki.net.
Change-Id: Ib77be0931576aa84b597b789cf18e83620d93844
2017-10-22 22:37:10 +02:00
libraryupgrader e6e38e6413 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: Ib050f7bf72be530019a6d80d5cc15518d2925f6c
2017-10-21 04:24:31 +00:00
Umherirrender 0c4a639a54 Improve some parameter docs
Change-Id: Ie97498a57ea7fbc4d6f23043a35c1a78316e8d4e
2017-10-14 15:45:46 +02:00
Translation updater bot 7a8d9d30ac Localisation updates from https://translatewiki.net.
Change-Id: Ia6599098a941759552df170c5c681338fa20da2b
2017-10-04 22:40:52 +02:00
Translation updater bot fd6ac3ac73 Localisation updates from https://translatewiki.net.
Change-Id: I31a6055755c2529039abb6a3a27ff18ccaa18943
2017-10-02 22:52:35 +02:00
Translation updater bot c9f3fde77d Localisation updates from https://translatewiki.net.
Change-Id: Idd55f879fb3eb62890f7aed973b313fe98346d42
2017-09-30 22:43:31 +02:00
libraryupgrader 721e159643 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I1476be4edf6e170ed92c8394de5f0af4787d6bbf
2017-09-24 05:27:33 +00:00
Translation updater bot bb2302a928 Localisation updates from https://translatewiki.net.
Change-Id: I7269f32e340152b436a0cd544aca93727dbae522
2017-09-20 22:50:14 +02:00
Translation updater bot 29dec4da4e Localisation updates from https://translatewiki.net.
Change-Id: I57138ac6ef4de0166a36ab742b19bb028a95cf0b
2017-09-19 22:56:18 +02:00
Translation updater bot 011ed32865 Localisation updates from https://translatewiki.net.
Change-Id: I27b8d86ece3ee10a0759e46060c6ec7123027608
2017-09-15 22:36:52 +02:00
Translation updater bot e82fd30e30 Localisation updates from https://translatewiki.net.
Change-Id: I7972b3b6127032395a81dbd436873b5b04f94e76
2017-09-09 22:35:32 +02:00
Translation updater bot b63c55de0a Localisation updates from https://translatewiki.net.
Change-Id: I0dfae2fc4093102f462bdf3caa7a13c7c95343f9
2017-09-09 00:03:18 +02:00
Translation updater bot c7b98cc9b8 Localisation updates from https://translatewiki.net.
Change-Id: I436bbeee916699fe21e9ef6602abe9bddfcb4f5b
2017-09-04 22:35:20 +02:00
Translation updater bot 3f6d73e9eb Localisation updates from https://translatewiki.net.
Change-Id: I6d338c3acbade19ee4bc32c6410ac1f4692e55fd
2017-09-03 09:04:27 +02:00
jenkins-bot 4e0aab34b1 Merge "Add tour parameter" 2017-09-02 15:45:59 +00:00
Sam Tarling cba46734e1 Add tour parameter
Add an optional tour parameter with adds `&tour=[x]` to the local Special:Search URL
Remove whitespace error
Add test
Modify test HTML (x3)

Bug: T174077
Change-Id: Iaaf1d04e1939bd555cacd4ea3ac4390d7e43b19d
2017-09-02 15:51:23 +01:00
libraryupgrader 18791fd1b7 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: Id02858d56f41f9e523b0be93c03126c69c974de5
2017-09-01 04:51:56 +00:00
Translation updater bot 25e15251d4 Localisation updates from https://translatewiki.net.
Change-Id: I15a761a42ac6c6ceb025ad77700e6fdd223a3878
2017-08-22 08:54:15 +02:00
Umherirrender 73dc92fb62 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I8e963c76fa7af376f410c4e4294f5ada2cb932db
2017-08-19 09:49:33 +02:00
Translation updater bot a850e59867 Localisation updates from https://translatewiki.net.
Change-Id: I590659c0ed734f86bb88d9c05a7be65bce96e4bc
2017-08-14 09:12:52 +02:00
Kunal Mehta fba69b3a89 build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: Iebab0e2175a589cb506f6f9bfdd448dcea1a2e0a
2017-08-10 23:48:51 -04:00
Translation updater bot e5246e8694 Localisation updates from https://translatewiki.net.
Change-Id: Ibc1158b1d51772014ac857613c2edf0b53ff7b07
2017-08-09 22:30:06 +02:00
Translation updater bot b052c37c19 Localisation updates from https://translatewiki.net.
Change-Id: I69a0b2ca7d5f69287270e9dca817769122610ba3
2017-08-08 22:49:36 +02:00
Translation updater bot 51050b40d1 Localisation updates from https://translatewiki.net.
Change-Id: I5ed029ff473224b1d91cb74bdadd900baa050836
2017-08-07 22:52:45 +02:00
Translation updater bot 827ebfc26f Localisation updates from https://translatewiki.net.
Change-Id: I62fe88c59d1775f48de1b5a228c554f402696c49
2017-08-02 23:38:03 +02:00
Translation updater bot 505aeb57ff Localisation updates from https://translatewiki.net.
Change-Id: Ia5fccbfc90fc891d02a7c950a6f8818c53f10b8a
2017-08-01 22:47:29 +02:00
Antoine Musso 77b8b4cbcf Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:01:20 +02:00
Florian Schmidt a7c83858c6 Don't add url parameters to an input box, if the parameter is empty
If a parameter isn't set, it shouldn't be added to the form.

Bug: T147048
Change-Id: I7e5aa21528fbc98e9e4d52baca93870f213d4c15
2017-07-27 02:29:35 +00:00
Kunal Mehta f067d27b8b build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: I055590bba42ab86c04b0363bb36de5b1bc90997c
2017-07-23 00:25:31 -07:00
Translation updater bot aaceeadd84 Localisation updates from https://translatewiki.net.
Change-Id: I061ccb52beeea79b6a3e0770179188135193e309
2017-07-22 22:39:55 +02:00
Translation updater bot 9c1c4775a2 Localisation updates from https://translatewiki.net.
Change-Id: I77a3d504190896d79c8f0aa801a3e46ba33dde16
2017-07-21 22:38:25 +02:00
Translation updater bot 71a7dc2031 Localisation updates from https://translatewiki.net.
Change-Id: I321d43682dd5e20704209a669e9fa0c3e5a509d9
2017-07-19 22:37:51 +02:00
Translation updater bot cd26aadc8e Localisation updates from https://translatewiki.net.
Change-Id: I0599fc97741c6a0ae327a2da93c90a45231cafb3
2017-07-17 22:49:20 +02:00
Translation updater bot 77fcce617c Localisation updates from https://translatewiki.net.
Change-Id: I9d50b5c9abc6c5493796f3242fe10b3e6d7d5d03
2017-07-06 22:47:44 +02:00
Translation updater bot bb1a87ae01 Localisation updates from https://translatewiki.net.
Change-Id: I93ecd72cd94c4db737f7be5fb46141de80edc1d2
2017-07-05 22:29:38 +02:00
Kunal Mehta 92959c76c4 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I3cf1a106b8577c39c44b6e1e09d3a87d342fa69b
2017-07-01 01:28:16 -07:00
Kunal Mehta 3501819bea build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.WrongStyle
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: I063d035702bf538bcf1b05730c295a09210eb2d1
2017-06-20 00:09:00 -07:00
jenkins-bot 947712ec34 Merge "Allow appending searchfilters to terms" 2017-06-17 01:23:14 +00:00
Amir Sarabadani d65a8ef959 Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: I88ee72ebe14f42c31b246bda846d9d8989f265db
2017-06-07 14:01:32 +04:30
Translation updater bot 6fd7ca92d5 Localisation updates from https://translatewiki.net.
Change-Id: I35c2e4aec36f9b96ec573e4887c08431766a36e0
2017-06-06 22:32:49 +02:00
harej 9767ef7f08 Allow appending searchfilters to terms
For search-style inputboxes, if you have `searchfilter=foo` as a
parameter, it will append `foo` after the search term. This is
useful for leveraging search filters in custom search boxes without
exposing it to the user.

Bug: T147951
Change-Id: Ie23ce220ff9657c38fe5b41195e297ca7cebf7f1
2017-06-06 11:47:20 -07:00
Translation updater bot 1c77a7824a Localisation updates from https://translatewiki.net.
Change-Id: I56b79bc966f140b148c199c9c3067430445e1ef4
2017-06-03 22:36:26 +02:00
Umherirrender 67e27d00b7 Add phpcs and make pass
Change-Id: I80f669257f2daa12d7b0a9de88b146e5027a2343
2017-05-18 20:14:36 +02:00
Antoine Musso daa4f861d9 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:01 +02:00