Last modified: 2011-03-13 18:05:32 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 T13085, the corresponding Phabricator task for complete and up-to-date bug report information.
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