Last modified: 2014-01-13 16:54:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60966, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58966 - Edit button not working - empty /lib folder after downloading VE extension
Edit button not working - empty /lib folder after downloading VE extension
Status: RESOLVED INVALID
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
PC Linux
: Unprioritized normal
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-25 20:08 UTC by Mc128k
Modified: 2014-01-13 16:54 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screen shot of console errors (198.47 KB, image/png)
2014-01-13 16:08 UTC, Mc128k
Details

Description Mc128k 2013-12-25 20:08:48 UTC
I know this could be my fault, but I checked everything and it looks like it's a bug. Please correct me if I am wrong.

Whenever I click the edit button the webpage does nothing. I see from the javascript debugger that the code stops at this line:

return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ? jQuery.event.dispatch.apply(eventHandle.elem, arguments) : undefined;

Any clues?

I checked parsoid, tried creating a new settings file with minimal options, upgraded to latest trunk version both core and visualeditor.
Comment 1 Andre Klapper 2013-12-25 20:09:54 UTC
Any link to reproduce the problem? Which browser(s) does this happen with?
Comment 2 Mc128k 2013-12-26 01:07:48 UTC
It’s a private wiki, but VE should work even with readonly access (at least it worked before) by entering ?veaction=edit at the end of the URL. I tried firefox and Safari for Mac.

This worked and now it doesn’t: http://wiki.mc128k.info/index.php?title=Test&veaction=edit

I also noticed that if I click edit from the read tab it does nothing, if I click edit from the edit source tab it changes the URL, but nothing again.

Thanks.
Comment 3 Mc128k 2013-12-28 23:35:11 UTC
I tried installing a clean mediawiki with only VE with a local sqlite database. Same issue, not even picked my config file, made one new.
Comment 4 Mc128k 2013-12-30 22:39:10 UTC
Adding more infos: debugging shows many 404 errors, and the lib/ve/ folder is empty. Something went very wrong with some git merge I think.
Comment 5 Sumana Harihareswara 2014-01-13 16:07:13 UTC
Mc128k in #mediawiki just now confirmed that s/he has tried upgrading to the latest git master of VE and the bug still occurs.
Comment 6 Mc128k 2014-01-13 16:08:19 UTC
Created attachment 14298 [details]
Screen shot of console errors
Comment 7 Andre Klapper 2014-01-13 16:15:12 UTC
Is there anything relevant in the Apache error log (could be folder/file access permissions)? Or in the debug log (see https://www.mediawiki.org/wiki/Manual:How_to_debug#Setting_up_a_debug_log_file )?
Comment 8 Mc128k 2014-01-13 16:16:18 UTC
When you download the VE extension, the lib folder is empty. (well, only an empty subfolder). This is the cause.
Comment 9 Roan Kattouw 2014-01-13 16:54:51 UTC
(In reply to comment #8)
> When you download the VE extension, the lib folder is empty. (well, only an
> empty subfolder). This is the cause.
The empty folder is a submodule. Run 'git submodule update --init' to download it, and 'git submodule update' to update it after running git pull.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links