0

I've added the following line in my LocalSettings.php:

wfLoadExtension( 'WikiEditor' );
$wgHiddenPrefs[] = 'usebetatoolbar';

And yet, when I try to edit a page, I get an ugly editor like:

Ugly Editor

Why is this happening and how do I fix this?!

  • Just because you hide the opt-in preference, it does not automatically become enabled. – Tgr Jan 7 '18 at 22:19
0

Add this code
wfLoadExtension( 'WikiEditor' ); $wgHiddenPrefs[] = 'usebetatoolbar'; $wgDefaultUserOptions['showtoolbar'] = true; $wgDefaultUserOptions['usebetatoolbar'] = 1;

  • 1
    Welcome to superuser: While this may or may not answer the question, it would be a better answer if you could provide some explanation why your solution works with detail and an easy to follow instructions. If you feel your answer is correct do these things and re-edit. Please take a couple of minutes and read:- superuser.com/help .Answering: superuser.com/help/how-to-answer, again welcome to superuser.Thankyou – mic84 Feb 7 '18 at 11:04
  • I self host a MediaWiki website. I had the same problem and this is the solution. I would rather keep it simple. mic84 do you even admin a MediaWiki website? – jehovahsays Feb 7 '18 at 11:10
  • It's not about whether it works, the point mic84 was getting at is that it is preferable to explain what the changes do and why that fixes the issue. It may be obvious to you, but it might not be to the next person who comes along :) – bertieb Feb 7 '18 at 11:53
  • bertieb it slows me down. – jehovahsays Feb 7 '18 at 18:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.