Commit graph

2222 commits

Author SHA1 Message Date
Fomafix 4320ab4c8e Use wgUserLanguage instead of the first key from mw.language.data
Follows-up f59962e4a3.

wgUserLanguage contains the user interface language of the current
user. mw.language.data can contain several languages.

Also apply encodeURIComponent() to the parameter.

Change-Id: Ifaf5dc4be3fb8f87fbf1513866bcc68648c36ab1
2018-08-01 18:16:04 +00:00
Translation updater bot 66a5f80980 Localisation updates from https://translatewiki.net.
Change-Id: I18f4241bb90bf2f8658a9c090ebe7e493c45cbeb
2018-07-31 22:33:11 +02:00
Timo Tijhof 5c9faa580e Move files to their own directory per module
Bug: T193826
Change-Id: I925b1c7be2dbbb50994ed9f1ef12b5978ba175ff
2018-07-30 15:15:25 +02:00
Matthias Mullie 4627adb9b1 Fix mw.storage typehint
Change-Id: I758ca9375c479098edae98a78c1ee9170df7afc2
2018-07-28 17:14:32 +00:00
libraryupgrader c013d286fc build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I40ab679e7f562727d854560d72dbbafbf0ab707c
2018-07-27 09:53:30 +00:00
Kunal Mehta cdac35ffda Register EventLogging schemas in extension.json
Change-Id: I7102950ff23fe6cb7f61d5a067076ddd77b10096
2018-07-26 09:51:31 -07:00
Kunal Mehta 03eb49cde1 Remove unnecessary $wgExtensionFunctions
As best I can tell, adding the `ext.eventLogging` module as a dependency
for these three modules is unnecesary. One of those modules doesn't
even exist, and my greps across the entire extension show that
mmv.logging.Logger.js uses `mw.loader.using` to load the module, so a
server-side dependency isn't required.

As an aside, this extension should probably use the more abstract
`mw.track` interface instead.

Bug: T180192
Change-Id: If71277114be5a003d8f51040e52a601ace983c51
2018-07-25 17:02:59 -07:00
Translation updater bot 105b68abb2 Localisation updates from https://translatewiki.net.
Change-Id: I9efe8c9831691b7b8808c7a33228357182a78cb4
2018-07-22 22:09:01 +02:00
Translation updater bot 31f2b5fc4b Localisation updates from https://translatewiki.net.
Change-Id: Icb5f51ad7b1c425dc80eeefa3f2f3b1ef379f51e
2018-07-17 22:14:00 +02:00
Translation updater bot 83ffdc94b0 Localisation updates from https://translatewiki.net.
Change-Id: Ie9c60793bb0890542c0f6d82fb22efa6ddddba28
2018-07-05 22:43:54 +02:00
Translation updater bot fd20b43b20 Localisation updates from https://translatewiki.net.
Change-Id: I585ce3cc4620c17a18e9a106d18a0e2b6074df1f
2018-06-30 22:30:43 +02:00
Translation updater bot c5e7aa40c5 Localisation updates from https://translatewiki.net.
Change-Id: I4c3f7ea98fb0190a4e047ec843f7ce01a6d1fb0f
2018-06-29 22:26:41 +02:00
Translation updater bot 524dcfc816 Localisation updates from https://translatewiki.net.
Change-Id: I006b4af6ad6d873786db3d322dbb179970500557
2018-06-27 22:19:36 +02:00
Translation updater bot 39a36b96db Localisation updates from https://translatewiki.net.
Change-Id: I1ad3a75e6e5c07601bd0f61d2fc49f4eaee1b4c6
2018-06-26 22:13:48 +02:00
Translation updater bot ac522556f1 Localisation updates from https://translatewiki.net.
Change-Id: I5e0b38abcd1a90e0dad311f0630fdcfdbadc9e69
2018-06-20 23:11:42 +02:00
Translation updater bot 6b83fca574 Localisation updates from https://translatewiki.net.
Change-Id: Id2ace12fbc8bf569122d153d794db3ee76aba85a
2018-06-13 22:23:10 +02:00
Translation updater bot d13622810e Localisation updates from https://translatewiki.net.
Change-Id: I274c33e34c94f45377e376b8476b9ad5055d2523
2018-06-11 22:34:07 +02:00
Kunal Mehta e2d79e8044 Don't use deprecated mediawiki.api.options
It was merged into `mediawiki.api`.

Bug: T196802
Change-Id: Id8c7baafbb0bb334d2099af39db7455ad4c1e92b
2018-06-09 00:21:01 -07:00
libraryupgrader 27c8c196f6 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I0aef6a5e3362b496267fed87a4d3d38581db172f
2018-06-08 07:25:20 +00:00
Ed Sanders dec9c6321c build: Enable more qunit lint rules
Where appropriate, convert assert.ok to assert.strictEqual.

Change-Id: I098ade9928958e8c2d36de221361d89b5c70ec35
2018-06-06 12:18:24 -07:00
Ed Sanders 2c3213485d build: Introduce eslint-plugin-qunit and enforce
Change-Id: I16c00628a0f8a4f505fc0c78991bd7d9394c18d9
2018-06-06 12:17:23 -07:00
Translation updater bot a54270eb2f Localisation updates from https://translatewiki.net.
Change-Id: Ib35cb28b454a831eefbfdd996f682a61b23f8c79
2018-06-01 22:27:40 +02:00
Translation updater bot 3dbf998577 Localisation updates from https://translatewiki.net.
Change-Id: I2b719514bc9664ea30b851d183b62e656ef86a2d
2018-05-31 22:28:40 +02:00
Translation updater bot 781e85b179 Localisation updates from https://translatewiki.net.
Change-Id: If632ee8da8c166555959e034769760a68dd19d73
2018-05-29 22:25:01 +02:00
libraryupgrader caf25f78d5 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I8149dbd76893fca116dcb2c5492f90a2fc191c52
2018-05-26 04:37:15 +00:00
Translation updater bot 38032d3ee1 Localisation updates from https://translatewiki.net.
Change-Id: I57d56492cdd137a26917b4b14efb013ac1059f5a
2018-05-25 22:14:20 +02:00
Antoine Musso 8894e67a43 Registration must use www.mediawiki.org domain
1) ExtensionJsonValidationTest::testPassesValidation
Failed asserting thatMultimediaViewer/extension.json did not pass
validation.\n
[url] Should use www.mediawiki.org domain\n
' matches expected false.

Change-Id: I90fe971f48e94f6810832fd8a784c9ca8967576b
2018-05-25 16:13:02 +02:00
Translation updater bot e48f8a9635 Localisation updates from https://translatewiki.net.
Change-Id: I6cc6d36de18afaf8985dd26829ab81ab035bfced
2018-05-23 22:20:20 +02:00
Translation updater bot 81a2989a54 Localisation updates from https://translatewiki.net.
Change-Id: I038e5ee4e15a7d3716ad720644b192995c62b4c5
2018-05-19 22:20:00 +02:00
Translation updater bot 6165f7a3bb Localisation updates from https://translatewiki.net.
Change-Id: Id3f1234dfadd57b3b48e4d1657fb2a729c07f942
2018-05-18 22:48:30 +02:00
Translation updater bot b175b8494a Localisation updates from https://translatewiki.net.
Change-Id: I637d49cef62d900bf5073dd0d134be9988686ac3
2018-05-16 23:07:54 +02:00
Translation updater bot 7389251ea0 Localisation updates from https://translatewiki.net.
Change-Id: I56cec524d9ce3ddb9ffbd9c40d6e5239055694f8
2018-05-15 22:24:45 +02:00
Translation updater bot b94c677866 Localisation updates from https://translatewiki.net.
Change-Id: Id7adf6f76863ab9fcd2309cd54169cc54902c0b8
2018-05-14 22:44:25 +02:00
Translation updater bot 5c8a0fc890 Localisation updates from https://translatewiki.net.
Change-Id: Ica4138ce885484cb0a64b494348003c636807976
2018-05-13 22:18:19 +02:00
jenkins-bot 05ddc76f77 Merge "Instead of "About", use "About this interface"" 2018-05-11 22:05:27 +00:00
jenkins-bot d07aad8b3e Merge "Avoid jQuery event aliases" 2018-05-11 22:05:26 +00:00
jenkins-bot 6c0112b293 Merge "Pass mw.Title to #click in tests" 2018-05-11 22:05:25 +00:00
Translation updater bot 7a0af3b347 Localisation updates from https://translatewiki.net.
Change-Id: Ib103cb699c5447566e5b007aa514a5909b2193dc
2018-05-11 22:25:04 +02:00
jenkins-bot 3787a275ed Merge "Remove jQuery.hashchange library" 2018-05-11 19:11:58 +00:00
jenkins-bot 01d613278e Merge "Remove error report link" 2018-05-11 19:11:54 +00:00
jenkins-bot f25809c187 Merge "tests: Comment out failing tests" 2018-05-11 19:11:52 +00:00
Ed Sanders bc5870527a Remove jQuery.hashchange library
This library just provides fallbacks for browsers
that we no longer support.

Change-Id: If81df7b33b3106ab58744494a4f67583241861dc
2018-05-11 18:47:08 +00:00
Ed Sanders 9ad112910c Avoid jQuery event aliases
Use #on for event binding and #trigger for event firing.

Change-Id: I75ca1cfac8419204399e27941c9f424664b56113
2018-05-11 18:46:50 +00:00
Ed Sanders 9987491fdf Pass mw.Title to #click in tests
Change-Id: I616d13bf11ce38ac9bd400a568ab791a07cf0392
2018-05-11 18:46:42 +00:00
Framawiki 30ded7c5c6 Instead of "About", use "About this interface"
A viewer that read "About" thinks that this link is about the image, but
it's not.

Change-Id: I6eb4cab17cf3175986b9661acd623ce185777f6f
2018-05-11 18:46:31 +00:00
Gergő Tisza 687f9b7de0 Remove error report link
Took the easiest way and just removed it from the message as I don't
have time to work on this, no developer is looking at the error reports
and they are wasting Andre's time. Could be restored in the future with
more intelligent logic (to differentiate between network errors and
software bugs).

Bug: T111112
Change-Id: I3be22e5a821c32523aa15ac8cfb25baaaca4e477
2018-05-11 18:35:56 +00:00
James D. Forrester 2078fbfb53 tests: Comment out failing tests
Bug: T192932
Change-Id: Iba81676ebb13407679bd99b0e08d29e225a7ebde
2018-05-11 09:50:31 -07:00
Translation updater bot 24d28be6f0 Localisation updates from https://translatewiki.net.
Change-Id: Id0801c1c6967494a8ca126b6f4821d34659ae91d
2018-05-05 22:15:06 +02:00
Brian Wolff 37a698061e Bump phan-taint-check 1.1.0->1.2.0
Bug: T193909
Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df
2018-05-04 21:42:00 +00:00
Translation updater bot 8ac2045f8b Localisation updates from https://translatewiki.net.
Change-Id: I37a33b69a80c40719e8b5f5809103bf0c7f98689
2018-05-03 22:21:39 +02:00