Topic on Project:Support desk

TraaBBIT (talkcontribs)

Hello.

I have MW version 1.26

I installed WikiEditor but it is not displayed.

wfLoadExtension( 'WikiEditor' );

# Enables use of WikiEditor by default but still allows users to disable it in preferences

$wgDefaultUserOptions['usebetatoolbar'] = 1;

# Enables link and table wizards by default but still allows users to disable them in preferences

$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

# Displays the Preview and Changes tabs

$wgDefaultUserOptions['wikieditor-preview'] = 1;

# Displays the Publish and Cancel buttons on the top right side

$wgDefaultUserOptions['wikieditor-publish'] = 1;

AhmadF.Cheema (talkcontribs)

Can you verify that this extension shows up in your Wiki's Special:Version page?

Ciencia Al Poder (talkcontribs)
  • Check Special:Version on your wiki and see if it's listed as an installed extension
  • Be sure you have the Enable enhanced editing toolbar preference turned on (save your preferences just in case)
  • Open the error console of your browser to see if there's any JavaScript error. You can open it usually hitting F12. If other parts of the site that require JavaScript aren't also working (search suggestions, collapsible sections) this may be the problem.
TraaBBIT (talkcontribs)

Versions:

MediaWiki - 1.26.3

PHP - 5.5.33 (cgi-fcgi)

MySQL - 5.6.28

IUC - 52.1

WikiEditor - 0.5.0

I restore my preferences to default.

In error console I have that:

(Firefox)

Internal error

Internal error

Problematic modules: {"startup":"error"} load.php:8:39

<anonimowa> load.php:8

(Chrome)

index.php:373 Uncaught ReferenceError: $ is not defined

pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:9 Uncaught TagError: adsbygoogle.push() error: No slot size for availableWidth=119

index.php?title=Eddard_Stark&action=edit:1 Refused to execute script from 'http://westeros.com.pl/load.php?debug=false&lang=pl&modules=startup&only=scripts&skin=vector' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

https://analytics.example.com/tracking.js Failed to load resource: net::ERR_TUNNEL_CONNECTION_FAILED

Enabler.js:100  [  0.007s] [studio.sdk]

Enabler.js:100  [  0.010s] [studio.sdk]

2Enabler.js:100  [  0.045s] [studio.sdk] Asset properties have been set by host.

2Enabler.js:100  [  0.045s] [Enabler] ad visible

https://encrypted-tbn1.gstatic.com/favicon?q=tbn:ANd9GcRTxIKNDC9iwEZTMiUT201cv6uMsqFBhOjjtaH190-grIcQZ9DX8EOIiVdayj0gVg3HcdPanvJ4R1Cb1NWNljwX Failed to load resource: the server responded with a status of 404 ()

2Enabler.js:100  [  1.053s] [studio.sdk] Using default ad parameters in test environment. Simulating local events.

My webpage is westeros.com.pl

If You can please register there and check it by Yourself.

Ciencia Al Poder (talkcontribs)

http://westeros.com.pl/load.php?debug=false&lang=pl&modules=startup&only=scripts&skin=vector

It says: Fatal error: Class 'ResourceLoaderSchemaModule' not found in /home/budrysl2/domains/westeros.com.pl/public_html/includes/resourceloader/ResourceLoader.php on line 563

I'm wondering if you did an upgrade from older version, and some files failed to overwrite new ones? (that shouldn't happen if you follow instructions of Manual:Upgrading

87.123.37.79 (talkcontribs)

See also Topic:T6f0rvawtv3ktjnk.

I think the problem behind both of these issues is the same: The upgrade has been done incorrectly. The dependencies are missing.

This is not the first issue of that kind in the last days - Trabbit, have you followed the Upgrade guide?

TraaBBIT (talkcontribs)

Yes, I followed the Upgrade guide.

Maybe I should upload MW files again and run update.php again?

TraaBBIT (talkcontribs)

WikiEditor is still not displayed

Ciencia Al Poder (talkcontribs)

And the error message in load.php is still present

ResourceLoaderSchemaModule class is provided by Extension:EventLogging. This extension is required by Extension:GettingStarted, which you have installed, but you don't have EventLogging

TraaBBIT (talkcontribs)

Great.

It works.

Thank You