Commit graph

18 commits

Author SHA1 Message Date
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
idradm de6599083b XW-2569 fix multiple header collapsing 2017-01-11 14:43:45 +01:00
Igor Rogatty 7a9a95b81c XW-2277 | cancel the change if there is no data-image-key 2016-11-04 13:14:34 +01:00
Igor Rogatty 3dee529ca8 XW-2277 | data-image-key is already encoded with urlencode() 2016-11-04 13:00:41 +01:00
Igor Rogatty bcc409483a XW-2277 | use wgArticlePath 2016-11-03 16:56:35 +01:00
Igor Rogatty 7d505ab62f XW-2277 | replace link only on click 2016-11-03 16:11:23 +01:00
Igor Rogatty e0394adb61 XW-2277 | replace image links in PI on Monobook with File page URLs 2016-11-03 14:44:29 +01:00
idradm 20d6a46421 DAT-3707 create infobox builder extension 2016-02-12 11:38:47 +01:00
idradm d4953f7680 Merge branch 'dev' into infobox-builder-feature-branch
# Conflicts:
#	extensions/wikia/AdminDashboard/AdminDashboardLogic.class.php
#	extensions/wikia/AssetsManager/config.php
#	extensions/wikia/EditPageLayout/templates/EditPageLayout_EditPage.php
2016-02-09 11:46:56 +01:00
Inez Korczynski 553f4521a0 VE-2013: Fix problem with PI JS not being executed in preview by using wikipage.content hook
JavaScript for PortableInfoboxes MediaCollections and CollapislbeGroups initialization was executed once while loading the file - so it was working propery for most common case which is displaying article (the view page). However sometimes content is loaded dynamically, after JavaScript already loaded and executed, and for such cases intialization was not happening. In particular such case is loading article preview from within the Classic Editor. Problem is solved by using solid and common MW approach of MediaWiki JavaScript hooks - specifically one named 'wikipage.content' which is meant to be fired whenever wikipage (in any context) is being displayed.
2015-12-04 20:38:10 +00:00
Paul Oslund af4026b386 VE-1996: Create JS to toggle pi-collapse-closed class 2015-10-27 16:52:42 +00:00
Paul Oslund f9055fe97c VE-1961: Handle multiple image collections in infobox 2015-10-21 02:55:23 +00:00
Paul Oslund e6c81a3ea2 VE-1961: Render image collection tabs in infobox 2015-10-20 16:40:56 +00:00
Rafal Leszczynski 4497e48134 add redirect to template method to infobox builder ponto module 2015-09-02 17:09:01 +02:00
Rafal Leszczynski 7bd7af3349 fix js assets for portable infobox builder 2015-09-01 17:14:01 +02:00
Rafal Leszczynski fd8aef3f81 set ponto target for infobox builder UI 2015-09-01 14:59:46 +02:00
Rafal Leszczynski 24488ba89b create ponto module to communitace with infobox builder UI in iframe 2015-09-01 14:59:17 +02:00
idradm b49bb7c1da DAT-3154 call to action on template edit added 2015-08-27 14:50:02 +02:00