Joshua,
I've added additional form fields to the edit page. How can I go about
getting the values in those fields into my function if I use the hook?
Thanks,
Kevin
On Mon, Aug 18, 2008 at 11:53 AM, Joshua C. Lerner <jlerner(a)gmail.com>wrote;wrote:
On Mon, Aug 18, 2008 at 10:00 AM, Kevin Jones
<kevinaj(a)gmail.com> wrote:
I am trying to intercept page edits and send them
to a PHP page that will
make some modifications to the text and test to see if various conditions
have been satisfied.
I have changed the post action of the edit form to point to 'modify.php'.
I
also added another hidden form field with the
original action ($action)
as
it's value.
Probably a better way to handle this would be to use the ArticleSave hook:
http://www.mediawiki.org/wiki/Manual:Hooks/ArticleSave
Joshua
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l