Commit graph

2407 commits

Author SHA1 Message Date
Translation updater bot d8cae7b00a Localisation updates from https://translatewiki.net.
Change-Id: I28a6f1929fd3d102cae5ea3656fff5f57de111c6
2015-09-02 21:36:08 +02:00
Meno25 cda6db4387 Add namespace names for Arabic
Bug: T110999
Change-Id: If83388c2835c2a38534b1ef4bd20cebb06619b5c
2015-09-01 08:16:22 -07:00
mjbmr 39229acc10 Add Western Balochi namespaces
Change-Id: Ib760a64050f1563a4aae93ab86c810e2cd62ae8c
2015-08-25 13:23:18 +00:00
Translation updater bot f5047336ea Localisation updates from https://translatewiki.net.
Change-Id: I213c82401be9722015b94644a7b3ab800a68ebda
2015-08-23 21:36:13 +02:00
umherirrender b09b236520 Add german namespace aliases
Change-Id: Idc40496792c97082935e1d863f20104e3044be8c
2015-08-23 09:58:39 +02:00
mjbmr 4f2a409196 Load namespaces
Change-Id: Ia06cfa4d24092094fbf83ceceddfecdfaf389e93
2015-08-21 13:41:20 +00:00
Translation updater bot d48d943c00 Localisation updates from https://translatewiki.net.
Change-Id: I09a55fb31c21fe7dbf0c3e1bc9411a95578682b4
2015-08-19 22:13:32 +02:00
Translation updater bot 00228dc54c Localisation updates from https://translatewiki.net.
Change-Id: Id1629595f8beac19ab823cff7a217d0c4b8cad61
2015-08-18 21:21:12 +02:00
mjbmr c6908b7380 Add Mazandarani namespaces
* https://mzn.wikipedia.org/w/index.php?oldid=135662#.D9.81.D8.B6.D8.A7.D9.87.D8.A7.DB.8C_.D9.86.D8.A7.D9.85.DB.8C_.D8.AC.D8.AF.DB.8C.D8.AF

Change-Id: Ia262841fe734c052fe98d6f07329b949acb3edc7
2015-08-18 13:56:21 +00:00
mjbmr 6fec54714b Add Northern Luri namespaces
* https://lrc.wikipedia.org/w/index.php?oldid=26416#.D9.81.D8.B6.D8.A7.D9.87.D8.A7.DB.8C_.D9.86.D8.A7.D9.85.DB.8C_.D8.AC.D8.AF.DB.8C.D8.AF

Change-Id: If524c8930cd29e3ea660f11cdb6c55fc4f28e64e
2015-08-17 20:48:12 +00:00
mjbmr 4ecd54c217 Add South Azerbaijani namespaces
* https://azb.wikipedia.org/w/index.php?oldid=39793#.D9.81.D8.B6.D8.A7.D9.87.D8.A7.DB.8C_.D9.86.D8.A7.D9.85.DB.8C_.D8.AC.D8.AF.DB.8C.D8.AF

Change-Id: I6ff7175d6311805aee21da5ae16d65823b00d3a1
2015-08-17 17:58:39 +00:00
mjbmr c7110ca9cf Add Central Kurdish namespaces
* https://ckb.wikipedia.org/w/index.php?title=%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%D8%AF%DB%8C%D8%A7:%D8%AF%D8%A7%D8%AE%D9%88%D8%A7%D8%B2%DB%8C_%D8%A8%DB%95%D8%B1%D8%A7%D9%85%D8%A8%DB%95%D8%B1%DB%8C_%DA%A9%D9%88%D8%B1%D8%AF%DB%8C&oldid=458144

Change-Id: I008517796ff1dc395b1bf79cf60964d4c2fbfed3
2015-08-17 12:12:13 +00:00
Ricordisamoa 266a7cc571 Add Italian translation for namespaces
"Accessorio" derives from the localized name
of the "Gadgets" special page.

Change-Id: Ifc5eac7808b1549fbff3822da951d6e937f53053
2015-08-16 23:39:38 +02:00
Bartosz Dziewoński b957e1ea1f Add Urdu translation for namespaces
Translations provided by MuhammadShuaib at T109206. I do no speak the
language, but they have been vetted by Urdu Wikipedia community and
automated translation back to English looks sane.

Bug: T109206
Change-Id: I6f0555b8f02895f547a708ff6845d975fb5e29e3
2015-08-16 22:37:49 +02:00
Bartosz Dziewoński 29cad61a48 Add Polish translation for namespaces
Change-Id: I05aa2f7f34867864ac435add85c6ad8f2783464b
2015-08-16 22:34:17 +02:00
Minh Nguyễn 70c9201a5a Vietnamese namespaces
Change-Id: I1f76e00b04a740c646456ae6f296198ff2f1d18c
2015-08-16 22:31:35 +02:00
mjbmr 6ad53ef396 Add Persian translations
Follow-up to Ia88c774cc0decc252a4a4277d14822048db95801

Bug: T109234
Change-Id: Ib05342d19f99c301f9f1a21c016ef1d86cb2175e
2015-08-16 23:14:41 +03:00
Amir E. Aharoni c15ad91a9f Add Hebrew namespace translation
Change-Id: I1e4afe239ee83f8d1cba38618144136056186aaf
2015-08-16 19:55:17 +03:00
Translation updater bot f0a2549582 Localisation updates from https://translatewiki.net.
Change-Id: I00e18946d7230e6e17c6b497c14c4d2f7028f3cb
2015-08-15 21:46:05 +02:00
Translation updater bot 9d43382151 Localisation updates from https://translatewiki.net.
Change-Id: I20ca83e080467a3b90210507f42f4da1db79cf04
2015-08-14 22:09:14 +02:00
Translation updater bot a9a1764575 Localisation updates from https://translatewiki.net.
Change-Id: I14f0fb1cbbe6292af961693a6ec07e41baa8083f
2015-08-13 20:55:55 +02:00
Translation updater bot 01cf8cb77b Localisation updates from https://translatewiki.net.
Change-Id: Ic74315c3a1a3b7b9f0c1ddd36c7d2587747415c6
2015-08-12 21:32:19 +02:00
Translation updater bot 5012374882 Localisation updates from https://translatewiki.net.
Change-Id: I6cf1deb0e976ff3a4ed40743024935b63f79d470
2015-08-11 22:08:05 +02:00
Translation updater bot c9ef35b72a Localisation updates from https://translatewiki.net.
Change-Id: Ica035995d11d803cc86a50795f64b81fbb2e5439
2015-08-10 21:58:25 +02:00
Translation updater bot b91d8ce52e Localisation updates from https://translatewiki.net.
Change-Id: I6a839588a4c9b94b878b4e1c9093f9da12fe1dd3
2015-08-09 20:46:47 +02:00
jenkins-bot e8be573463 Merge "Set up "Gadget" and "Gadget definition" namespaces" 2015-08-09 02:48:00 +00:00
Translation updater bot 668ebf00a2 Localisation updates from https://translatewiki.net.
Change-Id: I0a3233261fe9e9386869220bd9f0277a56a0d8c9
2015-08-08 21:13:14 +02:00
Kunal Mehta e6b8b57d9b Set up "Gadget" and "Gadget definition" namespaces
Register the "Gadget", "Gadget definition", and their respective talk
namespaces. It will not be possible to create any pages in the Gadget
and Gadget definition namespaces due to the "gadgets-edit" and "gadgets-
definition-edit" rights not being granted to any groups.

Depends on Iaf8b44d02adf9 in MediaWiki core.

Change-Id: Ia88c774cc0decc252a4a4277d14822048db95801
2015-08-08 01:39:56 -07:00
Kunal Mehta 152484566d Add support for 'messages' and 'hidden' gadgets
In the backend, allow:
* Adding dependencies on messages
* Marking gadgets as hidden so they don't show in preferences

These cannot be used by MediaWiki:Gadgets-definition gadgets, but will
be used by Gadgets 2.0 gadgets.

Change-Id: I55e97de9d631ae001ccc0164db172ba9c5689a34
2015-08-08 00:43:16 +00:00
Translation updater bot 450448a639 Localisation updates from https://translatewiki.net.
Change-Id: I9493a8718e9a90f5f0e428c95d84fbc8ea864ded
2015-08-07 21:52:38 +02:00
Timo Tijhof 29e7a9193d Don't load legacy gadget scripts
The time has come to stop supporting legacy gadgets that haven't
migrated to ResourceLoader yet.

For many Gadgets, migrating to ResourceLoader will be as easy
as adding "[ResourceLoader]" to its definition on MediaWiki:Gadgets-definition.

However for older gadgets, they may need more maintenance. Though
similarly they may've already been malfunctioning silently.

The most common techniques used by legacy scripts, and what their
equivalents are in modern JavaScript, see:
<https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)>

Ref T107399.

Change-Id: Ia5f7323a40a28541515ef3a3f5079f1cc940f392
2015-08-07 01:00:40 +00:00
Kunal Mehta ee17259501 Remove deprecated API functions
MediaWiki 1.25 has been required since the switch to extension
registration.

Change-Id: I0992a32013389e82ccf7821fa077bdbb87ca880c
2015-08-01 15:10:25 -07:00
Kunal Mehta 3d270b36bf Remove ConfigRegistry entry for gadgets
It no longer has any configuration settings, so it doesn't need to
registery a Config type.

Change-Id: Icd0f759ca4e58b1436bfcd2403a38e1691d3bc39
2015-08-01 15:10:20 -07:00
Kunal Mehta adcb193a1b Move GadgetResourceLoaderModule class to separate file
Change-Id: Ic7dde135168a04fc5916e5f44acd6b8639c8ce1a
2015-08-01 15:10:15 -07:00
Kunal Mehta e858bda308 Add abstract GadgetRepo and MediaWikiGadgetsDefinition implementation
GadgetRepo is an abstract class based off of the implementation in the
RL2 branch.

It is a singleton that provides basic methods to construct and interact
with Gadget objects.

The MediaWikiGadgetsDefinition class is an implementation of GadgetsRepo
that parses the "MediaWiki:Gadgets-definition" page for gadget
definitions.

Tests were left in place to demonstrate that no functional changes have
been made aside from relocation of code. Some tests should be moved to
separate files in the future.

Bug: T106176
Change-Id: I3e802889f6f495783f4dbac65c2a8cefa824a778
2015-08-01 15:10:07 -07:00
Translation updater bot 40c8603881 Localisation updates from https://translatewiki.net.
Change-Id: I2212b4f37036c6df62b7058f62e250e6d1c7ba77
2015-07-24 21:07:03 +02:00
jenkins-bot e60c8f6686 Merge "Removed caching config variables and always enable caching" 2015-07-23 22:48:17 +00:00
Aaron Schulz 2bd2ef99c5 Removed caching config variables and always enable caching
* APC will be used if around as a tier 1 cache
* This also makes it easier to have mixed zend/hhvm servers

Bug: T106743
Change-Id: Ie9f234753f78215441474dddc4eadedbd2b76ad7
2015-07-23 15:26:06 -07:00
Translation updater bot 4acdb1ac23 Localisation updates from https://translatewiki.net.
Change-Id: Ib64ecd66779f07946bffa68ee351d3e46315c719
2015-07-22 22:14:36 +02:00
jenkins-bot 5084381a2f Merge "Revert "Add $wgGadgetsEnableLegacyGadgets to allow disabling of legacy gadgets"" 2015-07-18 07:45:21 +00:00
Alex Monk a51bb552dc Revert "Add $wgGadgetsEnableLegacyGadgets to allow disabling of legacy gadgets"
This reverts commit 036aa3d876.

Change-Id: I90840cbdaa1d6eabde3fffd113dc7a945a876e77
2015-07-18 07:44:31 +00:00
jenkins-bot 022ed2de68 Merge "Add $wgGadgetsEnableLegacyGadgets to allow disabling of legacy gadgets" 2015-07-18 07:40:47 +00:00
jenkins-bot e428aeb0d8 Merge "Refactor Gadget construction process" 2015-07-18 07:31:57 +00:00
Kunal Mehta d537e50256 Refactor Gadget construction process
The current method of setting private properties prevents the Gadget
object from being constructed by another class (like a GadgetRepo).

Instead, lets pass in arguments in an array.

Change-Id: I86853c72dfb323fb3e54be9ecff85973e30fe781
2015-07-18 02:26:25 -05:00
Translation updater bot 0f2159b360 Localisation updates from https://translatewiki.net.
Change-Id: I8a8ffb28a752ab658c3e4ed28b6e5f59f0663f64
2015-07-15 21:40:18 +02:00
Translation updater bot 7388765190 Localisation updates from https://translatewiki.net.
Change-Id: Ib4f1a8c1c7dfcae42ca8c4ac70d7af4ff6a3e847
2015-07-09 22:02:25 +02:00
Translation updater bot ecc390f14f Localisation updates from https://translatewiki.net.
Change-Id: I0092d8103ddd13ed2ded36abbbdccf71d7907433
2015-07-07 22:08:41 +02:00
Kunal Mehta 036aa3d876 Add $wgGadgetsEnableLegacyGadgets to allow disabling of legacy gadgets
Follows-up 192d37b19a.

So we can turn them off in preparation of Gadgets 2.0, which
doesn't support them at all.

Change-Id: I98b4146579ccbbfcad8b83a51cc095da1fad673c
2015-07-04 01:25:26 +01:00
Translation updater bot 9b08493941 Localisation updates from https://translatewiki.net.
Change-Id: I0a3d8189ae07b75ec1fd9a4e69e1f1f1b8a49963
2015-07-02 21:24:28 +02:00
Translation updater bot c875641ad3 Localisation updates from https://translatewiki.net.
Change-Id: Idf69daf1900666aeb88604e91b3bd3ef30f10997
2015-06-30 21:21:52 +02:00