Commit graph

967 commits

Author SHA1 Message Date
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
Karol Tatala ce5cbe1da9 Merge branch 'dev' of https://github.com/Wikia/app into XW-2591 2017-01-13 14:05:04 +01:00
Karol Tatala c3e60959c9 XW-2591 | fix jumping images in PI, image tag size different than image file size 2017-01-13 13:57:17 +01:00
idradm 76cdfad2ec Merge branch 'dev' into XW-2448 2017-01-13 13:17:05 +01:00
Karol Tatala 5b78b1404a XW-2569 | override stacked layout padding for labels in europa 2017-01-13 12:11:23 +01:00
Karol Tatala 7b23eedbef XW-2569 | remove display flex from labels 2017-01-13 11:57:31 +01:00
idradm 27cbf6c901 XW-2569 fix monobook label paddings, top align horizontal group labels 2017-01-13 11:21:55 +01:00
idradm ab6e587806 XW-2569 fix classic skin borders, align horizontal labels properly for europa skin 2017-01-13 11:04:10 +01:00
Mateusz Rybarski 900652b3a7 XW-2448: reducing returns from method 2017-01-13 10:49:05 +01:00
Mateusz Rybarski a5e6896f5f XW-2448: not changing array items while iterating, changing methods order 2017-01-13 10:47:10 +01:00
Karol Tatala c57f039935 XW-2569 | fix label height 2017-01-13 10:07:32 +01:00
idradm 4041ecf2be XW-2569 fix ordering 2017-01-13 09:40:17 +01:00
Mateusz Rybarski 359006fc46 XW-2448: unittests 2017-01-13 09:37:27 +01:00
idradm bc9d42d234 Merge branch 'XW-2569' into XW-2569-wrapper-styling 2017-01-13 09:34:51 +01:00
idradm 9f0b77f69e XW-2473 fix tests after class changes 2017-01-13 09:30:53 +01:00
idradm 66f131e2ba XW-2473 move file width method to image helper 2017-01-13 09:25:46 +01:00
Mateusz Rybarski 1723811417 XW-2448: cleanup 2017-01-13 08:51:14 +01:00
Karol Tatala f10c0e232d XW-2569 | new line at EOF 2017-01-12 16:30:25 +01:00
Mateusz Rybarski e6edafb61c XW-2448: rendering images with caption or first one 2017-01-12 16:29:14 +01:00
Karol Tatala 786d00f8d0 XW-2569 | styling PI smart groups 2017-01-12 15:55:37 +01:00
idradm 34a876a862 XW-2473 fix hero data calculation 2017-01-12 15:32:07 +01:00
Mateusz Rybarski 182de59c7b XW-2448: using foreach loops 2017-01-12 15:05:11 +01:00