Commit graph

2753 commits

Author SHA1 Message Date
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
Translation updater bot d9dec99db9 Localisation updates from https://translatewiki.net.
Change-Id: Iaf408b3ece5e446116e715e39b4b55c07aa9aa68
2018-05-01 22:12:25 +02:00
Ed Sanders 6fe5419a03 Fix documentation of title argument
Change-Id: I49120797833e73d8be4523b4b778ad4570cb4c98
2018-04-24 15:28:02 +01:00
Translation updater bot 9c5bbefd9b Localisation updates from https://translatewiki.net.
Change-Id: I2537ccfe6ec125535353a8731befe6cde76df468
2018-04-23 22:30:51 +02:00
Translation updater bot 2684025b7b Localisation updates from https://translatewiki.net.
Change-Id: I312d11b855c46c8b7f15efa39e7a8ac4f43d966d
2018-04-22 22:21:57 +02:00
Translation updater bot b79716440a Localisation updates from https://translatewiki.net.
Change-Id: I8de150859cc7ccc5cbe4a7eb812fb255e2d9c76d
2018-04-21 22:15:43 +02:00
Translation updater bot 51f6c54432 Localisation updates from https://translatewiki.net.
Change-Id: Ifd6061fbf2a59b24b24b8a2417787d6bde2446f8
2018-04-20 22:12:55 +02:00
Translation updater bot f979954c08 Localisation updates from https://translatewiki.net.
Change-Id: Id51a2af0ba0b58c85a2ce014c499ed5cfea73e86
2018-04-18 22:10:56 +02:00
jenkins-bot 572bff87f5 Merge "Fix buttons in Multimedia Viewer to be semantic" 2018-04-17 01:42:10 +00:00
hunter 0db6e39991 Fix buttons in Multimedia Viewer to be semantic
Convert button-like interface elements in MMV from <a> and <div>
elements to <button> elements. Also add tabindex attribute in one
case for keyboard accessibility.

Bug: T161612
Change-Id: I37fb862f82099decd59ca7bb0beeb69b24584bb4
2018-04-17 00:58:04 +00:00
jenkins-bot 8bd2de190a Merge "Add phan configuration" 2018-04-16 17:45:00 +00:00
jenkins-bot dda71e5f7e Merge "Move Hooks file into includes/" 2018-04-16 17:38:42 +00:00
jenkins-bot 857d3be9f8 Merge "Recognize PHP file comments properly" 2018-04-16 17:36:26 +00:00
jenkins-bot 4f4c2507d5 Merge "Register configuration settings in the standard way" 2018-04-16 17:33:50 +00:00
jenkins-bot 1406849512 Merge "Use explicit HTTPS in help URLs" 2018-04-16 17:14:39 +00:00
Translation updater bot e41f3f1222 Localisation updates from https://translatewiki.net.
Change-Id: I753fd01810dccdfdc264b988b057f2c8e03e3ed3
2018-04-14 22:13:59 +02:00
Kunal Mehta b24f75a2ef Add phan configuration
Change-Id: I5d1c03978d6d018ea3e6fc0927598b5a2c931b85
2018-04-14 01:05:33 -07:00
Kunal Mehta e735c9bcff Move Hooks file into includes/
Change-Id: I534501cf06832fc53a5814f1e58cce00d32d09bb
2018-04-14 01:05:33 -07:00
Kunal Mehta 72cbba7fbc Recognize PHP file comments properly
Needs two asterisks in the first line.

Change-Id: Ie82d31b02b6d84db41ee581b2b426a23e7a3efd7
2018-04-14 01:05:32 -07:00
Kunal Mehta 9351b4febd Register configuration settings in the standard way
There's no need to do any fancy isset() on every setting - extension.json
will automatically take care of that.

For $wgMediaViewerEnableByDefaultForAnonymous which depended on the value
of $wgMediaViewerEnableByDefault, treat true/false as explicit values and
null as a fallback to the other configuration setting.

Keep the documentation associated with each setting in MultimediaViewer.php
for IDEs.

Change-Id: Ib34bbf75d027b8b96b2ec1a5975fa19061fadd55
2018-04-14 01:05:26 -07:00