The Official Facebook Page of The Islamic Counterterrorism Institute
بسم الله الرحمن الرحيم
أهلا وسهلا بكم في المؤسسة الإسلامية لمكافحة الإرهاب™
Welcome to The Islamic Counterterrorism Institute™ (ICI)

MediaWiki Admin Notes

From The Islamic Counterterrorism Institute
(Redirected from Admin notes)
Jump to: navigation, search

MediaWiki Version

MediaWiki User's Guide

MediaWiki FAQ

MediaWiki Tutorials

MediaWiki Maintenance

Upgrading MediaWiki

MediaWiki Sitemap

  • Go to the maintenance directory and run: php generateSitemap.php --help

MediaWiki Access Rights and Access Control

  • To prevent editing MediaWiki by anonymous users: In LocalSetting.php, set $wgGroupPermissions['*']['edit'] = false;

Installing the MediaWiki Edittools

  1. Go to and edit
  2. Copy the content of the page
  3. Go to MediaWiki:Edittools in your own MediaWiki installation
  4. Paste and save the content you has just copied from

  • To change the MediaWiki default logo: In LocalSetting, set:
 $wgLogo = "/images/arcs/";

MediaWiki Magic Words

  • Hide the table of content (TOC) for a specific page: Place the magic word __NOTOC__ into the page markup.

External Images

Access Management

How do I remove a tab on all MediaWiki pages

  • To prevent access to the History tab, in the MediaWiki:Arcs.css page add:
 #ca-history { display:none!important; }

MediaWiki Help Pages

MediaWiki Categorization

MediaWiki Manual Pages

Manual:Errors and Symptoms

MediaWiki Installation Special Pages

Navigation Sidebar

Site Notice


MediaWiki Default Navigation Sidebar Items

  • navigation
    • mainpage|mainpage
    • portal-url|portal
    • currentevents-url|currentevents
    • recentchanges-url|recentchanges
    • randompage-url|randompage
    • helppage|help
    • sitesupport-url|sitesupport

MediaWiki Extensions

MediaWiki Extensions Category

MediaWiki Extensions Matrix

Mass-delete MediaWiki Pages

MediaWiki Bulk Page Creator

Wordpress Comments to MediaWiki

Include RSS Feeds in MediaWiki

MediaWiki ReCAPTCHA Extensions

Semantic MediaWiki

MediaWiki Special Delete Old Revisions

Add Secure HTML to MediaWiki

Add Secure PHP to MediaWiki

JS-Kit Ratings & JS-Kit Score for MediaWiki

Provides integration with JS-Kit Ratings and JS-Kit Score AJAX based social rating/scoring tools.

MediaWiki Extensions by Jean-Lou Dupont

MediaWiki Troubleshooting

MediaWiki Loss of Session Data

You get the message: "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in."

Assuming you get this error even when you do have a seemingly valid logon session:

    Check to see if your session.save_path value in php.ini is valid and writable to the webserver - PHP configuration.

After making changes restart Apache:

    /etc/init.d/httpd restart

How Can I Disable MediaWiki Caching?

To disable all forms of MediaWiki caching, add the following lines to LocalSetting.php:

<source lang="php"> $wgMessageCacheType = CACHE_NONE; $wgParserCacheType = CACHE_NONE; $wgCachePages = false; $wgMainCacheType = CACHE_NONE; </source>

How Can I Speed-up MediaWiki?

MediaWiki is slow, how can I make it faster?

  • First you should try installing a free PHP cache engine such as eAccelerator or APC (after installing, modify your $wgMainCacheType accordingly). The engine will save the parsed PHP scripts and enhance performance a lot (this is something you should use anyway on any PHP installation with non-trivial traffic). Proprietary Zend Platform also contains a bytecode cache, however its "dynamic content caching" is not supported in MediaWiki at the current time.
  • Use Squid or MediaWiki's native file cache ($wgUseFileCache = true) to cache whole pages
  • Memcached will provide some performance benefit, especially for heavily viewed sites. See also the cache section of the configuration settings.
  • See the Reduction section of the configuration setting.
  • See the $wgUseDatabaseMessages setting.
  • Switching the MySQL table type to MyISAM may be faster for single-user wikis on lower-end computers. See also: MySQL Storage Comparison.
  • Disable ImageMagick in LocalSettings.php $wgUseImageMagick, though this will cause reduced thumbnail quality. ImageMagick imposes a performance penalty during various page views and edits and can slow down bulk uploads.
  • For a heavy concurrent write load, InnoDB is essential. Set $wgAntiLockFlags = ALF_NO_LINK_LOCK | ALF_NO_BLOCK_LOCK to reduce lock contention, at the expense of introducing occasional inconsistencies. Use memcached not the default MySQL-based objectcache.

Mediawiki Database Schema

MediaWiki Scripts

Related MediaWiki Topics

MediaWiki Tags

admin notes, mediawiki, wikimedia, extensions, special pages, recaptcha, xfeed, rss, wordpress, sessions, manual, faq, troubleshooting