https://bugzilla.wikimedia.org/show_bug.cgi?id=60905
Web browser: ---
Bug ID: 60905
Summary: Enabling visualeditor does not result in usable
visualeditor
Product: MediaWiki-Vagrant
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Steps to reproduce:
#1 $ vagrant enable-role visualeditor
Ok. Run 'vagrant provision' to apply your changes.
#2 $ vagrant list-roles
Available roles:
analytics
antispam
apisandbox
betafeatures
browsertests
chromium
cirrussearch
cldr
codeeditor
commonsmetadata
echo
education
eventlogging
fundraising
gadgets
geodata
geshi
gettingstarted
guidedtour
hadoop
hhvm
hive
massmessage
math
mathsearch
mleb
mobilefrontend
multimedia
multimediaviewer
navigationtiming
oauth
parserfunctions
pdfhandler
proofreadpage
remote_debug
scribunto
timedmediahandler
uploadwizard
* visualeditor
wikieditor
wikimetrics
xhprof
Roles marked with '*' are enabled.
Use "vagrant enable-role" & "vagrant disable-role" to customize.
#3 $ vagrant provision
[default] Running provisioner: puppet...
Running Puppet with site.pp...
info: Applying configuration version '1391614793.16f99ad'
info: mount[files]: allowing mediawiki-vagrant access
notice: /Stage[main]/Mediawiki::Parsoid/Package[nodejs]/ensure: ensure changed
'purged' to '0.8.2-1chl1~precise1'
notice: /Stage[main]/Mediawiki::Parsoid/File[/etc/init/parsoid.conf]/ensure:
created
notice:
/Stage[main]/Mediawiki::Parsoid/Git::Clone[mediawiki/services/parsoid/deploy]/Exec[git
clone mediawiki/services/parsoid/deploy]/returns: executed successfully
notice: /Stage[main]/Mediawiki::Parsoid/File[localsettings.js]/ensure: defined
content as '{md5}11ba3cfc1124f11f4a507a56cc70d34c'
info: /Stage[main]/Mediawiki::Parsoid/File[localsettings.js]: Scheduling
refresh of Service[parsoid]
notice: /Stage[main]/Mediawiki::Parsoid/Service[parsoid]/ensure: ensure changed
'stopped' to 'running'
notice: /Stage[main]/Mediawiki::Parsoid/Service[parsoid]: Triggered 'refresh'
from 1 events
notice:
/Stage[main]/Role::Visualeditor/Mediawiki::Extension[VisualEditor]/Git::Clone[mediawiki/extensions/VisualEditor]/Exec[git
clone mediawiki/extensions/VisualEditor]/returns: executed successfully
notice:
/Stage[main]/Role::Visualeditor/Mediawiki::Extension[VisualEditor]/Mediawiki::Settings[VisualEditor]/File[/vagrant/settings.d/puppet-managed/10-VisualEditor.php]/ensure:
created
notice: Finished catalog run in 587.81 seconds
#4 Go to http://127.0.0.1:8080/wiki/Main_Page
#5 Error page is displayed:
MediaWiki 1.23wmf2 required--this is only 1.22alpha
Backtrace:
#0 /vagrant/mediawiki/extensions/VisualEditor/VisualEditor.hooks.php(23):
wfUseMW('1.23wmf2')
#1 [internal function]: VisualEditorHooks::onSetup()
#2 /vagrant/mediawiki/includes/Setup.php(569):
call_user_func('VisualEditorHoo...')
#3 /vagrant/mediawiki/includes/WebStart.php(161):
require_once('/vagrant/mediaw...')
#4 /vagrant/mediawiki/index.php(55): require('/vagrant/mediaw...')
#5 {main}
#6 Looks like mediawiki-vagrant uses an old version of mediawiki (1.22alpha)
and visualeditor needs version 1.23wmf2
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l