On 31 Mar 2005, at 17:40, Jamie Bliss wrote:
You mean JUST the wikitax rendered?
Well, I have an existing gallery system that is very simple. It sets up some state. It includes a header. It outputs some stuff. It includes a footer. (Details at the URL at the end of this message.)
I'd like to have just the rendered wikitext come out in between the header and footer, with the ability to open the door and have the whole wiki working.
A session variable ($session('admin') != '') would then allow full wiki access, with WHATEVER look-n-feel. The important part is that the non-admin look-n-feel be supplied solely via the header/footer files.
Does that make more sense?
On Thu, 31 Mar 2005 12:40:04 -0800, Jan Steinman Jan@bytesmiths.com wrote:
Okay, I've gotten pretty good at hacking away at MediaWiki, and could probably find a way to do this, but I'm looking for the BEST way! Especially the way that will require the least pain in future releases.
I want a totally "nude" article page, without discuss/edit/history/move and ALL the other links, and no background. This will be dropped into a table, which will contain a page header (which sets the background), its own links down the side, and a page footer.
I looked around at the skins, and thought, "I need to start with the simplest skin," but MySkin.php is essentially empty. Should I copy this, and start overriding methods that provide non-article content with NOPs? Or is there a better way to get just the article text?
Thanks in advance for all the hints and tips that I'm sure are coming! :-)
:::: I will not be as those who spend the day in complaining of headache, and the night in drinking the wine that gives it. -- Göthe :::: Jan Steinman http://www.Bytesmiths.com/Van
:::: He who joyfully marches to music in rank and file has already earned my contempt. He has been given a large brain by mistake, since for him the spinal cord would fully suffice. -- Albert Einstein :::: Jan Steinman http://www.bytesmiths.com/Services/byGallery.html