Upgrade to 1.19

From Devel_wiki
Jump to: navigation, search

Plan

  • Verify that all backups work - Ok.
  • Configure admin-user for wikis with database on mimas - OK.
  • For all Wikis:
    • Add die() to all wiki files - Ok.
  • Update all extensions (see below) - Ok.
  • For all Wikis:
    • Disable RestAuth extension everywhere
    • Execute update script
    • Enable RestAuth extension
    • Remove die() statement from LocalSettings.php files

3rd-Party extensions

CategoryTree

Status: Remove.

Password Reset

Status: Remove.

PdfExport

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/PdfExport.git

LocalSettings.php:

# PDFexport:
require_once("$IP/extensions/PdfExport/PdfExport.php");
$wgPdfExportHtmlDocPath = '/usr/bin/htmldoc';

Also do:

apt-get install htmldoc

Renameuser

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Renameuser.git
  • Change require_once statement: Include Renameuser.php instead of SpecialRenameuser.php

SimpleAntiSpam

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SimpleAntiSpam.git

CommentSpammer

User Merge and Delete

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/UserMerge.git

Cite

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Cite.git

ImageMap

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/ImageMap.git

InputBox

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/InputBox.git

ParserFunctions

Status: Remove

RegexParserFunctions

Status: Remove.

SyntaxHighlight

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SyntaxHighlight_GeSHi.git

DynamicPageList

svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/DynamicPageList/

LabeledSectionTransclusion

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/LabeledSectionTransclusion.git
  • I think its no longer used.

Status: Try to remove.

Self-developed extensions

AddResource

  • Do a git pull to get it working

CreatePage

  • Works.
  • Do a git pull to update links to TISS instead of TUWIS

Resources

  • Works, with git pull to new version.

SimilarNamedArticles

  • works

ToHTML

  • Works

CustomNavBlocks

  • Works.

ExternalRedirects

  • Works.

FuckInternetExplorer

  • Works.

ManipulateUpload

  • Deprecated. Remove this extension.

NewArticleTemplate

  • Works.

RestAuth

TODO
  • MediaWiki provides a PasswordReset special-page. We should hook into that, if possible.
  • Save groups to RestAuth

SimilarNamedArticlesHeader

  • works