Ticket #870 (new defect)
MediaWiki 1.23.10
Reported by: | chris | Owned by: | chris |
---|---|---|---|
Priority: | minor | Milestone: | Maintenance |
Component: | Mediawiki | Keywords: | |
Cc: | ade | Estimated Number of Hours: | 0.0 |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 1.45 |
Description
The announcement contains:
Bug Fixes in 1.23.10
- (bug 67644) Make AutoLoaderTest handle namespaces
- (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
- (T102562) Fix InstantCommons parameters to handle the new HTTPS-only policy of Wikimedia Commons.
Change History
comment:1 Changed 15 months ago by chris
- Add Hours to Ticket changed from 0.0 to 0.53
- Total Hours changed from 0.0 to 0.53
comment:2 Changed 15 months ago by chris
- Add Hours to Ticket changed from 0.0 to 0.1
- Total Hours changed from 0.53 to 0.63
Getting a new copy of the VisualEditor extension as per https://www.mediawiki.org/wiki/Extension:VisualEditor#Download from https://www.mediawiki.org/wiki/Special:ExtensionDistributor/VisualEditor
cd /web/wiki.transitionnetwork.org/www/extensions wget https://extdist.wmflabs.org/dist/extensions/VisualEditor-REL1_23-9883566.tar.gz 2015-08-24 14:12:39 ERROR 404: Not Found.
Asking about this issue in ircs://irc.freenode.org/mediawiki-visualeditor ...
comment:3 Changed 15 months ago by chris
Got help in the IRC channel... and a ticket has been created https://phabricator.wikimedia.org/T110031
wget https://github.com/wikimedia/mediawiki-extensions-VisualEditor/archive/9883566.zip unzip 9883566.zip mv VisualEditor VisualEditor.old mv mediawiki-extensions-VisualEditor-98835665dc8bb994c03cf173701d2ae91191d473 VisualEditor
However now I don't even get the loading animation when testing at https://wiki.transitionnetwork.org/index.php?title=Sandbox&veaction=edit and there is no evidence of a connection in the Parsiod logs...
comment:4 Changed 15 months ago by chris
- Add Hours to Ticket changed from 0.0 to 0.82
- Total Hours changed from 0.63 to 1.45
Rather then spening a lot of time trying to get the LTS version of MediaWiki working with the VisualEditor I'm going to install the latest stable version, 1.25.2 and see if that solves the issue:
sudo -i cd /web/wiki.transitionnetwork.org export MW="1.25.2" wget https://releases.wikimedia.org/mediawiki/1.25/mediawiki-$MW.tar.gz -O mediawiki-$MW.tar.gz wget https://releases.wikimedia.org/mediawiki/1.25/mediawiki-$MW.tar.gz.sig -O mediawiki-$MW.tar.gz.sig gpg --verify mediawiki-$MW.tar.gz.sig gpg: Signature made Mon Aug 10 22:27:49 2015 BST using RSA key ID 23107F8A gpg: Good signature from "Chad Horohoe <chad@wikimedia.org>" gpg: aka "keybase.io/demon <demon@keybase.io>" gpg: aka "Chad Horohoe (Personal e-mail) <innocentkiller@gmail.com>" gpg: aka "Chad Horohoe (Alias for existing email) <chadh@wikimedia.org>" gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 41B2 ABE8 17AD D3E5 2BDA 946F 72BC 1C5D 2310 7F8A tar -zxvf mediawiki-$MW.tar.gz rsync -av mediawiki-$MW/ www/ chown root:root -R www/ chown -R www-data:www-data www/cache/ chown -R www-data:www-data www/images/ cd www/maintenance/ php update.php
The the following was added to LocalSettings.php:
# MediaWiki 1.24 and newer no longer automatically enables installed skins (see # https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery # You can paste the following lines into LocalSettings.php to enable all currently installed skins: wfLoadSkin( 'CologneBlue' ); wfLoadSkin( 'Modern' ); wfLoadSkin( 'MonoBook' ); wfLoadSkin( 'Vector' );
A new version of the VisualEditor was downloaded via Download MediaWiki extension:
cd extensions/ rm -rf VisualEditor wget "https://extdist.wmflabs.org/dist/extensions/VisualEditor-REL1_25-c947b49.tar.gz" tar -zxvf VisualEditor-REL1_25-c947b49.tar.gz
However the VisualEditor edit link didn't appear, reading the docs and discussion I realised there is a dependency:
cd extensions/ wget https://extdist.wmflabs.org/dist/extensions/UniversalLanguageSelector-REL1_25-7661826.tar.gz tar -zxvf UniversalLanguageSelector-REL1_25-7661826.tar.gz
And the following was added to LocalSettings.php:
# https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector#Installation require_once "$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php";
However the VisualEditor is still not working, given the fact that the wiki site isn't used all that much I'm not sure if I should spend any more time on this?
Following the notes at wiki:MediaWiki#Updates
And the server has updated, see https://wiki.transitionnetwork.org/Special:Version however the VisualEditor has stopped working I can't haven't been able to work out why yet...