Last modified: 2011-08-09 05:22:09 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 T32279, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30279 - Add hook to allow for pre-page-saving modification of data
Add hook to allow for pre-page-saving modification of data
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-08 22:35 UTC by Peter Ellis
Modified: 2011-08-09 05:22 UTC (History)
1 user (show)

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


Attachments
Proposed change diff file (2.28 KB, application/octet-stream)
2011-08-08 22:35 UTC, Peter Ellis
Details

Description Peter Ellis 2011-08-08 22:35:06 UTC
Created attachment 8898 [details]
Proposed change diff file

PNNL has added a hook in specials/SF_FormEdit.php for last-minute changes to form data prior to the redirect form being called.  This hook allows us to insert page content that enriches the page that couldn't otherwise be contained in a template (header tabs, other layout customizations).
Comment 1 Peter Ellis 2011-08-08 22:37:13 UTC
Note that the patch was made against a fresh downloaded copy of Semantic Forms 2.2.1.
Comment 2 Yaron Koren 2011-08-09 05:22:09 UTC
I'm always up for adding hooks in - I just added this code into SVN.

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


Navigation
Links