Commit graph

2788 commits

Author SHA1 Message Date
Prateek Saxena 37ddb1997f Use .text instead of .html for the extract
This is alright because we are setting `explaintext` to
`true` in the API call.

Change-Id: I04df151a31ca60f058ea226efe17841b0eb663c4
2014-02-18 16:02:15 +05:30
Prateek Saxena 54b409cee2 Limit container height for landscape popup's extract
This is the only way we can properly truncate text.
We can't do it on the basis of characters as it'll
take up different amount of space based on the script.

Change-Id: I77f8304315beb42eb2120c633d3befb5f83432f9
2014-02-18 14:10:43 +05:30
Prateek Saxena 2899d34a70 Use div with background-image for landscape
This is to prevent the layout from breaking on landspace popups

Change-Id: Ia9d051b4f060d549a4a188ca42fb70a97eed23ab
2014-02-18 13:49:42 +05:30
Prateek Saxena 21b41f78eb Move thumbnail creation to its own method
Change-Id: I1d1b2aff4d8b919bd65e0da8ff07b594f061ccd7
2014-02-18 12:31:17 +05:30
Prateek Saxena a54a0a4195 Position timestamp div from the bottom
Also, removes the the "+" CSS selector

Bug: 61138
Change-Id: Idc88363add5e4f82d3d44b204f7bf3c96fa27839
2014-02-17 15:09:32 +05:30
Prateek Saxena 8ccd27dfb4 Consistency correction
Raymond's commit - https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FPopups/ce43cccc81ad4e2874b77ae553f623efb072d663
was accidentally reverted in https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FPopups/ce59f924897fc8c57ad0b7c2d7c9fa2582549cf2

This commit reverts back to the correct version.

Change-Id: I409611e36dbb3ed52ca146d5aa6180307e843244
2014-02-17 10:05:04 +05:30
Translation updater bot 75ea4566e6 Localisation updates from https://translatewiki.net.
Change-Id: I82e957d1828eb063835e187ef704a737f9dce217
2014-02-16 20:21:18 +00:00
Translation updater bot 6c947c011c Localisation updates from https://translatewiki.net.
Change-Id: I6dc9660fba9ee514e3b66512d73726f8f320e494
2014-02-15 21:06:26 +00:00
Translation updater bot b2a7d04608 Localisation updates from https://translatewiki.net.
Change-Id: I5919bb52faa67ab98b86b7fb79566d373e19fbe8
2014-02-14 20:20:59 +00:00
Translation updater bot 0955f6ca0c Merge "Localisation updates from https://translatewiki.net." 2014-02-13 21:22:12 +00:00
Translation updater bot 3f5e6bcc18 Localisation updates from https://translatewiki.net.
Change-Id: I984b0ea89a3a29749a101ae2ea76e85e0df3dc09
2014-02-13 21:18:55 +00:00
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 e9ad2ef798 Change size of thumbnails in popup
Change-Id: I98ecea9d240a4400cf2277b3b393c4b024fe907f
2014-02-13 11:15:54 +05:30
Prateek Saxena cde2c2f182 Reduce font size for timestamp
Change-Id: Ic54988c0613022fe11ad0019fa9c9b83151252d1
2014-02-13 06:25:44 +05:30
Prateek Saxena 6e3b49807d Remove drop shadow
Change-Id: I21b54b86e231900f0211958cd9c99ef9787ca382
2014-02-13 06:22:58 +05:30
Prateek Saxena 7b49f88bbf Change border color
Change-Id: Ie6f09773d22ff0ce4cf2d3f3c21a32c917f0424f
2014-02-13 06:21:32 +05:30
Translation updater bot 6d600734bf Localisation updates from https://translatewiki.net.
Change-Id: Ife915bb04c36477ed120f1e77464e8a348a234e4
2014-02-12 21:35:48 +00:00
Prateek Saxena af02948903 Reduce padding on text
Change-Id: Ia203da26ed52873c2b879593bd6e56651830319e
2014-02-12 21:33:56 +05:30
Prateek Saxena 8777220853 Reduce space between extract and timestamp
Change-Id: I84d498e4633105ba3f93bab158f776bd7aec64af
2014-02-12 21:31:19 +05:30
Prateek Saxena bb5cc039f9 Update type size and leading
Change-Id: Ic933179359a9098820c9b0dfaea154c9f478c81f
2014-02-12 21:29:06 +05:30
Yuvipanda bfc72ac048 Merge "Design Update * Hard shadows * Light border * Fast fadeOut animation * Typeface/Leading * Margin from images * Load popup sooner" 2014-02-12 07:42:03 +00:00
Prateek Saxena c817c3fdd9 Design Update
* Hard shadows
* Light border
* Fast fadeOut animation
* Typeface/Leading
* Margin from images
* Load popup sooner

Change-Id: I19ccf88b47c37c994ebf4a84b93490e5645724a5
2014-02-12 05:39:16 +05:30
Translation updater bot f79c14a92c Localisation updates from https://translatewiki.net.
Change-Id: Id45cb86fe1c5c89e67529caa6257ad9bf8eff84c
2014-02-11 19:58:02 +00:00
Prateek Saxena 4075898b9d Update icon on Beta Preferences
Change-Id: Ife948a8f497508f965f4275c74f73a9d9960366d
2014-02-11 05:42:02 +05:30
Translation updater bot ef30b3bd66 Localisation updates from https://translatewiki.net.
Change-Id: I3eda129e41297affecb70c9f124d6a3c07a92704
2014-02-10 20:49:40 +00:00
raymond ce43cccc81 Consistency tweaks
article->page as in core and all other extension
Remove . from end of description message

Follow up to I2929c9cccc60330253f358a767e66297d20f401e

Change-Id: I0543ad6f847d8352fb4d1877aadb81e5287fee14
2014-02-10 15:26:26 +01:00
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 cc61893f0b Remove the title attribute on hover (for links that have popups)
Change-Id: I62ce77fecd1b944d2d0454082aee8f5781e29593
2014-02-07 06:26:50 +00:00
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
raymond 14559d5440 Consistency tweaks in preparation for adding extension to translatewiki.net
article->page

Change-Id: Ifd8c14116218a317890f0ff3fa94e369f34034a3
2014-02-06 14:24:23 +01:00
Yuvi Panda f5a6482252 Base PHP Extension description files
Change-Id: Ic210ab97494071672eceee558600002b04e668df
2014-02-06 15:55:06 +05:30
Yuvi Panda a9e27e49f8 Add COPYING file
Change-Id: Ib0151384638ee69e3d07d322d261ea992a43af6b
2014-02-06 15:38:46 +05:30
Christian Aistleitner e1a63ee1a7 Add .gitreview 2014-02-06 11:01:39 +01:00