Last modified: 2011-03-13 18:05:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11085 - Temporary solution to solve preview issue
Temporary solution to solve preview issue
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-27 19:59 UTC by Sergey Chernyshev
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments

Description Sergey Chernyshev 2007-08-27 19:59:15 UTC
I think a temporary solution to provide a user with the means to go back to editing using a form after (s)he clicked preview would be to create a patch to MediaWiki preview page to contain a button "edit with form X" that will post contents of the edit box (full wiki-text created by SemanticForms) to http://www.example.com/Special:AddPage/Form:X/PageName

This will require two things:
1. a patch to MediaWiki that adds a button.
2. addition for SemanticForms to accept preload not only from the page defined from "preload" url attribute, but from the POST value as well.
Comment 1 Aaron Schulz 2007-08-31 09:01:58 UTC
I have no idea what this bug is about...
Comment 2 Rob Church 2007-08-31 10:19:50 UTC
(In reply to comment #1)
> I have no idea what this bug is about...

I would imagine, like the summary says, and as the product/component imply, it's a proposed workaround to address some bug or undesirable behaviour caused by an interaction between an extension and page previews.
Comment 3 Aaron Schulz 2007-08-31 10:23:53 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > I have no idea what this bug is about...
> 
> I would imagine, like the summary says, and as the product/component imply,
> it's a proposed workaround to address some bug or undesirable behaviour caused
> by an interaction between an extension and page previews.
> 

Yes, but what bug?
Comment 4 Yaron Koren 2007-08-31 14:31:13 UTC
It's a proposed addition to the Semantic Forms extension (http://www.mediawiki.org/wiki/Extension:Semantic_Forms). The "patch" that Sergey is talking about would be a piece of code that every admin who wanted the feature would be required to add manually to MediaWiki; it's not something that we would want to actually include in MediaWiki.
Comment 5 Sergey Chernyshev 2007-09-18 21:45:27 UTC
Or this could be made into the hook so editing and previewing pages would be more modifiable - then Semantic Forms extension could use this hook instead of using a patch.

Are there any plans for hooks for editing an previewing pages?
Comment 6 Yaron Koren 2008-09-19 21:27:26 UTC
Changing this year-old code suggestion to "WONTFIX" - the code has changed substantially since then, and there's now a plan in place to get the form-in-preview-page feature working in the right way.

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


Navigation
Links