Commit graph

1845 commits

Author SHA1 Message Date
Timo Tijhof 86905f8d78 Move gadget styles from main stylesheet request to site request
This ensures that:

* It will load in the request for module=site.styles
  instead of the request for core, extension and skin modules.
* It will load after the 'ResourceLoaderDynamicStyles' marker
  instead of before.

Bug: T147667
Change-Id: I762a188b8ddfc192121f89ef01afaa4b5bf31b98
2017-05-01 17:27:06 -07:00
Amire80 94fcc8fc03 Namespace names for Dinka
Change-Id: I23da17dca080d20509ac8de5e56ae832d0b220e6
2017-04-27 19:55:52 +03:00
Gergő Tisza b5befcbbe2 Switch TestingAccessWrapper to librarized version
Bug: T163434
Change-Id: I493d9b28d2c0d265e003a9851746eb07c7d15770
Depends-On: I52cc257e593da3d6c3b01a909e554a950225aec8
2017-04-20 11:35:09 +00:00
Translation updater bot 7c3f205eac Localisation updates from https://translatewiki.net.
Change-Id: I5fcb20ed55ab80dea50559ec0970cc42eb2564af
2017-04-17 22:28:30 +02:00
Translation updater bot 3a25b04b1b Localisation updates from https://translatewiki.net.
Change-Id: I39f5288b3273107e7fa62d05e0492e895ee2001a
2017-04-16 10:18:04 +02:00
Sébastien Santoro 273e08f559 Localize namespaces in Doteli
Translation authors:
  - @Rameshti (Ram Prasad Joshi)
  - @nirajan_pant (Nirajan Pant)
  - @Janak_bhatta (Janak Bhatta)

Bug: T162873
Change-Id: I317624274d60436b8fa753e1683c3164bf006145
2017-04-13 18:26:04 +00:00
Translation updater bot 6cc080af12 Localisation updates from https://translatewiki.net.
Change-Id: I85d4baceb0bde5adabd6f302cb070390eb5d99c7
2017-04-09 22:44:54 +02:00
Translation updater bot 0590f2fa65 Localisation updates from https://translatewiki.net.
Change-Id: I181526edbe2b89a52701eda72b9617ad3d3b6071
2017-04-08 22:59:06 +02:00
jenkins-bot fecdbf695e Merge "Replace Linker::link() with LinkRenderer" 2017-03-23 16:53:15 +00:00
Matěj Suchánek 1d60e9f74f Replace Linker::link() with LinkRenderer
This raises MediaWiki version requirement to 1.28.0.

Bug: T149346
Change-Id: I90117382215c0e7962f2d4a4fa275898beab9816
2017-03-18 09:14:45 +00:00
Translation updater bot b4ceea19a4 Localisation updates from https://translatewiki.net.
Change-Id: Ic4acb5aedab8112ba64c7101b6f4da51040d68af
2017-03-12 22:40:48 +01:00
Translation updater bot a032967b99 Localisation updates from https://translatewiki.net.
Change-Id: I4b5e5d0777b2d3cba5596a32dc6287c7e14afb17
2017-03-09 23:17:20 +01:00
Aaron Schulz f53828bf57 Avoid wfMessage() call in Gadget cache updates
This avoids purge problems due to layered caching. The message cache
is known to take a while to regenerate and uses lockTSE=300.

Bug: T157210
Change-Id: I418e160ddb61c4d3654780f5d2bbb14bc2827e2a
2017-03-09 06:03:03 +00:00
Bartosz Dziewoński c0b3041fad Add namespace translations for Western Punjabi (pnb)
Bug: T157871
Change-Id: I4a3882534a0f0f64fd233dc4c8f389bdd9bbff1a
2017-03-08 00:58:03 +01:00
jenkins-bot a319a031ff Merge "Code style/uniformity cleanups to GadgetDefinitionNamespaceRepo" 2017-03-07 02:36:11 +00:00
Translation updater bot 92fd21ab9e Localisation updates from https://translatewiki.net.
Change-Id: I8b7658d2d48c6d09fd4058d5246246bc9f2e76bb
2017-03-04 22:46:24 +01:00
Aaron Schulz 5fd412b41d Code style/uniformity cleanups to GadgetDefinitionNamespaceRepo
Change-Id: Ic49383ac1ef99494050005c3641aa6a758fe3e8c
2017-03-02 21:32:54 -08:00
Translation updater bot a0e70a5d24 Localisation updates from https://translatewiki.net.
Change-Id: I497b252bc1bce2fc0a8758cc592b576cb9732ea6
2017-02-28 22:58:16 +01:00
Aaron Schulz dbccf81ffd Minor code style cleanups
Change-Id: Ia4390dcdba6fc809610b036896223448270641d6
2017-02-27 14:08:51 -08:00
Translation updater bot 829b85cc80 Localisation updates from https://translatewiki.net.
Change-Id: I481f949d85a40d151db5bcda6f4dcefabd65b8cd
2017-02-25 22:24:38 +01:00
Translation updater bot bc1ae7aecd Localisation updates from https://translatewiki.net.
Change-Id: If6c36dadee8ddb3a854f6e547fe7b7202a6727d1
2017-02-18 22:30:58 +01:00
Timo Tijhof d1d8bd73df Change warning link about type=general from phab to mediawiki.org
Bug: T42284
Change-Id: Ibb5dcca242e75567ab2ee70b0836b2271fe171d0
2017-02-15 13:23:25 -08:00
Translation updater bot 3bcbc1e2ae Localisation updates from https://translatewiki.net.
Change-Id: I11de6927fb9f1305f1c5f54d358b17dc98e131f5
2017-02-14 22:34:06 +01:00
Translation updater bot a7948ddf28 Localisation updates from https://translatewiki.net.
Change-Id: I09112e07d96e07dadf158b44484cbb6a3d0b2dda
2017-02-10 22:29:33 +01:00
jenkins-bot f1ad65c724 Merge "Implement 'peers' feature for loading extra styles-type gadgets" 2017-02-02 18:47:13 +00:00
Translation updater bot 5f5b593268 Localisation updates from https://translatewiki.net.
Change-Id: Id0246393df3e2d2d6c2b63704ac3be05030fdbfa
2017-01-27 14:39:17 +01:00
Translation updater bot 98d4b0df40 Localisation updates from https://translatewiki.net.
Change-Id: I7b768168f7dcafa5acea78ab18c7c3f52d94b5f4
2017-01-25 14:28:47 +01:00
Translation updater bot 7f7501a0bc Localisation updates from https://translatewiki.net.
Change-Id: Ied7f979f842a1b19c3063758a8bdc5f44ee75619
2017-01-22 22:26:13 +01:00
Translation updater bot 0e6c93795f Localisation updates from https://translatewiki.net.
Change-Id: I1897a1b21bd73dadae50be971d1410f63efb48e4
2017-01-11 23:14:51 +01:00
Seb35 9369088713 Localisation of the namespaces in French
Change-Id: I7be4a1b78f5f4a3b5c3eaa6329c746edcf102eb7
2017-01-10 14:13:18 -08:00
Translation updater bot 89fe9741bb Localisation updates from https://translatewiki.net.
Change-Id: I4a8fa8deaa6da248fd8925e4c486881573f7598e
2017-01-09 15:51:19 +01:00
Translation updater bot 3b5ff37ae4 Localisation updates from https://translatewiki.net.
Change-Id: Ic460f7c25fcf8fe1427ab5dcea4f0e5aef16f1fe
2017-01-06 23:09:43 +01:00
Timo Tijhof dc4ea6cb21 Implement 'peers' feature for loading extra styles-type gadgets
Ref discussion on T42284.

Test plan:
* Create gadget A with a .css file only. (Maybe mark as 'hidden')
* Create gadget B with .js file, and peers=A.
* Verify that enabling B will result in B being loaded as general module,
  and A being loaded as page style module.

Change-Id: Ib6207e72c576ff387ecdba685a063bdfbb828199
2017-01-02 14:45:09 +01:00
Fomafix 7a99c04ae5 Explicit convert the Message object to string
This prevents double HTML escaping of the messages.

Change-Id: Iafba3108490f56d20cf1fac15a43e8fe420fedc2
2016-12-28 13:51:39 +01:00
Fomafix 1a569b590b Convert PHP syntax from array() to []
Performed using:
find . -name \*.php -exec php ~/convert.php -w "{}" \;

Script from:
https://github.com/thomasbachem/php-short-array-syntax-converter

And convert syntax in comments manually.

Change-Id: I7ea9e57f9ab1250c8687885ad9e010771603bf78
2016-12-28 13:51:30 +01:00
Fomafix 89f74b61c5 Use setPageTitle() instead of setPagetitle()
The function in file includes/OutputPage.php in core is called setPageTitle()

Change-Id: I42a99eb7c03ae0137aa027b867af9d172540973d
2016-12-28 11:41:50 +01:00
jenkins-bot c2eac7c025 Merge "Use wfLoadExtension in README.md" 2016-12-23 21:46:44 +00:00
Translation updater bot ebb69e16a4 Localisation updates from https://translatewiki.net.
Change-Id: Ide16d0b6f574eaca666e455a64ecab4333d4e983
2016-12-23 22:31:07 +01:00
Fomafix abe39c1a80 Use wfLoadExtension in README.md
Since MediaWiki 1.25 wfLoadExtension is the preferred way to include
extensions. This extension requires MediaWiki 1.27.

Change-Id: Ia35287265d5e020c3a9c32ffdd3691bc9a2d502f
2016-12-23 18:39:07 +01:00
Fomafix 75d7d07f6b Change documentation and comments from HTTP to HTTPS
This change avoids redirects from HTTP to HTTPS.

Change-Id: I2eb3b14e5bc8255f30ae557f842bfc512fc33a79
2016-12-23 18:26:43 +01:00
Translation updater bot 16c5c0eac0 Localisation updates from https://translatewiki.net.
Change-Id: Ibcd153c13d99630b7d65e15ccab2fc1dcd195e2c
2016-12-19 22:44:40 +01:00
Translation updater bot 05f09037c9 Localisation updates from https://translatewiki.net.
Change-Id: Ia96d7d7d9fb0865e097b5ea87b86bbcc9b8415c1
2016-12-12 22:27:17 +01:00
Aftab a153395dcb Gadgets.alias.php translation for bengali
Change-Id: I843615496190fb22babae751d58805b73904e4ea
2016-12-03 18:46:00 +00:00
jenkins-bot 89104e34c7 Merge "Gadgets.namespaces.php translations for bengali" 2016-11-30 08:08:01 +00:00
Translation updater bot b5cc6c751a Localisation updates from https://translatewiki.net.
Change-Id: If36106ecd7a03e4c4c923d25d90856066c6af38f
2016-11-28 22:28:19 +01:00
Aftab 13fa1e8d22 Gadgets.namespaces.php translations for bengali
Change-Id: I68abe2f50b691807ca6ad91b1e6d6e7fb9a07e9f
2016-11-28 19:55:38 +00:00
Translation updater bot 128f4f0c41 Localisation updates from https://translatewiki.net.
Change-Id: Icd92095e4e16c00ff862193b9da3128a64901c0a
2016-11-27 22:28:43 +01:00
Amire80 cc37298a99 Add Russian special page aliases for Ukrainian for backwards compatibility
Bug: T39314
Change-Id: I7007197c30acd4b226ca05fe9bfe1509a6de92b2
2016-11-24 20:15:46 +02:00
Translation updater bot 7c55064c3a Localisation updates from https://translatewiki.net.
Change-Id: If0ae58b5ec7b1470816e2f941ba216008b032bde
2016-11-23 22:36:59 +01:00
Timo Tijhof 27a0ca6568 Implement support for 'hidden' feature in MediaWikiGadgetsDefinitionRepo
Follows-up 152484566, which added support for it in Gadgets 2.0, but
it's easy enough to make it work in existing definitions as well.

That way, people can stop using 'rights=hidden' hacks.

Bug: T33150
Change-Id: Idd6944a9ad38279e117c1a02a4b5fd0343455ba0
2016-11-22 23:46:38 +00:00