jenkins-bot
fb40e5b09f
Merge "Do not clone CSS class names as well"
2019-05-19 13:12:18 +00:00
Thiemo Kreuz
26fbcd6095
Do not clone CSS class names as well
...
What MultiMediaViewer does is re-using the small thumbnail <img> that
is already present on the page, cloning it, blowing the size up, and
using it as a "placeholder thumbnail". The moment the bigger image
finished loading, it replaces the placeholder.
The issue here is that the cloning includes class names like the
<img class="thumbimage"> on every [[File:…|thumb]] image. This shows a
gray border. The cloned DOM node in MultiMediaViewer shows this gray
border around the placeholder for a short time. This can be distracting.
Change-Id: Ie83427fab478b6568731b9a0b1f7dbbcc6d5b0fb
2019-05-19 10:44:21 +00:00
Simon Legner
e1caa0f65e
Fix typos in code/comments
...
No functional change.
Change-Id: I6447aefe8fdd39642d613f55ad0a5537f64dcb9d
2019-05-19 10:17:44 +00:00
James D. Forrester
feb56c0e84
build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
...
Change-Id: I17e563e8acfbc7b0687ff5d4de265d1047e32bb0
2019-05-19 12:15:01 +02:00
jenkins-bot
870735c0e9
Merge "Fix copy share URL to clipboard"
2019-05-18 17:29:25 +00:00
Simon Legner
5be5afe0a7
Fix copy share URL to clipboard
...
Typo in method.
Bug: T223729
Change-Id: I45ffeea5d9837fcdf63df7ee72d8b9a6298415df
2019-05-18 17:16:21 +00:00
Simon Legner
b23a32a413
Remove SVG checks
...
Bug: T223649
Change-Id: I252ca1cbba3e67921a4db82358d22bf02c20dc63
2019-05-18 17:46:20 +02:00
jenkins-bot
8251aa89b7
Merge "Remove mentions of schema.* ResourceLoader modules"
2019-05-16 06:50:02 +00:00
Translation updater bot
e17b5bf214
Localisation updates from https://translatewiki.net .
...
Change-Id: I11b873d32026ffc36cb1c86e1d9aee24e28d617d
2019-05-15 09:13:46 +02:00
Dan Andreescu
51b31545ab
Remove mentions of schema.* ResourceLoader modules
...
These modules are deprecated and will be removed, see parent task for
details and deprecation information.
Bug: T223284
Change-Id: I2532e20659a59cdd036a7d8ad5a040ae136848f5
2019-05-14 21:22:28 -04:00
Translation updater bot
131f890b79
Localisation updates from https://translatewiki.net .
...
Change-Id: I51ec139d413a7a9499c4ca22c33460d3a33e3f9b
2019-05-13 23:22:15 +02:00
jenkins-bot
71b5d4a584
Merge "Allow partial selection in text fields"
2019-05-13 19:50:58 +00:00
Thiemo Kreuz
f2b247cb2f
Add missing type hints to hook handler functions
...
This patch also removes some & from function parameters that are not
meant to be passed "by reference". These & are from a time when PHP 4
passed objects by creating expensive copies. They are not needed any
more, but create the wrong impression the hook handler function would be
allowed to replace these objects with other ones.
Change-Id: If91c6d963150f909735f2c06f98a446ae1fb2047
2019-05-11 13:44:05 +02:00
Thiemo Kreuz
0fe650ce08
Add @see links pointing to the MediaWiki hooks manual
...
Change-Id: I1980f488f8516fe8700ffdae4905e09446b322de
2019-05-10 19:18:49 +00:00
jenkins-bot
ac1cc30d8a
Merge "Rename all hook handler functions to follow on<HookName> scheme"
2019-05-10 15:53:07 +00:00
Thiemo Kreuz
f733d8bbd1
Fix typos in JSDocs type hint
...
Change-Id: Id590ba6a587dbe5b38bd998d93f07221cfcfeae2
2019-05-10 15:42:20 +00:00
Thiemo Mättig
f8bf849430
Allow partial selection in text fields
...
Really, why should this be forbidden? These onclick handlers do waaaaay
to much. They do not only block what they should block, they block way
more stuff, like resizing the textarea and interacting with it in any
way that involves the mouse. This is not the intention of this code.
I'm sorry to say that, but this code is the equivalent of "disable
right click to prevent stealing images" on 1990s web pages. Please,
please let's not do this. Let the user do what he expectes and is used
to do.
Bug: T110579
Change-Id: Ia89faea678606d5c382539f726e2edaa745c904e
2019-05-10 14:33:08 +02:00
Thiemo Kreuz
44457ec926
Rename all hook handler functions to follow on<HookName> scheme
...
Change-Id: Ic770a9dd0a708a670a8658d3be037c7b73ebea83
2019-05-10 14:26:15 +02:00
Thiemo Kreuz
7c67c4ba81
Remove all default "return true" from hook handlers
...
This is the default for many years now. Returning true is not different
from returning nothing.
Change-Id: If05c82d4a534d21269934aebb48786a97246ac88
2019-05-10 14:18:37 +02:00
Translation updater bot
17848c4add
Localisation updates from https://translatewiki.net .
...
Change-Id: Iae064c7a174f3381155503beb2472e6e795e84ac
2019-05-10 09:20:10 +02:00
jenkins-bot
a6e1a69a69
Merge "Fix browser test failures"
2019-05-08 22:27:35 +00:00
jenkins-bot
cd8090511a
Merge "build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint"
2019-05-08 22:21:56 +00:00
jenkins-bot
d0c446c9b8
Merge "Remove the BetaFeatures integration"
2019-05-08 21:52:39 +00:00
Mark Holmquist
93d948b21c
Fix browser test failures
...
Sauce labs removed support for OSX 10.9, so we've seen failures in the
browser tests for a while apparently.
The generic "macos" should just work, and is sufficient for our testing
needs.
Bug: T214389
Change-Id: I01c1e9e03dc5b658aa3e2b3ee6a7b5f503488f97
2019-05-08 14:40:17 -07:00
James D. Forrester
342b02035d
build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
...
Change-Id: I422d5ea3a8939247aa8a4bd521ec05636caaa13f
2019-05-08 21:34:56 +00:00
James D. Forrester
9b826f022e
build: Lint the rest of our JS, and make pass
...
Change-Id: I660bba75d2637ac67a1f7920d40e051ed67d1d45
2019-05-08 14:28:06 -07:00
James D. Forrester
23b2f78642
Remove the BetaFeatures integration
...
Not used in years. Sadly $wgMediaViewerEnableByDefault has to remain
for now.
Change-Id: If2d90627de230b9b36e7b24abe0d4bdee8a2ef35
2019-05-08 11:22:35 -07:00
Translation updater bot
72a96534dd
Localisation updates from https://translatewiki.net .
...
Change-Id: I1047fd1bac168e286507543383f10d8341965bfa
2019-04-30 22:18:22 +02:00
Translation updater bot
8cb0ec5639
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia8c6b99e61cb21b335c83a9f005b3a59d3eeb942
2019-04-22 09:23:45 +02:00
Timo Tijhof
c520b76978
Rename MakeGlobalVariablesScript hook for consistency
...
Given case-sensitive search, the callback didn't show up
when searching for "MakeGlobalVariablesScript", unlike for
almost every other deployed extension.
Change-Id: Ib9138446a898802150a123e140a14bfba08709e6
2019-04-16 22:59:25 +00:00
Translation updater bot
6ab5878cfc
Localisation updates from https://translatewiki.net .
...
Change-Id: I381785b741c4da73451ab9760a1badbb7343a299
2019-04-14 22:30:00 +02:00
Translation updater bot
f07cc570b6
Localisation updates from https://translatewiki.net .
...
Change-Id: I74a9638810cd9306d9e66bf9333131547b4883c2
2019-04-10 09:23:14 +02:00
Translation updater bot
c80e3115cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I809aff5246d3c824af088a062565baaaa4e579e8
2019-04-08 08:39:09 +02:00
Translation updater bot
0fae0db433
Localisation updates from https://translatewiki.net .
...
Change-Id: I1a58c720beafe8164ed797e91f0a873877f358bc
2019-03-23 10:23:15 +01:00
Translation updater bot
09d4eefdc5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie9f6d9d8b5be5d33bd2d3c37962cdb547764bd79
2019-03-19 22:17:00 +01:00
Kunal Mehta
60d08ba00b
Upgrade to newer phan
...
Bug: T216928
Change-Id: I2b812745176550616c8d37859f2ad29cdf8fd4c3
2019-03-17 16:14:02 -07:00
jenkins-bot
8ec3cc3895
Merge "Always load MMV on Flow pages"
2019-03-14 17:39:30 +00:00
Ed Sanders
551a0561fe
Always load MMV on Flow pages
...
We can't tell if there are images on the page, so just always
load. The code will likely be in the client cache anyway.
Bug: T62014
Change-Id: Idaec22c3fd7126c1818c5febbccd6a0cfac7b721
2019-03-13 21:56:02 +00:00
Translation updater bot
17366a8821
Localisation updates from https://translatewiki.net .
...
Change-Id: I5acac0d91ce2431cd296bb027454c2abdfcb1e8c
2019-03-12 22:29:27 +01:00
Translation updater bot
3bddab489d
Localisation updates from https://translatewiki.net .
...
Change-Id: I97364ef3ee0ade32b554e28558f49d3818fd8485
2019-03-10 22:27:47 +01:00
Translation updater bot
06e80d3078
Localisation updates from https://translatewiki.net .
...
Change-Id: I6bbcea611de38c3c526ba4615ed2e0cdd4660777
2019-03-05 22:42:50 +01:00
jenkins-bot
a68bd2a10b
Merge "Replace use of deprecated ResourceLoaderTestModules hook"
2019-03-05 13:06:05 +00:00
Translation updater bot
682471de56
Localisation updates from https://translatewiki.net .
...
Change-Id: I94464b107f2013f5ab49e7850f63820e5b27984f
2019-03-04 22:16:11 +01:00
Translation updater bot
255ba527d2
Localisation updates from https://translatewiki.net .
...
Change-Id: I005b9a3d145291f91a942cc435a4b1feb72b39a1
2019-03-03 22:17:42 +01:00
Umherirrender
0312e465ed
Use ExtensionRegistry rather than class_exists
...
Change-Id: I99d0207aaf193ab2aa4e27c7f12a5cefc2dc4da9
2019-03-03 02:05:12 +01:00
Translation updater bot
cee3fa6899
Localisation updates from https://translatewiki.net .
...
Change-Id: I5777d99ca38904c4bf37939c8f5a38b2445df765
2019-03-02 22:42:38 +01:00
James D. Forrester
c6008c7844
build: Be more aggressive in fixing old bad JS code style
...
Change-Id: I7f734f1440a4a3216e774d2bddbc39b34f4125d2
2019-02-20 19:28:25 +00:00
James D. Forrester
1b21470703
build: Update eslint-config-wikimedia to 0.11.0
...
Change-Id: I66788a2c1fa59b617abd13b7c8e8fb59ad74130c
2019-02-20 19:22:21 +00:00
Translation updater bot
9a27ccebdf
Localisation updates from https://translatewiki.net .
...
Change-Id: I49c507bb3ccbc8f29ebe1f5988e6b8c738b1b9ad
2019-02-19 22:20:03 +01:00
Translation updater bot
bd69d66952
Localisation updates from https://translatewiki.net .
...
Change-Id: I270a4697d4587217419d452dd50d7489ce1750e6
2019-02-18 22:23:16 +01:00