[pmwiki-users] Markup Extensions (correction)

John Rankin john.rankin at affinity.co.nz
Fri Jun 9 16:49:15 CDT 2006


On Friday, 9 June 2006 2:28 PM, John Rankin <john.rankin at affinity.co.nz> wrote:
>On Friday, 9 June 2006 12:20 AM, Steve Rowe <think1blue at yahoo.com> wrote:
>>>From the table of extensions:
>>
>>revisions 
>>
>>(:revisions:) 
>>
>>toggle between show and hide revision markups insert
>>and delete 
>
>The (:revisions:) directive adds the ability to
>toggle between showing and hiding {+...+} and {-...-}
>markup. By default, the extension is set to show
>revisions. If you want the default to hide revisions,
>add the following line to local/config.php *before* 
>including the markup extensions script:
>
>    $hide = 1;
>
Correction; that should read:

    $hide = isset($_GET['hide'] ? $_GET['hide'] : 1;

-- 
JR
--
John Rankin







More information about the pmwiki-users mailing list