Commit graph

2108 commits

Author SHA1 Message Date
Thiemo Mättig 6b22f1089e Use …->assertArrayHasKey() instead of isset()
… as well as update a line of documentation I had stashed. I think this
does not need it's own patch, or does it?

Change-Id: I99eee1f7b5ec96c1c75e73d66200bc41807452fa
2017-05-31 07:52:18 +00:00
Translation updater bot 722141ff0c Localisation updates from https://translatewiki.net.
Change-Id: I0d9ad9231c7051ada1a063d22e27a235d51bd283
2017-05-28 22:21:28 +02:00
jenkins-bot 75c50ad0c6 Merge "Remove duplicate loading of styles (assume type=general if content is mixed)" 2017-05-24 15:15:33 +00:00
Translation updater bot c55c2f331d Localisation updates from https://translatewiki.net.
Change-Id: I9029b4357a03831c28c2c956be2d606f435aa1da
2017-05-20 22:34:28 +02:00
Nemo bis 91ef147994 Revert "Localisation updates from https://translatewiki.net."
Mistaken addition of English strings as Hindi messages.
https://translatewiki.net/wiki/Thread:User_talk:Sfic/Import_of_English_strings_to_Hindi

This reverts commit 1502950992.

Change-Id: Iac731be2d00faacba2f4c6a5a1ff499e29e5e277
2017-05-19 09:05:02 +00:00
Translation updater bot 1502950992 Localisation updates from https://translatewiki.net.
Change-Id: I1cffad40bd89262128cc106f7a3582799d903d30
2017-05-18 22:38:47 +02:00
Timo Tijhof 3dd92c6f76 Remove duplicate loading of styles (assume type=general if content is mixed)
Follows-up dc834f3, dc4ea6c.

Bug: T92459
Bug: T42284
Change-Id: I94dbdb052a78bbbc3c1b7b8bb8805a5f327670d9
2017-05-12 21:44:42 +00:00
jenkins-bot 3298024c2a Merge "Revert "Move gadget styles from main stylesheet request to site request"" 2017-05-11 17:43:13 +00:00
Legoktm ccf1f6818d Revert "Move gadget styles from main stylesheet request to site request"
This reverts commit 86905f8d78.

Bug: T165040
Bug: T165031
Change-Id: I523f46f442946c4cccd6f9eaedc877d871643672
2017-05-11 17:15:20 +00:00
Translation updater bot 8ce3b3bea7 Localisation updates from https://translatewiki.net.
Change-Id: Ibce03096a0dcc1667ed803ab2961ef72ceab5cde
2017-05-06 22:44:34 +02:00
Antoine Musso a51aabd2ee build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:01 +02:00
jenkins-bot 215194c9d0 Merge "Move gadget styles from main stylesheet request to site request" 2017-05-04 01:16:37 +00:00
Translation updater bot c962b5e835 Localisation updates from https://translatewiki.net.
Change-Id: Ibd44f9d7d8cb557033bc92a46d8db4e73110741b
2017-05-02 22:53:36 +02:00
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