I am trying to build a "spartan" version of index.html which will ONLY do one thing: Display a page given a title.
This should be really short, something like:
GetBodyContent ($title, $mw_body_content)l
I know that won't have all the right divs and such, but it explains what I'm looking for.
If I understand the mediawiki architecture properly, each page goes from raw (user submitted) wikitext to "expanded" (substituted) wikitext, and thence to actual (x)html. I believe this "core page image" html is stored in the database somewhere (I'm guessing somewhere in "text", but I don't know)
Obviously, index.php is the entry point, but the query that actually results in html is hidden deep under the skins and WikiPage (I think) and I'm stuck.
1) What is the correct name of the function or functions I am looking for (GetBodyContent is probably wrong)
2) What file are they in?