Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

250
Views
Suppress warnings in mediawiki

Is there any way to suppress deprication warnings in mediawiki? For e.g. I am getting this message at the top of some of the pages on my personal wiki site.

Deprecated: Use of MWNamespace::getSubject was deprecated in MediaWiki 1.34. [Called from Scribunto_LuaSiteLibrary::register in /var/www/html/w/extensions/Scribunto/includes/engines/LuaCommon/SiteLibrary.php at line 58] in /var/www/html/w/includes/debug/MWDebug.php on line 375

You can see an example here...

http://training.shantanuoak.com:8080/wiki/%E0%A4%AE%E0%A4%BE%E0%A4%B0%E0%A5%8D%E0%A4%95_%E0%A4%AC%E0%A5%87%E0%A4%A8%E0%A5%8D%E0%A4%B8%E0%A4%A8

I am not sure if this is php issue or mediawiki problem.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

At the bottom of LocalSettings.php:

$wgShowDebug = false;
$wgDevelopmentWarnings = false;

If you want to keep debug messages around, just not the deprecation ones:

$wgDeprecationReleaseLimit = '1.0';

Also, upgrading MediaWiki and extensions helps with problems sometimes😃

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!