Extension talk:Livelets

Add topic
From mediawiki.org
Latest comment: 11 years ago by Lbillett in topic Compatibility with other extensions?

incredible idea horrible name[edit]

The concept of this extension is great, but the name is just terrible. Doesn't adequately describe what this extension is about. Can we rename it? Igottheconch 05:31, 12 November 2011 (UTC)Reply

Suggested new extension names:
Extension:Page load controller?
Extension:Iframe
Igottheconch 05:42, 12 November 2011 (UTC)Reply

tabber[edit]

same with collapsed tables. the livelet must be inside the collapsed section. Igottheconch 22:13, 2 January 2012 (UTC)Reply

headertabs[edit]

I've got a relatively massive headertabs template used as a navigation panel for the top of each page, and when using the #live: function on any level of the code, the page never renders the livelet content.

  • When placed around the complete template that contains the headertabs, the entire block doesn't appear, just sits with the throbber forever.
  • When placed around some of the templates that comprise each individual tab of the parent template, that tab won't load at all, not even the tab name, headertabs just excludes it entirely.
  • When placed directly around individual tables within the headertabs template, the other content appears, the throbber appears for the livelet table specified, but then never loads into the page.

My naive guess is conflicting jscript arguments? It appears that once the headertabs script completes, livelets script cannot inject the desired elements into it. Any help would be great, livelets functionality would be a perfect solution to my wiki's performance issues. — Preceding unsigned comment added by Teststudent (talkcontribs)

give me a link to your wiki. Igottheconch 05:20, 8 December 2011 (UTC)Reply

unfortunately, it's a private intranet site... I've since updated to the latest version of headertabs and livelets, but still the same issue. I just realized it might have something to do with the fact that the tables im working with are chock full of... even more templates! Will test and get back soon. btw:

Product 	Version

MediaWiki 1.18.1 (r110042) PHP 5.2.12 (apache2handler) MySQL 5.0.51a Distro openSUSE Kernel 2.3

--Teststudent 04:04, 26 January 2012 (UTC)Reply

what does this mean?[edit]

In: Livelets.php:

$wgLiveletsUseSWF = false; # Set this to true to use SWF to make livelets fully event-driven (no polling for change)

Later:

		# Embed the SWF if enabled (SWF must be requested from Livelets.pl)
		if ( $wgLiveletsUseSwf ) {
			global $wgServer, $wgLiveletsPort, $wgLiveletsSwfBg;
			$swf = "$wgServer:$wgLiveletsPort/Livelets.swf";
			$wgOut->addHTML("<object type=\"application/x-shockwave-flash\" data=\"$swf\" width=\"1\" height=\"1\">
				<param name=\"movie\" value=\"$swf\" /><param name=\"bgcolor\" value=\"$wgLiveletsSwfBg\"/></object>");
		}

Igottheconch 02:52, 13 January 2012 (UTC)Reply

Compatibility with other extensions?[edit]

This extension would be perfect if you could encapsulate a an external data request. Page loads hang (or fail) if that extension gets hung up for some connection reason. I tried, but it just shows the throbber and never loads the data. Anybody play with this lately? MW 1.18 - Lbillett (talk) 14:02, 23 August 2012 (UTC)Reply