Extension talk:Info

Jump to navigation Jump to search

About this board

Discussion about the Extension "Info"

Info failed

4
Summary by Alzi24

Extension removed.

Alzi24 (talkcontribs)

Hello there. Recently I've done the upgrade to MediaWiki 1.31 and now this extension does not work anymore (while it did with MW 1.27). When calling the "page info" item, it just shows a small red-bordered rectangle telling "Info failed". There is nothing in the Apache Log, so how can I find out why it fails?

Alzi24 (talkcontribs)

The error "Info failed" obviously results from the following code in ext.info.js:

                var postArgs = { action: 'info', titles: mw.config.get( 'wgPageName' ) };
                 new mw.Api().post( postArgs ).then( function () {
                        location.reload();
                }, function () {
                        mw.notify( mw.msg( 'info-failed' ), { type: 'error' } );
                } );

There are no errors or warnings. How can I change the code to find out the reason for the failure?

Alzi24 (talkcontribs)

No one out there who can explain why it does not work? Or how I can retrieve additional error info? Disappointing.

Alzi24 (talkcontribs)

Finally I removed the extension.

Reply to "Info failed"
There are no older topics