Topic on Extension talk:Info

Summary last edited by Suriyaa 12:16, 21 April 2021 2 years ago

A new release will be available for newer MediaWiki versions.

AnonymusGdpr (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?

AnonymusGdpr (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?

AnonymusGdpr (talkcontribs)

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

AnonymusGdpr (talkcontribs)

Finally I removed the extension.