Extension:PageSecurity/Patch instructions

Some MediaWiki programs need to be patched for the PageSecurity extension. There are two ways to apply the patches:
 * 1) Blind trust: Download each patched file and save it over the corresponding file of your MediaWiki installation.
 * 2) Cautious: Download the patched files to a temporary directory. Use the diff utility to create a patch. Review the patch and apply it over your MediaWiki installation with the patch utility.

If you use Security-Enhanced Linux, see this note.

Select the patches according to your version of the MediaWiki software:

Patches for MediaWiki 1.8.2

 * 1) Export.php
 * 2) MonoBook.php
 * 3) OutputPage.php
 * 4) Revision.php
 * 5) SpecialSearch.php

Patches for MediaWiki 1.9.1

 * 1) Export.php
 * 2) MonoBook.php
 * 3) OutputPage.php
 * 4) Revision.php
 * 5) SpecialSearch.php

Patches for MediaWiki 1.9.2

 * 1) Export.php
 * 2) MonoBook.php
 * 3) OutputPage.php
 * 4) Revision.php
 * 5) SpecialSearch.php

Patches for MediaWiki 1.9.3

 * 1) Export.php
 * 2) MonoBook.php
 * 3) OutputPage.php
 * 4) Revision.php
 * 5) SpecialSearch.php

Patches for MediaWiki 1.18.1
Using this extension with 1.18.1 requires a patch to the extension as well. This patch is not made by the maintainer of the extension, just someone who needed to use it.
 * 1) Export.php
 * 2) MonoBook.php
 * 3) OutPage.php
 * 4) Revision.php
 * 5) SpecialSearch.php
 * 6) PageSecurity.php