Is the change you want to make a change to the text of the page, or to the underlying semantic data? If it's the latter, it's not a Semantic Forms issue, it's a Semantic MediaWiki issue - SF doesn't do any saving directly, it uses MediaWiki's page-saving mechanism.. Also, out of curiosity, what is the change that you want to make to the data? It might be possible to accomplish it without changes to the code.


On Sun, Oct 12, 2008 at 11:42 AM, xooguru <> wrote:

I'm very new to Semantic extensions for MediaWiki, and I am trying to
get my head around how the Semantic Forms code works.

I have created a standard form for users to add their data, but once the
data has been entered, I want to change it slightly before saving it to
the database. My plan is to create a simple parsing function in the PHP
code which makes the changes just before the new article is saved.

I may be missing the wood for the trees, but I cannot find the point at
which the posted data from the user form is retrieved, and a new article
is actually saved to the database. Does it use the standard MediaWiki
Acticle class? and if so where is this line of code in the Semantic
Forms code? Can anyone point me in the right direction?

Thank you for your help.



Thank you kindly,

Aaron Johnson


This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Semediawiki-devel mailing list