Page MenuHomePhabricator

Cancel link URL wrong (due to WYSIWYG extension)
Closed, InvalidPublic

Description

Author: bugzilla_wikimedia

Description:
When I create a new page or edit a current one, the cancel link points to

wiki.example.com/pagename
instead of
wiki.example.com/index.php/pagename

Setup:
Windows Server 2008
Apache 2.4.6
MediaWiki 1.21.2
PHP 5.5.4 (also tested with 5.4.20)

Site is setup to be
wiki.example.org
pages can be opened with
wiki.example.com/index.php/pagename

Is there any configuration I can change?

$wgScriptPath is empty

I've tried $wgArticlePath but there are no changes.


Version: 1.21.x
Severity: normal

Details

Reference
bz55875

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:15 AM
bzimport set Reference to bz55875.
bzimport added a subscriber: Unknown Object (MLST).

Can you provide a link to the wiki in question?

bugzilla_wikimedia wrote:

I'm sorry. After long testing I figured out that the WYSIWYG extension is causing this bug.

matthieu.riolo wrote:

Backported from the newest version

Hello everybody

We had the same problem and I was able to backport the fix from a newer version of the WYSIWYG extension. We are using:

MediaWiki 1.19.15
WYSIWYG: 1.5.6_0 [B551] without "further improvement" http://wiki.linuxmatter.com/esites/rk-000000010-ci/files//6/6b/WYSIWYG.zip

I think that this bug can occurr in different MediaWiki versions and the patch can be reused for them too. You can apply it with:
cd mediawiki/extensions/
patch -p0 -R < WYSIWYG-2014.6.25.patch

Best Regards, Matthieu Riolo

Attached: