0

I'm having a heck of a time with MediaWiki and an Internal Server Error. I'd like to log-in with more privileges than afforded by Admin and Bureaucrat in hopes of actually being able to save a page.

I am an admin on the VM that hosts the wiki. I have all the usernames and passwords at my disposal. I tried logging in with the MediaWiki user and password from LocalSettings.php but the log-in failed.

Is it possible to acquire more privileges than provided by Admin or Bureaucrat? If so, how do I log-in with more rights than Admin or Bureaucrat?

migrated from webapps.stackexchange.com Nov 2 '16 at 2:33

This question came from our site for power users of web applications.

3

There are privileges which bureaucrats do not have by default, and it is possible to give those to them (or some other group or a specific user if you prefer), e.g.

$wgGroupPermissions['bureaucrat'] += array_fill_keys( $wgAvailableRights, true );

See the manual for details.

It won't help you, though. Submitting a page edit works the same way no matter what privileges you have. You really should debug and fix your problem instead of trying to find weird workarounds.

  • Thanks Tgr. its easier said than done when WikiMedia and PHP refuses to log and report errors. – jww Oct 31 '16 at 1:03
  • There is probably some problem with your configuration, such as trying to log to an invalid location. Have you looked at Manual:How to debug? – Tgr Oct 31 '16 at 6:14
  • Yes, we are/were working from Manual:How to debug?. It turned out to be a Mod Security problem. It was ignoring our configuration, and doing its own thing with logging and reporting. I can't help but wonder how many 100's of thousands of man hours have been lost because the plugins can't be bothered with honoring a configuration. For what its worth, we thought we ruled out Mod Security months ago by submitting and saving a page with a WikiMedia table. The table used the dashes/illegal characters that caused the problem. – jww Oct 31 '16 at 6:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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