Commit graph

17 commits

Author SHA1 Message Date
Bartosz Dziewoński 306816b5ff Popups.php: Remove unused top-level variables
Also whitespace.

Change-Id: I126244bb426f898ecbacc7f7c285f8338bf75046
2014-04-22 14:07:34 +00:00
Matthew Flaschen d71713aff8 Mention BetaFeatures as dependency, correct comment
Change-Id: Idf406fabc89c951e6457876f69dc7b97ff948add
2014-03-29 03:05:54 -04:00
Siebrand Mazeland 7a6fdeb327 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I6931ff83b4358bbc55af3627f069201795700fd2
2014-03-28 21:40:17 +01:00
Prateek Saxena 7386f10df3 Make EventLogging a soft dependency
Based on https://gist.github.com/atdt/4652474

Bug: 61880
Change-Id: Ief5ce7eef43ffe4612541627dff2b0fc75b696ab
2014-03-20 16:47:52 +05:30
Prateek Saxena 1818c0d2e6 Use moment.js instead of timeAgo method
Bug: 61481
Change-Id: I8e08335aa091c098a9efd1eb148627b134e42940
2014-03-12 11:21:27 +05:30
Prateek Saxena 8c0cc231c7 Add dependency to mediawiki.jqueryMsg
Change-Id: I26c1a3e40d1b994dfded39eeef7ad416883a289d
2014-02-21 13:41:44 +05:30
Prateek Saxena efc3c498fe Add EventLogging
Schema: https://meta.wikimedia.org/wiki/Schema:Popups

Change-Id: Id17e81794561f022e004e18cf3595c3ffd6f3fd0
2014-02-19 11:51:11 +05:30
Prateek Saxena 00bde78b00 Add redirects to message at the top of the popup
Change-Id: I051e4ed84f216e9c8682138927f6dcb6a407ee57
2014-02-18 16:46:12 +05:30
Kunal Mehta 4e85a13c20 Set extension type to 'betafeatures'
Change-Id: If89393fa2a8cf432c6f987a94e7489049515453c
2014-02-13 13:14:06 -08:00
Prateek Saxena ce59f92489 Add time ago in words at the bottom of the popup
Change-Id: I53f77a0c802ae3b9582c51a07fc56ad56e3fd53b
2014-02-13 18:45:02 +05:30
Prateek Saxena b23ed006f6 Add hook for BetaFeatures
Change-Id: I2929c9cccc60330253f358a767e66297d20f401e
2014-02-10 17:26:36 +05:30
Max Semenik 6b0057a521 Kill $wgEnablePopups
It's not a feature flag because it disables whole extension as opposed to a
particular feature. It would result in weird situations where the extension is
present in Special:Version but does not work for no obvious reason. If an
extension needs to be disabled on WMF, its registration file should not be included,
as opposed to "feature flags". This, however, does not mean that I'm opposed to
real feature flags:)

Change-Id: I09bae50241057f727881f33d6f97f69cec7c0a10
2014-02-10 13:20:39 +04:00
Prateek Saxena 7cadfed0be Add dependency to mediawiki.api in ResourceLoader
Change-Id: I6911e1e592362acdca8ca9d63b7a8b5e2094028f
2014-02-07 12:13:20 +05:30
Prateek Saxena d2b825de24 Add animation to Popups
Change-Id: I1b0c4073581cdfc58da2b590ae6f2057cafeff12
2014-02-07 06:22:50 +00:00
Kunal Mehta 26a68fbec0 Enable extension by default
Also add a comment to indicate what extensions
are required.

Change-Id: Ic48523a2fffeb723d0f7e72393319f0a0f8e522e
2014-02-06 22:13:45 -08:00
Prateek Saxena 551f923e64 Add JS/CSS resources
Change-Id: Idd2b8fe0a8a9e030df8668c1ca0d855e19333789
2014-02-07 11:09:43 +05:30
Yuvi Panda f5a6482252 Base PHP Extension description files
Change-Id: Ic210ab97494071672eceee558600002b04e668df
2014-02-06 15:55:06 +05:30