Timo Tijhof
846b979578
Remove redundant 'position', 'top', and getPosition() code
...
Unused as of bc374082fa in MediaWiki core (T109837).
Change-Id: Idcec3c4fa2bc3bc05ac417062139794880040a6d
2016-11-18 13:55:30 -08:00
Timo Tijhof
906aaeeb82
Default to type=general for styles-only gadgets having dependencies
...
Bug: T147726
Change-Id: I4153851b0e2f5cc067b1f31a7cd80f73d0620d7c
2016-11-16 17:53:10 -08:00
Translation updater bot
01f5977286
Localisation updates from https://translatewiki.net .
...
Change-Id: I7082c476d3e2e4f310f1c46376a15f66ea01d64e
2016-11-13 22:45:57 +01:00
Umherirrender
5bbb1045fe
Expand .gitignore for more editors
...
List is from mediawiki/core
Change-Id: I65afe486373f81ed8fa2503e4b772387a9002458
2016-11-13 12:57:04 +01:00
Translation updater bot
e8beb591d9
Localisation updates from https://translatewiki.net .
...
Change-Id: I64712fe92b0493165c60eb6f2c42a537d2f4be87
2016-11-08 22:45:03 +01:00
Translation updater bot
0dc6c081c9
Localisation updates from https://translatewiki.net .
...
Change-Id: Iab9a59aba83d0836b0f971577ec1e4d51f3d5364
2016-11-05 22:54:30 +01:00
Translation updater bot
4c62014715
Localisation updates from https://translatewiki.net .
...
Change-Id: I342536385b55e7a053820a3d2047ef0b8321f618
2016-11-04 22:49:34 +01:00
Translation updater bot
e159681170
Localisation updates from https://translatewiki.net .
...
Change-Id: Iad18eef0e87327ad96725ff647f2261056547e54
2016-11-03 23:29:45 +01:00
Translation updater bot
36ae0d29c1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia70d64b63651c188a28f310966fd9736e72475cb
2016-10-25 23:12:45 +02:00
Chad Horohoe
e0092515de
Whoops, track not trace
...
Change-Id: I0bce6bf24990eaff0f4f9fbe172ef6f6fdb0ddf0
2016-10-24 17:02:35 -07:00
Chad Horohoe
4d46502bd2
Swapping defaultbranch for trace
...
The former is a maintenance nightmare when branching.
Bug:T146293
Change-Id: I0ebd76a527b140938bcdb84afbeddf8a6ff46f52
2016-10-24 16:37:32 -07:00
Translation updater bot
573e55514b
Localisation updates from https://translatewiki.net .
...
Change-Id: I159ecdee2ad2ed1e73518568399afcf4ebee751a
2016-10-24 22:45:10 +02:00
Translation updater bot
1711219fdd
Localisation updates from https://translatewiki.net .
...
Change-Id: I85310c0c738649bf9b8850883ed412f5b92d9fdd
2016-10-22 22:44:38 +02:00
Translation updater bot
0f06e98f42
Localisation updates from https://translatewiki.net .
...
Change-Id: I82514b31c770fe2272351808cfd957f9076c22da
2016-10-16 22:41:58 +02:00
jenkins-bot
9609b25064
Merge "Clean up ObjectCache calls"
2016-10-11 21:45:33 +00:00
Aaron Schulz
23c0b1c14e
Clean up ObjectCache calls
...
Change-Id: I6b741a82dca2fead8b1392208bec4303cc064d87
2016-10-11 14:20:29 -07:00
Translation updater bot
5e3fcc6aa3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ida3f4782eeb22a844acba5addfffaabf5789351e
2016-10-11 22:45:05 +02:00
Translation updater bot
452f6d0738
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie6cc1f77d35d11d69e8c7e52523b83b9f8668e7f
2016-10-09 22:48:48 +02:00
Ebrahim Byagowi
68384531ae
Add Persian translation of "Special:GadgetUsage"
...
Change-Id: I375471155f4e8255ce8c7b506a38a79a9e2c0921
2016-10-08 07:33:35 +00:00
Reedy
7c922c92b9
Replace ArticleSaveComplete hook usage
...
Bug: T147556
Change-Id: I6f3a58c8e7cf1382fc8e1ac30cc697deb7fc9eb7
2016-10-06 17:16:15 +01:00
Translation updater bot
3931b815cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I50060a84d28b84359ccff767ec386818652b8519
2016-10-04 22:36:58 +02:00
jenkins-bot
ce32e6586c
Merge "Implement support for specifying type=styles"
2016-09-30 10:47:03 +00:00
Timo Tijhof
dc834f3933
Implement support for specifying type=styles
...
T87871 formally introduced the concept of a styles module,
which sets mw.loader.state to "ready" when loaded through addModuleStyles().
Previously, addModuleStyles couldn't safely do that because a module may
contain scripts also, in which case mw.loader must still load the (rest)
of the module (causes styles to load twice).
In MediaWiki core or extensions this is easily avoided by calling not
calling both addModules() and addModuleStyles().
For Gadgets we call both as a workaround to allow users to provide styles
(without a FOUC), but also to provide scripts+styles. Since we don't declare
which one is intended (and some gadgets do both), we loaded them both ways.
This will no longer be allowed in the future (see T92459).
The new 'type=styles' Gadget attribute promises to ResourceLoader that a
gadget only contains styles.
Impact:
* [Bug fix] When mw.loader requires a styles module that already loaded,
it will not load again.
* [Feature] It is possible for a general scripts+styles gadget to depend on
a styles gadget. Previously this caused the styles to load twice.
* Specifying type=styles will load the module through addModuleStyles() only.
Use this for modules that contain styles that relate to elements already
on the page (e.g. when customising the skin, layout, or article content).
* Specifying type=general will load the module through addModules() only.
Use this if your module contains both scripts and styles and the styles
only relate to elements created by the script. This means the styles do not
need to be loaded separately through addModuleStyles() and will not apply
to noscript mode.
Effective difference:
* Gadgets with only styles: We assume type=styles.
This fixes the main bug (styles loading twice) and requires no migration!
* Gadgets with only scripts: We assume type=general.
This requires no migration! (And: No more empty stylesheet request)
* Gadgets with scripts (with or without styles): We assume type=general, but
unless type=general was explicitly set we'll still load it both ways so
that the styles apply directly on page load.
If this is not needed, set type=general.
If this is needed, it should become two separate modules. We do not support
a single module having two purposes (1: apply styles to the page,
2: provide scripts+styles). The styles module should be separate.
It can be made hidden, and listed as dependency of the other module.
The latter case is detected on page load and results in a console warning
with a link to T42284.
Bug: T42284
Bug: T92459
Change-Id: Ia3c9ddee243f710022144fc2884434350695699a
2016-09-30 10:43:29 +00:00
Translation updater bot
7b97752434
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib803b6cceefc933396df011e8ff6a060e6d53c45
2016-09-28 22:24:59 +02:00
Translation updater bot
e7d4897053
Localisation updates from https://translatewiki.net .
...
Change-Id: I361558c5be2c437255017268a8b000c1a23f4ff2
2016-09-27 22:36:52 +02:00
Translation updater bot
33ed4c847e
Localisation updates from https://translatewiki.net .
...
Change-Id: I23a0a0e95e8b94f7f4d100218af1247cb8b0c973
2016-09-23 22:33:37 +02:00
Translation updater bot
b832ba78c6
Localisation updates from https://translatewiki.net .
...
Change-Id: I518cfe6966c2c1f08ae768d842fb937619c32d01
2016-09-22 23:38:20 +02:00
Translation updater bot
83236f356b
Localisation updates from https://translatewiki.net .
...
Change-Id: Idc0aad9652cc5ca8ab4d6ab178830a29a2af3356
2016-09-19 22:55:11 +02:00
Translation updater bot
048c23d3c4
Localisation updates from https://translatewiki.net .
...
Change-Id: I86a4332e0d21f38435d1570830cd25771ed6f664
2016-09-17 23:19:03 +02:00
Translation updater bot
89b7e6bb55
Localisation updates from https://translatewiki.net .
...
Change-Id: I187984682d92e79a5aa656963a32ed8955e4accd
2016-09-15 22:59:53 +02:00
Translation updater bot
07492f8938
Localisation updates from https://translatewiki.net .
...
Change-Id: If62ef95757c4c5913bc1e3d632b6833983886bbc
2016-09-14 22:35:15 +02:00
Translation updater bot
9c32d93d8f
Localisation updates from https://translatewiki.net .
...
Change-Id: I96f3dc2787a9a1f16cab386fec8d2ff16b83cee9
2016-09-13 22:51:12 +02:00
Translation updater bot
13d486ee33
Localisation updates from https://translatewiki.net .
...
Change-Id: I684874294188a577e661d909dbeb0bd7dc3282d5
2016-09-12 23:04:45 +02:00
Translation updater bot
3fc9db069c
Localisation updates from https://translatewiki.net .
...
Change-Id: I4382e37ce0f00cf3fda9d06648ec9a6c13b6182e
2016-09-09 22:55:20 +02:00
Translation updater bot
20eed006b9
Localisation updates from https://translatewiki.net .
...
Change-Id: I477bc199a50af4ecd9ba46cc8778a28a1ed67b61
2016-09-08 23:44:45 +02:00
Translation updater bot
08944c2162
Localisation updates from https://translatewiki.net .
...
Change-Id: If7e023c4e2875221d94e78a346f33f0aa489a240
2016-09-01 23:24:51 +02:00
Translation updater bot
a971be91f4
Localisation updates from https://translatewiki.net .
...
Change-Id: I32d5cee3cf5c44a72085168ddaeaeaf273765858
2016-08-28 22:37:08 +02:00
Translation updater bot
46fb40bcc8
Localisation updates from https://translatewiki.net .
...
Change-Id: Id0233ecaa08a92f99a09e85f4945bc948a389b95
2016-08-16 22:42:24 +02:00
Translation updater bot
d84db79118
Localisation updates from https://translatewiki.net .
...
Change-Id: I9bca53f3d2b7affde4f8eee294d0a02f649a85a4
2016-08-13 22:29:31 +02:00
Translation updater bot
7cea0f88ce
Localisation updates from https://translatewiki.net .
...
Change-Id: I63ffb91a48298fcba75e8458f62e47db93d41211
2016-08-12 23:11:24 +02:00
Translation updater bot
1965b6db1c
Localisation updates from https://translatewiki.net .
...
Change-Id: I8897f322d26e44853f166dc1d37f7f1a4bb111f7
2016-08-11 23:53:52 +02:00
Translation updater bot
ca9461ebaf
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic6925a4accaf72d51cd56a92e1d05b42a888f18f
2016-08-09 22:30:13 +02:00
Reedy
34795a8803
Remove 'UnitTestList' hook
...
No longer needed now that extension unittests are autodiscovered.
Bug: T142120
Bug: T142121
Change-Id: I89cfc1ea3e652ebec1cd67f62810586c4ef49574
2016-08-06 01:14:53 -07:00
Kunal Mehta
5257a2112c
Unbreak tests
...
Bug: T142236
Change-Id: Id30ea70a00a8e3ebcd71801cbbab694f99ce3f00
2016-08-06 01:14:09 -07:00
Translation updater bot
870ba3b26e
Localisation updates from https://translatewiki.net .
...
Change-Id: I5b6098d49d7b6b0e5d3655a5c098224220321163
2016-07-30 22:26:01 +02:00
Translation updater bot
306bd888f7
Localisation updates from https://translatewiki.net .
...
Change-Id: I806858ae36fc0fa72442ebc1e5c05d15861272c3
2016-07-25 22:24:22 +02:00
Translation updater bot
ec3e053cf1
Localisation updates from https://translatewiki.net .
...
Change-Id: I1f8b8fd720e385f294fda286850b896595e5654f
2016-07-12 22:49:08 +02:00
Translation updater bot
94f6dacb2d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibdffbc75553d6d3828aa8f01b5519ba144f5ab4a
2016-07-11 22:56:45 +02:00
Translation updater bot
cfde0d304f
Localisation updates from https://translatewiki.net .
...
Change-Id: Idb403b944fa5e5d66ca2789f07dcfa2a3403abc6
2016-07-10 22:20:55 +02:00
Translation updater bot
e6a6875488
Localisation updates from https://translatewiki.net .
...
Change-Id: Ice264fee026c9ca675a9d399cfcbd9f66aef8b01
2016-07-01 23:20:59 +02:00