Commit graph

2424 commits

Author SHA1 Message Date
Kaldari 0845d37598 Merge "Implement Gadgets definition namespace repo" 2015-11-20 18:03:02 +00:00
Kunal Mehta 519f30355e Implement Gadgets definition namespace repo
Implements:
* Gadget definition content and content handler
* Basic validation for gadget definition content
* GadgetDefinitionNamespace implementation of GadgetRepo
* DataUpdates upon editing/deletion of Gadget definition pages
* EditFilterMerged hook for improved error messages
* 'GadgetsRepoClass' option to switch GadgetRepo implementation used
* Lazy-load the GadgetResourceLoaderModule class so we don't need to
load each individual gadget object unless its needed

Note that Special:Gadgets's export feature intentionally doesn't work
yet, and will be fixed in a follow up patch.

Bug: T106177
Change-Id: Ib11db5fb0f7b46793bfa956cf1367f1dc1059b1c
2015-11-20 12:01:21 -06:00
Translation updater bot 5ac38d7b33 Localisation updates from https://translatewiki.net.
Change-Id: Ibd4e34ac99fadff0df15f69eed4822f741ef8d98
2015-11-19 21:36:04 +01:00
paladox 11a683dd07 Update Jenkins tests
Run jshint through npm instead.

Also add composer.json to run phplint and in future run the php code sniffer.

Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: I1797ac2bce1936ed75da76618f28fc239b60001b
2015-11-19 15:19:35 +01:00
Translation updater bot ae860e5a5e Localisation updates from https://translatewiki.net.
Change-Id: I9cdfe845c652adebc5fe6e4b8fbfe24f13ef68f3
2015-11-18 21:57:59 +01:00
Translation updater bot 63737a0262 Localisation updates from https://translatewiki.net.
Change-Id: I7d6eaa5d4f6a54297e22237cf1751a6df22579ce
2015-11-17 21:51:49 +01:00
Translation updater bot 6d3c1c41bd Localisation updates from https://translatewiki.net.
Change-Id: Iaac60609662652e8cb6397f780e00d048517112c
2015-11-15 22:17:35 +01:00
Translation updater bot e6efcb4c96 Localisation updates from https://translatewiki.net.
Change-Id: Ia02b084dd04082e7490d17cd1e7f2f598ca85d85
2015-11-14 22:16:37 +01:00
Translation updater bot 9d378ba80a Localisation updates from https://translatewiki.net.
Change-Id: I06c90f82bd5928ffcbafef4958dc7499cb18be52
2015-11-13 21:33:22 +01:00
Translation updater bot 468eaf6baf Localisation updates from https://translatewiki.net.
Change-Id: I49a51b835b1f8ba90c5ad92b7928b12d7c083041
2015-11-12 22:59:24 +01:00
niharika29 dfb8034ae1 Add note about excluding default gadgets in Special:GadgetUsage
Change-Id: Ia2cb867a90e8b7ff820722342e67d1b9aba88293
2015-11-12 05:13:42 +00:00
Translation updater bot 78a2de28a6 Localisation updates from https://translatewiki.net.
Change-Id: I230605c99efc9391bbdcdcc655e9693b7bb58452
2015-11-11 21:53:35 +01:00
Translation updater bot a99a20b25c Localisation updates from https://translatewiki.net.
Change-Id: I38a980b5f0bbcc4502f279537564aa7660b088f6
2015-11-09 21:45:49 +01:00
Translation updater bot 68e8d25199 Localisation updates from https://translatewiki.net.
Change-Id: I2e9ac1eb718635e60afc8fabedb247d6336eb43e
2015-11-08 22:10:59 +01:00
Translation updater bot 1202bbf60c Localisation updates from https://translatewiki.net.
Change-Id: I7396e19890196cd1ded624e5bf6524a6883dc148
2015-11-07 22:43:10 +01:00
Kunal Mehta f52d81a245 Update README
* Requires 1.27
* require_once is not a function
* BeforePageDisplay does run in modern versions of the CologneBlue skin.
* User code typically runs after Gadgets now, and they do have access to
things defined in gadgets.

Change-Id: I37431940693abdc2df840980025ff517e95f4a09
2015-11-06 17:38:23 -08:00
Translation updater bot 319a2b6ac4 Localisation updates from https://translatewiki.net.
Change-Id: Icd6a0cef3edcad0e2770046be19b3b9b5b5f9657
2015-11-05 21:43:12 +01:00
Translation updater bot f5d278ec89 Localisation updates from https://translatewiki.net.
Change-Id: I29e0c902928a56814ca21f63210e176978fb7852
2015-11-04 21:20:14 +01:00
jenkins-bot 94a695343a Merge "Add Estonian translations for gadget namespaces" 2015-11-03 22:17:10 +00:00
Pikne da39c5a1d9 Add Estonian translations for gadget namespaces
Change-Id: I961ac79605999b366f5944642a9c741875482bb9
2015-11-03 22:15:38 +00:00
niharika29 ccfb869417 Remove non-existent gadgets from Special:GadgetUsage
Bug: T117120
Change-Id: I6590d625f9428b5df1e4d68d8f15e1ffc94dd324
2015-11-03 22:11:10 +00:00
Translation updater bot 51ef5ca22e Localisation updates from https://translatewiki.net.
Change-Id: I006a418b9802f850279579c92d71e1ea2a289b07
2015-11-03 21:50:48 +01:00
Translation updater bot c50e49ae2e Localisation updates from https://translatewiki.net.
Change-Id: Id45f566070e7e6f300f6ffc4e5e6cc3381cd9060
2015-11-02 22:36:50 +01:00
jenkins-bot 100a7ce5d3 Merge "Remove default gadgets from Special:GadgetUsage" 2015-11-02 18:35:23 +00:00
niharika29 c23335fe5e Remove default gadgets from Special:GadgetUsage
The numbers for default gadgets are inconsistent and can be misleading.

Change-Id: Ib46084d617a536e4e25da80424ad70cec2a09f5a
2015-11-02 18:32:56 +00:00
Translation updater bot 1855060e77 Localisation updates from https://translatewiki.net.
Change-Id: Iaeb9f238462754e45b12ccae2f0613ab1e7622cc
2015-11-01 21:39:55 +01:00
Translation updater bot b4d5dda10b Localisation updates from https://translatewiki.net.
Change-Id: I3f75c323f3f506ed1fe3492ba0c6a0cac333a566
2015-10-31 21:05:39 +01:00
Translation updater bot 4ba349cd7c Localisation updates from https://translatewiki.net.
Change-Id: Ic1c9ade13a7a2338d2ec3cea80130057765645b1
2015-10-30 21:48:19 +01:00
Translation updater bot e76340f89c Localisation updates from https://translatewiki.net.
Change-Id: I513fb506ad8c2a1ec5ad36cefd244f98c13701e2
2015-10-29 21:24:02 +01:00
Translation updater bot f7e1a7465b Localisation updates from https://translatewiki.net.
Change-Id: Iac7d6872489cdd9867b4226b4c7fe352889b63aa
2015-10-28 21:54:02 +01:00
Translation updater bot d8284954c0 Localisation updates from https://translatewiki.net.
Change-Id: I5ff3b5a179d88766b6d2f327557d33013fe9e1fe
2015-10-27 21:32:15 +01:00
jenkins-bot 61feae80a8 Merge "Add wgQueryPages hook for Special:GadgetUsage page" 2015-10-27 16:03:40 +00:00
niharika29 e03ff36127 Add wgQueryPages hook for Special:GadgetUsage page
Change-Id: Ifacd705886f923e3ee58d4cd004d50c8ec4002d8
2015-10-27 13:29:26 +00:00
Brian Wolff 246329b7fc Fix escaping in Special:GadgetUsage.
wfEscapeWikiText() is incorrect in this context. It escapes
HTML, but also escapes a whole bunch of other stuff that
is not needed here

Also: Prefer html::element for escaping, because it makes it
easier to see at a glance everything is escaped.

Change-Id: I91b0722ea98f1e20339c7e0aa839c1073b778ed5
2015-10-27 10:30:42 +00:00
Timo Tijhof e009534e5c Remove position default logic
Follows-up 3b141e7.

See also Ib9821b7b87 in MediaWiki core.

Change-Id: If385f4c9bcf88b824099effa3c5b93545f372e82
2015-10-27 03:40:23 +00:00
Translation updater bot e6b44db894 Localisation updates from https://translatewiki.net.
Change-Id: I15c2c71e2ff3736a1b5fc5b7294615545d762d14
2015-10-26 21:03:10 +01:00
Translation updater bot b95b450a01 Localisation updates from https://translatewiki.net.
Change-Id: I767a820920820d4a83474a09e97a034641469d20
2015-10-25 22:04:26 +01:00
Fomafix a6418d2749 Remove double whitespaces
Change-Id: Ic6c095c25b0ba80f9340254c36fc5fec911ce87d
2015-10-23 21:11:01 +00:00
Translation updater bot 7cb5f3b5f3 Localisation updates from https://translatewiki.net.
Change-Id: Ic590286ccc9f8dcae30d0de4e87d7831b6572916
2015-10-23 21:43:45 +02:00
jenkins-bot dcda07d8cf Merge "Add a special page to show number of users for each gadget on the wiki" 2015-10-23 16:39:48 +00:00
niharika29 be8091a288 Add a special page to show number of users for each gadget on the wiki
Bug: T115152
Change-Id: Id1e245f8fdb2fc6a764682ae34937f35af24bd7c
2015-10-23 15:02:23 +00:00
Translation updater bot 3a654cf8c7 Localisation updates from https://translatewiki.net.
Change-Id: I4509f17f08abe3701828cd6b26fca3f3c80cece2
2015-10-20 22:47:15 +02:00
Translation updater bot 36e793b439 Localisation updates from https://translatewiki.net.
Change-Id: I57e0266423b6b3b4861a254228945d70f34b70a5
2015-10-18 21:54:55 +02:00
Translation updater bot 4ed9b1df82 Localisation updates from https://translatewiki.net.
Change-Id: Id85a1e9d99a173018b13de195a2f7a2a263f299e
2015-10-15 09:42:18 +02:00
Kunal Mehta 2cf23fd689 build: Updating development dependencies
* grunt-banana-checker: 0.2.2 → 0.4.0

Change-Id: If4a2a5c9fa909886160d84bb33a274c5bf1b1a5a
2015-10-11 11:45:25 -04:00
jenkins-bot 705dd577db Merge "Update getWithSetCallback() callers to the newer signature" 2015-10-08 15:53:21 +00:00
Aaron Schulz 4e7612bca1 Update getWithSetCallback() callers to the newer signature
Change-Id: I4207b1acfd2e831ec13998f784833ffc413cb690
2015-10-07 19:14:56 -07:00
Kunal Mehta b105abff1b Remove unused variable
Change-Id: Ib3237e16a332072c2a5840b27c391e89dcac3a69
2015-10-06 13:26:26 -07:00
Translation updater bot 2fb35e3014 Localisation updates from https://translatewiki.net.
Change-Id: I7dd061a63a7c9cab17be31cd811e7878792d09f2
2015-10-03 22:12:33 +02:00
Translation updater bot 7a3262b991 Localisation updates from https://translatewiki.net.
Change-Id: I9be6537b94a5634b5a1a701c3785b1b2e48a261b
2015-10-01 21:41:26 +02:00