[pmwiki-users] disabling page markup

Hans design5 at softflow.co.uk
Thu Mar 8 05:08:04 CST 2007


Thursday, March 8, 2007, 10:19:12 AM, Seth wrote:

> I need to disable certain markups since:
> 1)  It is in conflict with other things on the site.
> 2)  It is causing invalid xhtml output, which is causing fatal errors in Saxon
> 3) I have about 500,000 pages equivalent of text, and when this goes live, it will be
> hard to control, so I am trying to button down the hatches.
> 4)  This is really being used as an embedded functionality on a site largely focused
> on academic search functionality - I just want to let people clean up the OCR and do a
> few other tasks, so I am really only using a small subset of pmwiki.

I think it has not been said that you can also disable all standard
pmwiki markup (as defined in scripts/stdmarkup.php) in config.php
with
  $EnableStdMarkup = false;

Then if you need some of the markup you could make your own version of
scripts/stdmarkup.php, put it into the cookbook folder and include it
with
  include_once("$FarmD/cookbook/customstdmarkup.php");


Hans




More information about the pmwiki-users mailing list