infinite ajax loader

Jump to: navigation, search

Lqt is not maintained any longer.

Wikinaut (talk)16:59, 25 March 2012

It is, but we don't know how, so it's just as good as if it were not.

Jasper Deng (talk)17:24, 25 March 2012

No, it is not maintained. Try for example to drag and drop a thread to a top location - this does not work since years.

Wikinaut (talk)17:36, 25 March 2012

At least for version 2.0...

Jasper Deng (talk)17:38, 25 March 2012

As time progresses, this sadly turns out to be one of MediaWiki's greatest myths. :(

[[kgh]] (talk)17:40, 25 March 2012

Ever since Extension:VisualEditor was begun.

In any case, it would help if you I could see (@OP) your web console output, since that shows JS errors.

Jasper Deng (talk)17:44, 25 March 2012
Uncaught TypeError: Cannot call method 'appendChild' of null
window.onloadPCGamingWiki:Forum:1
Unsafe JavaScript attempt to access frame with URL http://pcgamingwiki.com/wiki/PCGamingWiki:Forum from frame with URL http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-0027458528988311&output=html&h=90&slotname=2657560885&w=728&lmt=1332709228&flash=11.1.102&url=http%3A%2F%2Fpcgamingwiki.com%2Fwiki%2FPCGamingWiki%3AForum&dt=1332698180457&bpp=37&shv=r20120314&jsv=r20110914&prev_slotnames=9370099697%2C8824868417&correlator=1332698212853&frm=20&adk=1612791876&ga_vid=1402246595.1332698196&ga_sid=1332698196&ga_hid=1717413419&ga_fc=1&u_tz=-300&u_his=2&u_java=1&u_h=576&u_w=1024&u_ah=546&u_aw=1024&u_cd=32&u_nplug=14&u_nmime=98&dff=sans-serif&dfs=16&adx=219&ady=107&biw=1007&bih=257&oid=3&fu=0&ifi=1&dtd=M&xpc=B0IuAptVZT&p=http%3A//pcgamingwiki.com. Domains, protocols and ports must match.
load.php:5345Uncaught Error: Unknown dependency: mediawiki.action.edit.js
recurseload.php:5345
resolveload.php:5380
resolveload.php:5372
loader.usingload.php:5740
window.liquidThreads.injectEditFormload.php:152
window.liquidThreads.handleReplyLinkload.php:37
jQuery.event.dispatchload.php:1761
jQuery.event.add.elemData.handle.eventHandleload.php:1542
XHR finished loading: "http://pcgamingwiki.com/api.php?action=query&list=threads&thid=160%7C113%7C229%7C221%7C178%7C145%7C165%7C158%7C116%7C143%7C115%7C27%7C14%7C6%7C1&format=json&thprop=id%7Csubject%7Cparent%7Cmodified".
XHR finished loading: "http://pcgamingwiki.com/api.php?action=query&list=threads&thid=160%7C113%7C229%7C221%7C178%7C145%7C165%7C158%7C116%7C143%7C115%7C27%7C14%7C6%7C1&format=json&thprop=id%7Csubject%7Cparent%7Cmodified".
XHR finished loading: "http://pcgamingwiki.com/api.php?action=query&list=threads&thid=160%7C113%7C229%7C221%7C178%7C145%7C165%7C158%7C116%7C143%7C115%7C27%7C14%7C6%7C1&format=json&thprop=id%7Csubject%7Cparent%7Cmodified".

This is the output of a Anon page load, with a try to click the reply button

69.171.162.7718:02, 25 March 2012

Something is apparently missing in your extension directory; what's that doubleclick frame doing in a LiquidThreads frame?

Jasper Deng (talk)18:04, 25 March 2012

Just part of the page, here is one when logged in (as sysop) Also, Im using MW1.19b2, Chrome 17.0.963.83 m

load.php:144Uncaught Error: Unknown dependency: mediawiki.action.edit.js
recurseload.php:144
resolveload.php:145
resolveload.php:145
loader.usingload.php:154
window.liquidThreads.injectEditFormload.php:7
window.liquidThreads.handleReplyLinkload.php:2
jQuery.event.dispatchload.php:48
jQuery.event.add.elemData.handle.eventHandleload.php:41

69.171.162.7718:12, 25 March 2012

What it looks like is that it's calling a function or something that is somehow missing...

Jasper Deng (talk)18:16, 25 March 2012

well in lqt.js there is this block of JS

mediaWiki.loader.using(['mediawiki.action.edit.js'], function() {
                if (isIE7) {
                    $j(container).empty().show();
                }
                liquidThreads.loadInlineEditForm(params, container, function() {
                    if (typeof mediaWiki.loader != 'undefined' && mediaWiki.loader) {
                        mediaWiki.loader.using(['ext.wikiEditor', 'ext.wikiEditor.toolbar.i18n', 'jquery.wikiEditor.toolbar', 'jquery.wikiEditor.dialogs', 'jquery.async', 'jquery.cookie'], finishSetup);
                    } else {
                        finishSetup();
                    }
                });
            });

Seems to be the only ref to that resource

69.171.162.7718:25, 25 March 2012

I mean, in the mediawiki.action.js script itself, it appears.

Jasper Deng (talk)18:26, 25 March 2012

if its a regression in mediawiki.action.js who knows what else is depending on the same thing lqt is, and also breaking, I'm no JS wizard, so maybe someone with some knowledge of JS can help out to file a bug report?

69.171.162.7718:41, 25 March 2012

The problem is: 'Lqt is not maintained any longer.' (see post #4) Thus a bug will not help.

[[kgh]] (talk)18:44, 25 March 2012

but yet its used as a core mediawiki.org function...

69.171.162.7719:02, 25 March 2012

It seems to work fine on this wiki, but it's just that it'll have to be this way for a long time :(.

Jasper Deng (talk)19:21, 25 March 2012

Thanks to Krinkle in #wikimedia-dev I was able to resolve the issue, upgrade to the trunk version of lqt, and it fixes this issue

69.171.162.7720:46, 25 March 2012

I'd like to add to this solution.

I updated to the trunk version, which alone did not fix my issue with the spinner. However, strangely, after trying to reproduce the mediawiki.org LQT environment, I found that installing Extension:WikiEditor completely solved my ajax loader not going away. I'm not sure why, but it works for me.

Hope this helps someone.

Craig131 (talk)21:24, 3 September 2012
 
 
 
 
 

if its a regression in mediawiki.action.js who knows what else is depending on the same thing lqt is, and also breaking, I'm no JS wizard, so maybe someone with some knowledge of JS can help out to file a bug report?

69.171.162.7718:41, 25 March 2012
 

There is no module named "mediawiki.action.edit.js" in MediaWiki. The module is named "mediawiki.action.edit". This name was not changed, but was a typo in LiquidThreads. This part has never worked. Probably sneaked into a release by accident. I has been fixed in in the latest development version.

Yes, it has been fixed. Although LQT is being rewritten, the current version in the main channels is being maintained a little bit, such as this bug fix.

Krinkle (talk)20:51, 25 March 2012

I'm on mw 1.17.3 and just installed lqt 1.17.x version; my spinner still spins when starting a new discussion. The error console reports 4 "jquery is undefined" msgs in lqt.js.

Installed the development trunk version, but it references mw.util.wikiScript which is part of mw 1.18.

any help is appreciated to upgrade lqt for 1.17. thanks

Hypergrove (talk)07:52, 24 April 2012
 
 
 
 

Also to answer your question, I pasted the entire JS console log, We run ads for non logged in users.

69.171.162.7718:16, 25 March 2012
 
 
 
 
 

This is bugzilla:31809, which should be fixed soon (see gerrit:17777).

Helder00:18, 10 August 2012