Extension talk:Livelets
incredible idea horrible name
editThe 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)
- Suggested new extension names:
- Extension:Page load controller?
- Extension:Iframe
- Igottheconch 05:42, 12 November 2011 (UTC)
tabber
edit- The Extension:Tabber, when using the <tabber> </tabber> tags does not work inside {{#live: }}. The solution is to put the {{#live: }} inside the tabber tags. Igottheconch 09:13, 12 November 2011 (UTC)
- same with collapsed tables. the livelet must be inside the collapsed section. Igottheconch 22:13, 2 January 2012 (UTC)
headertabs
editI'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 (talk • contribs)
- give me a link to your wiki. Igottheconch 05:20, 8 December 2011 (UTC)
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
what does this mean?
editIn: 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>"); }
Compatibility with other extensions?
editThis 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)