Commit graph

1038 commits

Author SHA1 Message Date
Mateusz Rybarski f412c3a9bd XW-4654: render hero image for second and every next PI, add lazyload class to infoboxes 2018-03-05 16:00:40 +01:00
Mateusz Rybarski 9f9dc7ae79 XW-4654: data-attrs for galleries in PI 2018-03-02 16:47:26 +01:00
Mateusz Rybarski 6226a58247 XW-4654: add data-src and lazyload class to images 2018-02-28 13:30:39 +01:00
Mateusz Rybarski 64f23a89e8 XW-4654: render PI galleries 2018-02-28 10:03:49 +01:00
Karol Tatała 7b4e0e6fef Fix PI unit tests 2018-02-19 09:52:20 +01:00
Aga Serowiec 5533ee90f2 Merge pull request #14783 from Wikia/XW-4529
XW-4529 | get rid of minimum image width for hero image
2018-02-16 16:38:52 +01:00
Karol Tatała d543be1f62 XW-4529 | fix unit tests 2018-02-16 16:05:51 +01:00
Karol Tatała 3de501ca54 XW-4529 | pi class for mobile portable-infoboxes 2018-02-14 20:08:35 +01:00
Karol Tatała 85a6d306a7 XW-4529 | fix width in test 2018-02-14 14:19:18 +01:00
Karol Tatała 6429642ad7 XW-4529 | fix test
XW-4529 | fix test

XW-4529 | fix test

XW-4529 | fix test
2018-02-14 14:06:01 +01:00
Karol Tatała 5ed49cf043 XW-4529 | clean up 2018-02-14 10:57:33 +01:00
Karol Tatała f738212983 XW-4529 | get rid of minimum image width to be a hero image 2018-02-13 12:36:46 +01:00
Szymon Tomaszewski 3309fe63c9 SUS-3913 Remove unused FixImageLinks.php script 2018-02-09 13:18:18 +01:00
Mateusz Rybarski d974ba80a0 XW-4331: fix unit test 2018-01-04 10:25:54 +01:00
Mateusz Rybarski 6ce472f0c2 XW-4331: increase play icon in Portable Infoboxes to medium size 2018-01-03 08:36:06 +01:00
Mateusz Rybarski 92a08034e8 XW-4331: fix unittests 2017-12-29 12:19:33 +01:00
Mateusz Rybarski a7629aebb8 XW-4331: remove duration from thumbnails 2017-12-28 11:56:08 +01:00
Mateusz Rybarski 4844ba13e1 XW-4331: update play icon for videos in a lot more places 2017-12-22 11:55:57 +01:00
Máté Szabó b551d521f9 SUS-3245: Emit scroll event on Portable Infobox collapsible group state change (#14207)
* SUS-3245: Emit scroll event on Portable Infobox collapsible group state change

* SUS-3245 use template literal
2017-11-14 11:32:16 +01:00
Máté Szabó b752e40379 Revert "Merge pull request #13935 from Wikia/SUS-2957-remove-wgExtensionMessagesFiles" (#13974)
This reverts commit fd66930d889fdbea0a4c608f086c252d1a4c0837, reversing
changes made to d0c18fe5a2782ba2cde985c5b730f0bb6245fcb1.
2017-10-12 15:06:20 +02:00
macbre 16405ade1b wgExtensionMessagesFiles | remove from extensions/wikia 2017-10-06 14:40:56 +02:00
Jakub Olek 3a30c73c16 XW-4045 | Remvove a tags that href starts with javascript from nodeimage 2017-10-03 10:52:40 +02:00
Jakub Olek 755e301633 XW-4045 | Escape caption in galleries in PI 2017-10-03 10:27:19 +02:00
Máté Szabó 2847b70b11 SUS-2178: &$this should not be passed by reference (#13444)
* SUS-2178: Normalize hook handling in Answers

* SUS-2178: Normalize hook handling in Achievements

* SUS-2178: Normalize hook handling in AppPromoLanding

* SUS-2178: Normalize hook handling in ArticleComments

* SUS-2178: Normalize hook handling in ArchiveWikiForum

* SUS-2178: Normalize hook handling in ArticleAsJson

* SUS-2178: Normalize hook handling in ArticleMetaDescription

* SUS-2178: Normalize hook handling in AutoMainpageFixer

* SUS-2178: Normalize hook handling AutomaticWikiAdoptionHelper

* SUS-2178: Normalize hook handling in BannerNotifications

* SUS-2178: Normalize hook handling in Blogs

* SUS-2178: Normalize hook handling in CanonicalHref

* SUS-2178: Normalize hook handling in Category*

* SUS-2178: Normalize hook handling in Chat

* SUS-2178: Normalize hook handling in CloseMyAccount

* SUS-2178: Normalize hook handling in CommunityMessages

* SUS-2178: Normalize hook handling in Comteam

* SUS-2178: Normalize hook handling in ContentFeeds

* SUS-2178: Normalize hook handling in ContentWarning

* SUS-2178: Normalize hook handling in CreatePage

* SUS-2178: Normalize hook handling in Discussions

* SUS-2178: Normalize hook handling in EditPageLayout

* SUS-2178: Normalize hook handling in EditTagging

* SUS-2178: Normalize hook handling in EditorPreference

* SUS-2178: Normalize hook handling in FlowTracking

* SUS-2178: Normalize hook handling in Follow

* SUS-2178: Normalize hook handling in Forum

* SUS-2178: Normalize hook handling in FounderProgressBar

* SUS-2178: Normalize hook handling in HAWelcome

* SUS-2178: Normalize hook handling in ImageLazyLoad

* SUS-2178: Normalize hook handling in ImageServing

* SUS-2178: Normalize hook handling in ImageSizeInfoFunctions

* SUS-2178: Normalize hook handling in IndexingPipeline

* SUS-2178: Normalize hook handling inInfoboxBuilder

* SUS-2178: Normalize hook handling in InterwikiDispatcher

* SUS-2178: Normalize hook handling in LatestPhotos

* SUS-2178: Normalize hook handling in LinkSuggest

* SUS-2178: Normalize hook handling in MainPageTag

* SUS-2178: Normalize hook handling in MobileContent

* SUS-2178: Normalize hook handling in MyHome

* SUS-2178: Normalize hook handling in YouTube

* SUS-2178: Normalize hook handling in Phalanx

* SUS-2178: Normalize hook handling in Piggyback

* SUS-2178: Normalize hook handling in Places

* SUS-2178: Normalize hook handling in xbox

* SUS-2178: Normalize hook handling in PortableInfobox

* SUS-2178: Normalize hook handling in Qualaroo

* SUS-2178: Normalize hook handling in RTE

* SUS-2178: Normalize hook handling in SEOTweaks

* SUS-2178: Normalize hook handling in Scribe

* SUS-2178: Normalize hook handling in SharedHelp

* SUS-2178: Normalize hook handling in SiteWideMessages

* SUS-2178: Normalize hook handling in StaffSig

* SUS-2178: Normalize hook handling in UserLogin

* SUS-2178: Normalize hook handling in Profile

* SUS-2178: Normalize hook handling in Video

* SUS-2178: Normalize hook handling in Wall

* sus-2178: Normalize hook handling in WAMPage

* SUS-2178: Normalize hook Handling in WallNotifications

* SUS-2178: Normalize hook handling in WidgetTag

* SUS-2178: Normalize hook handling in WikiAnswers

* SUS-2178: Normalize hook handling in WikiFactory

* SUS-2178: Normalize hook handling in WikiaApi

* SUS-2178: Normalize hook handling in WMU

* SUS-2178: Normalize hook handling in WikiaMobile

* SUS-2178: Normalize hook handling in WikiaPhotoGallery

* SUS-2178: Normalize hook handling in WikiaNewtalk

* SUS-2178: Normalize hook handling in WikiaWhiteList

* SUS-2178: Normalize hook handling in skins

* SUS-2178: Normalize hook handling in VisualEditor, remove dead code

* SUS-2178: Normalize hooks handling in AbuseFilter

* SUS-2178: Normalize hook handling in Variables

* SUS-2178: Normalize hooks handling in AntiSpoof

* SUS-2178: Normalize hook handling in Arrays

* SUS-2178: Normalize hooks handling in Loops

* SUS-2178: Normalize hooks handling in Autoincrement

* SUS-2178: Normalize hooks handling in CharInsert

* SUS-2178: Normalize hooks handling in CharInsert

* SUS-2178: Normalize hook handling in ImageMap

* SUS-2178: Normalize hooks handling in ConfirmEdit

* SUS-2178: Normalize hooks handling in DPLforu

* SUS-2178: Normalize hooks handling in Scribunto

* SUS-2178: Normalize hooks handling in InputBox

* SUS-2178: Normalize hooks handling in MultiUpload

* SUS-2178: Normalize hooks handling in OGM

* SUS-2178: Normalize hooks handling in Poem

* SUS-2178: Normalize hooks handling in RandomImage

* SUS-2178: Normalize hooks handling in RegexFu

* SUS-2178: Normalize hooks handling in Semantic*

* SUS-2178: Normalize hook handling in SpamBlacklist

* SUS-2178: Normalize hooks handling in GeSHi

* SUS-2178: Normalize hooks handling in TitleBlacklist

* SUS-2178: Normalize hooks handling in TorBlock

* SUS-2178: Normalize hooks handling in timeline

* SUS-2178: Normalize hook handling in includes/wikia

* SUS-2178: add few extension hooks I missed

* SUS-2178: Get rid of &$this from core MediaWiki

* SUS-2178: Remove remaining &$this from extensions

* SUS-2178: Remove &$this from maintenance scripts

* SUS-2178: remove annoying hooks.txt &$this

* SUS-2178: apply SonarQube suggestions

* SUS-2178: add two missing extensions

* SUS-2178: Update Maps and SMW via composer

* SUS-2178: BeforeParserrenderImageGallery - bring back the wonders of pass by reference

* Disabling memcache in NavigationTest

* SUS-2178: Normalize hook handling in TwitterCards

* SUS-2178: Correct parameter type in CommunityMessages

* SUS-2178: Correct parameter type in WallHooksHelper::onPersonalUrls

* SUS-2178: Correct parameter type in FollowHelper::addPersonalUrl

* SUS-2178: Correct parameter type in WikiaApp::onArticleViewHeader

* SUS-2178: Correct parameter type in ArticleComment::watchlistNotify

* SUS-2178: onArticleSaveComplete - $revision may be null for null edits

* SUS-2178: Correct few errors in Scribe and Variables

* SUS-2178: Correct parameter types in Arrays extension

* SUS-2178: fix class resolution error in IndexingPipeline

* SUS-2178: Fix type hint in WallHooksHelper

* SUS-2178: Include Maps schema

* SUS-2178: Correct parameter types in PageStatsService

* SUS-2178: Correct parameter type in ContentReviewHooks::onArticleDeleteComplete

* SUS-2178: Update WallHooksHelper::onUserIsBlockedFrom

* SUS-2178: Correct parameter type in GadgetHooks::registerModules

* SUS-2178: Correct parameter type in FliteTagController

* SUS-2178: Correct few more param types

* SUS-2178: Remove &$parser from legacy extensions
2017-08-07 21:26:54 +02:00
TK-999 57a122d066 Make Hooks::run work with old tests and namespaces 2017-07-12 14:54:32 +02:00
TK-999 de4f46d488 s/wfRunHooks/Hooks::run/g 2017-07-12 12:21:06 +00:00
TK-999 24e10830f2 SUS-2395: Remove extends clause from non-Nirvana classes extending WikiaService 2017-07-07 15:12:32 +02:00
Sir Jenkins 0cf2cced8b Automatic translations update 2017-05-22 08:04:01 +00:00
jcellary 0ad04063a4 Added product_person field 2017-03-22 15:08:20 +01:00
TK-999 64b9991014 MAIN-9881: Fix risky tests 2017-03-15 19:44:02 +01:00
TK-999 d53e4236e9 Replace all usages of setExpectedException with annotations or expectException 2017-02-28 11:21:12 +01:00
idradm 6b3488ffaa XW-2656 | make sure caption is set 2017-02-24 17:01:02 +01:00
idradm bd2a9cd159 XW-2656 | make sure gallery captions are escaped as well 2017-02-24 16:57:29 +01:00
idradm e6f2637ca4 XW-2771 | make sure the data is present 2017-02-22 16:56:13 +01:00
Mateusz Rybarski b9260e8fb8 XW-2727: unittests for filtering images in PortableInfoboxRenderService 2017-02-03 17:05:52 +01:00
rogatty 94a88c7f21 Merge remote-tracking branch 'origin/dev' into XW-2448 2017-02-02 09:43:11 +00:00
Karol Tatala 3396120a66 XW-2668 | changing paddings for PI smart groups 2017-01-26 13:04:55 +01:00
Karol Tatala eedc5d0aae XW-2668 | padding for PI smart groups without labels 2017-01-25 15:26:52 +01:00
idradm 47adca6ea1 Restore "Merge pull request #12220 from Wikia/XW-2448"
This reverts commit 50d81602c84b9474e070d6c1a8e2995cd9b8d91b.

# Conflicts:
#	extensions/wikia/PortableInfobox/services/PortableInfoboxRenderService.class.php
2017-01-25 12:18:20 +01:00
Damian Jozwiak e853a8c887 XW-2620 | PortableInfoboxes - fix image width 2017-01-18 09:06:11 +01:00
macbre 66c995a659 Revert "Merge pull request #12220 from Wikia/XW-2448"
It causes https://wikia-inc.atlassian.net/browse/SUS-1483

Notice: Array to string conversion in /usr/wikia/source/app/includes/parser/StripState.php on line 98

"Array" string is displayed on blog posts listing.

This reverts commit 37d1519605836c8144ea36c9951577e65ce71d9e, reversing
changes made to 0eb38a5cb2fced6e7f3dd1853150ab950d7dffe8.

Conflicts:
	extensions/wikia/PortableInfobox/services/PortableInfoboxRenderService.class.php
2017-01-17 12:31:06 +01:00
idradm d9158f0925 XW-2473 remove no longer valid comments, add missing params to input value 2017-01-13 16:23:21 +01:00
idradm 3c1d61dbcb Merge branch 'dev' into XW-2473 2017-01-13 16:18:53 +01:00
idradm 35ddb454af XW-2569 fix tests, close html tag correctly 2017-01-13 16:17:01 +01:00
Mateusz Rybarski ffdf4f3f62 Merge branch 'dev' into XW-2591 2017-01-13 15:57:38 +01:00
Mateusz Rybarski 5af2d8df31 XW-2448: removing unused const 2017-01-13 15:37:16 +01:00
Mateusz Rybarski d53e54d83e XW-2448: || instead of array_merge 2017-01-13 15:34:02 +01:00
Karol Tatala 29e2d8b25d XW-2591 | change assignment to imgTagDimensions 2017-01-13 15:27:48 +01:00
Mateusz Rybarski a28b14ac94 XW-2448: checking if infobox contains tabber or gallery using markers 2017-01-13 15:18:05 +01:00
Karol Tatala b89b4b4620 XW-2591 | fix variable name in ratio calculation 2017-01-13 14:19:30 +01:00