Ticket #455 (closed maintenance: fixed)

Opened 4 years ago

Last modified 4 years ago

Upgrade to Mediawiki 1.20

Reported by: chris Owned by: chris
Priority: major Milestone:
Component: Mediawiki Keywords:
Cc: ed Estimated Number of Hours: 0.5
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.82

Description (last modified by chris) (diff)

Announcement here http://lists.wikimedia.org/pipermail/mediawiki-announce/2012-November/000120.html

MediaWiki 1.20 is a large release that contains many new features and
bug fixes. This is a summary of the major changes of interest to users.
You can consult the RELEASE-NOTES-1.20 file for the full list of changes
in this version.

* Minimum PHP version is now 5.3.2.

This isn't a problem on quince:

php -v
PHP 5.3.3-7+squeeze14 with Suhosin-Patch (cli) (built: Aug  6 2012 14:18:06) 

But kiwi is running an older version of PHP:

php -v
PHP 5.3.17-1~dotdeb.0 with Suhosin-Patch (cli) (built: Sep 14 2012 11:40:39) 

The switch to dotdeb packages was done when PHP-FPM was installed to run with nginx on kiwi, see ticket:357#comment:5. Dotdeb has two versions of PHP available, PHP 5.4.8 and PHP 5.3.18, see http://www.dotdeb.org/2012/10/19/php-5-4-8-and-php-5-3-18/

So some general debian upgrades will need to be done via ticket:218 before this ticked can be acted on, specifically to update kiwi from PHP 5.3.17 to PHP 5.4.8 or perhaps back to the debian stable version.

Change History

comment:1 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.2
  • Total Hours changed from 0.0 to 0.2

comment:2 Changed 4 years ago by ed

will this resolve the problem with the WYSYWYG editor which keeps on stripping out the links? (I know there's another ticket on this but it's 07:00 and I have to run for a train and all the links just got lost after saving again)... https://wiki.transitionnetwork.org/Sharing_Engine

comment:3 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.1
  • Total Hours changed from 0.2 to 0.3

Sorry about that, I thought I had fixed the WYSYWYG by upgrading to the latest version and I closed ticket:432.

Looking at the diff of your edit I can't see what you were trying to change? Is it OK to simply roll this page back?

Some more time needs to be spent on the WYSIWYG editor, I've reopened ticket:432.

comment:4 Changed 4 years ago by ed

confirmed - roll it back for now and i'll re-add the stuff. the problem seems to be all the links being re-presented in code rather than as links.

comment:5 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.2
  • Total Hours changed from 0.3 to 0.5

I have rolled it back and will follow up on ticket:432


One other option for the mediawiki upgrade is to stick with 1.19 and perhaps switch to the debian wheezy packaged version if it's in backports and doesn't pull in too many packages from unstable -- it is going to stay at 1.19 for a long time and just have security updates -- we don't need all the latest bells and whistles, we need something solid and stable:

=== Long Term Support ===

We're working closely with Linux distributors to make sure that the
MediaWiki bundled in Linux is something that we feel more comfortable
supporting.  In this vein, MediaWiki 1.19 is being targeted for "long
term support".  Since Debian (the Linux distribution with the longest
release cycle) has a two year cycle between each freeze and we've
gotten MediaWiki 1.19 into Wheezy, we'll support MW 1.19 for the next
two years.  (Thank you especially to MediaWiki developer Platonides
for his help in working with the Debian developers.)


comment:6 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.2
  • Total Hours changed from 0.5 to 0.7

Mediawiki 1.19 isn't in debian backports but it's available from testing, http://packages.debian.org/wheezy/mediawiki so my suggestion is that we:

  1. Try to use the debian packaged version of mediawiki 1.19 on the new wiki:PuffinServer when it's is built as this would reduce ongoing maintenance and upgrades and we don't need cutting edge features.
  1. If we can't do 1. then still consider sticking with 1.19 as long as it's supported with the aim of switching the the debian version when we can.

Does that sound like a plan?

comment:7 Changed 4 years ago by ed

Proposal sounds fine by me; no need for cutting edge, just basic links, headings, text editing required.

comment:8 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.12
  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)
  • Total Hours changed from 0.7 to 0.82

Using the wheezy version on squeeze was going to have the potential to create a bit of a mess package wise so the site is running the long term support version 1.19.3 from http://mediawiki.org/ see wiki:PenguinServer#wiki.transitionnetwork.org

Note: See TracTickets for help on using tickets.