Ticket #230 (closed maintenance: fixed)

Opened 6 years ago

Last modified 5 years ago

Mediawiki Upgrades

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

Description

This is a ticket to keep track of upgrades to Mediawiki on.

Change History

comment:1 Changed 6 years ago by chris

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

The upgrade instructions are here: wiki:NewLiveServer#mediawiki

MediaWiki security release 1.16.2 upgrade, this was first tested on the wiki:DevelopmentServer and then the wiki:NewLiveServer :

# mediawiki-upgrade 1.16.2
  Mediawiki upgraded to 1.16.2
  Updating SyntaxHighlight_GeSHi
  At revision 81381.
  Updating SpamBlacklist
  At revision 81381.
  Updating FCKeditor
  U    FCKeditorEditPage.body.php
  U    FCKeditor.php
  U    FCKeditor.body.php
  U    FCKeditor.i18n.php
  U   .
  Updated to revision 81381.
  Mediawiki extensions, FCKeditor upgraded to versions from http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/extensions/

comment:2 Changed 6 years ago by chris

  • Type changed from task to maintenance
  • Component changed from Drupal modules & settings to Mediawiki

comment:3 Changed 5 years ago by ed

anything needing to be done on this?

comment:4 Changed 5 years ago by chris

  • Milestone set to Phase 4

There is a new version due out soon:

http://www.mediawiki.org/wiki/Release_notes/1.17

And I'm a bit behind version wise, we are running 1.16.2:

http://wiki.transitionnetwork.org/Special:Version

And the latest stable is 1.16.5 so I do need to do a few mins work on this:

http://www.mediawiki.org/wiki/Download

comment:5 Changed 5 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 1.0
  • Total Hours changed from 0.5 to 1.5

MediaWiki 1.17.0 released http://lists.wikimedia.org/pipermail/mediawiki-announce/2011-June/000101.html

The upgrade script worked OK:

mediawiki-upgrade 1.17.0

One change was needed to apache config, CSS is now served via load.php, load was added to this line:

  RewriteCond %{REQUEST_URI} !^/(index|redirect|api|opensearch_desc|profileinfo|redirect|thumb|trackback|load).php

And on the live server there was an error which was fixed with:

chown -R www-data:www-data cache

The default skin has also been switched to vector.

comment:6 Changed 5 years ago by ed

any thoughts on a WYSIWYG editor?

comment:7 Changed 5 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.1
  • Total Hours changed from 1.5 to 1.6

There is one installed (must have been done a while ago) and I have just checked it in both servers :-)

Click the 'Rich Editor' link at the top of the textarea, you can set editor preferences to load it on default or better disable it ;-)

comment:8 Changed 5 years ago by ed

sweet. now i can make it pretty. and maybe add pictures of cats ;)

comment:9 Changed 5 years ago by ed

anything to do here? move to phase 5? close maybe? haven't used the wiki much - definitely a low priority for now...

comment:10 Changed 5 years ago by chris

  • Milestone changed from Phase 4 to Phase 5

This ticket is for keeping track of the time to upgrade between Mediawiki versions, I wouldn't close it unless it's better tracked with one ticket per version upgrade?

I notice that the wiki is being spammed:

https://wiki.transitionnetwork.org/index.php?title=Special:RecentChanges&days=90

Cleaning it up and working out how to protect against this perhaps needs a ticket or this one could be used for that?

comment:11 Changed 5 years ago by chris

  • Status changed from new to accepted

comment:12 Changed 5 years ago by jim

My vote is to ensure its a) permitted access only to users which we pre-approve, or b) shut it down and move the pages to trac or the main site.

comment:13 Changed 5 years ago by ed

Agreed with Jim, and as discussed in our skype. Permitted access to pre-approved users only, and any approved user can add another.

We'll give the wiki evangelists a bit more time to use it...

comment:14 Changed 5 years ago by chris

I implemented this the other day and left a note about it on the front page:

https://wiki.transitionnetwork.org/Main_Page

See the ticket comment here: ticket:192#comment:2

comment:15 Changed 5 years ago by ed

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.