If you are after doing something when those functions are called, and
you have a newish version of MediaWiki, you can use hooks, which as
the name suggests, cause a function (or functions) to be run when
certain actions are performed. The actual functions will be those
called when valid POST data is detected following the edit form
submission; these should, if I remember correctly, be in
Article.php...
As to parsing, it depends. The text undergoes a pre-parse before it is
saved, which embeds SUBSTed templates, signatures, etc. and is then
stored as wikitext within the database. When it is retrieved from the
database for display, the Parser object is used once more, and turns
it all into XHTML, then passes it to a few more functions (mostly to
tidy things up) before dumping it on the browser.
You might consider searching on
http://meta.wikimedia.org and
http://www.mediawiki.org for more information; the code for MediaWiki
also contains some comments, and I know the
MediaWiki.org web site
contains a link to auto-generated documentation for developers.
Rob Church
On 11/11/05, Amruta Lonkar <amrutasl(a)gmail.com> wrote:
Dear all,
I am trying to locate which functions get called when a user clicks
save/preview buttons when in the edit mode?. I also am trying to figure out
where and when the text in the edit box gets parsed. Appreciate any help.
Thanks
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l