Extension:PageSecurity/Upgrade instructions

From MediaWiki.org

Jump to: navigation, search

Contents

[edit] 1.1.2 to 1.1.3

The only difference between these versions is that 1.1.2 was published with patches for MediaWiki 1.9.1 and 1.1.3 has patches for MediaWiki 1.9.2.

The extension source code and database structure are the same.

Upgrade instructions:

  1. Upgrade your wiki from 1.9.1 to 1.9.2.
  2. Download the source code and save it as PageSecurity.php in the extensions directory of your wiki.
    This step is not really required, but it is recommended so the correct extension version will be shown.
  3. Patch the following MediaWiki files:
    1. Export.php
    2. MonoBook.php
    3. OutputPage.php
    4. Revision.php
    5. SpecialSearch.php

[edit] 1.1.1 to 1.1.2

Just replace PageSecurity.php.

[edit] 1.1.0 to 1.1.1

The only difference between these versions is that 1.1.0 was published with patches for MediaWiki 1.8.2 and 1.1.1 has patches for MediaWiki 1.9.1.

The extension source code and database structure are the same.

Upgrade instructions:

  1. Upgrade your wiki from 1.8.2 to 1.9.1.
  2. Download the source code and save it as PageSecurity.php in the extensions directory of your wiki.
    This step is not really required, but it is recommended so the correct extension version will be shown.
  3. Patch the following MediaWiki files:
    1. Export.php
    2. MonoBook.php
    3. OutputPage.php
    4. Revision.php
    5. SpecialSearch.php

[edit] 1.0.0 to 1.1.0

1. Execute this command on the MySQL database. Be sure to execute it on the correct wiki database.

ALTER TABLE `security_definitions` 
ADD COLUMN `security_definition_logo` VARCHAR(255) 
AFTER `security_definition_notice`;

2. Update the file Extension:PageSecurity/PageSecurity.php.

3. The patches don't need to be updated.

Personal tools