Last modified: 2014-10-12 10:04:08 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 T71902, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69902 - Edit loss when used with Wikieditor
Edit loss when used with Wikieditor
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-22 14:33 UTC by Grégoire
Modified: 2014-10-12 10:04 UTC (History)
2 users (show)

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


Attachments

Description Grégoire 2014-08-22 14:33:09 UTC
This is a bit specific, so I don't know how easy it will be to reproduce.
I installed a wiki with both Semantic Forms and WikiEditor enabled.

The main page contains a input box to create a new page using a form and a template:

{{#forminput:form=Recept|button text=Skapa recept|placeholder=Vad heter ditt recept?}}

If I do the following:
- click to edit the page
- click on the "Preview" tab in the WikiEditor
- click publish

Then instead of seeing the edited page, I see a page titled "Add a page through a form", just as if I clicked on the forminput button. And my edits are not saved.



I have found that after enabling short urls the problem disappeared. I'm suspecting semantic for to hijack the POST request from wikieditor request.
Comment 1 Derk-Jan Hartman 2014-08-22 18:30:51 UTC
I can perhaps help if you can show me a public spot that has the same problems (be it your SMW wiki or someone else's)
Comment 2 Grégoire 2014-08-25 19:15:57 UTC
Hi,

Thanks for your answer. I managed to reproduce the issue on a freshly installed mediawiki.

- Go to http://wiki.zjyto.net/w/index.php?title=Bug
- Click Edit
- Click Preview
- Click publish (top right and then again in the popup)

After that, the url is what is expected http://wiki.zjyto.net/w/index.php?title=Bug&action=submit but the page content is wrong: (Special page) Start of form
Comment 3 Grégoire 2014-10-12 10:04:08 UTC
I realised yesterday that the url in my previous comment was not properly setup in DNS. This should be fixed now.

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


Navigation
Links