Jordi,
I set up form-based input to work with MediaWiki--login sequence over
several screens including a survey and a form so users can type just
the content but the result is a wiki page with links and back-links.
I found the model used in SpecialUserLogin (which leverages a
template in /includes/templates) to be the easiest one to work with.
Just model the constructor, the execute() function and the LoginForm
() function--you can really ignore all the rest.
Hope this helps.
Con Rodi
Center for Human-Computer Interaction
Virginia Tech
On May 10, 2005, at 8:36 PM, Jamie Bliss wrote:
On 5/9/05, Jordi Domingo <jordidr(a)gmail.com>
wrote:
Hi, I have modified the editpage.php to present
different things when
you edit (screen 1-->screen 2-->screen 3).
I've not "chained" between themselves: the problem is that it seems
that when I submit, doesn't know it: using wgout to see state of vars
I see always the formtype is initial (before I did this
"multiple-edit", it went well; maybe it's impossible this
"multiple-edit").
I am looking for a debugger for php and so see what's going on, but I
don't know any (I will try gubed). Hoewever, if you know multiple
edit
(that is, the editpage.php shows things depending of
$current_screen...and by the way, the value is not modified also, so
it's the form and the vars, just seems that the recall to edit
doesn't
remember the globals)
In short:
does editpage.php remember global values when call again to
editform()?
Yes, but not between requests.
The hidden-input should have worked. You may also want to try
special actions.
-- Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l