Revision history for PseudoFormatters
Revision [23139]
Last edited on 2016-05-20 07:38:47 by JonAmgine [Replaces old-style internal links with new pipe-split links.]Additions:
As usual, what we need is a good markup (easy to remember, distinctive, expressive). If we choose to adopt ##**::**## as a tag for [[WikkaExtensibleMarkup | extensible markup]], then the solution I propose here is not optimal.
Deletions:
Revision [18972]
Edited on 2008-01-28 00:13:29 by JonAmgine [Modified links pointing to docs server]No Differences
Additions:
// one-time formatter: signature
if ($user) {
$longsignature = '-- '.$user.' [##'.date("Y-m-d H:i").'##]';
$shortsignature = '-- '.$user;
$body = preg_replace("/::::/",$longsignature,$body);
$body = preg_replace("/:::/",$shortsignature,$body);
}
// one-time formatter: timestamp
$timestamp = '[##'.date("Y-m-d H:i").'##]';
$body = preg_replace("/::t::/",$timestamp,$body);
== Related discussion ==
- MagicWords
if ($user) {
$longsignature = '-- '.$user.' [##'.date("Y-m-d H:i").'##]';
$shortsignature = '-- '.$user;
$body = preg_replace("/::::/",$longsignature,$body);
$body = preg_replace("/:::/",$shortsignature,$body);
}
// one-time formatter: timestamp
$timestamp = '[##'.date("Y-m-d H:i").'##]';
$body = preg_replace("/::t::/",$timestamp,$body);
== Related discussion ==
- MagicWords
Deletions:
if ($user) {
$longsignature = '-- '.$user.' [##'.date("Y-m-d H:i").'##]';
$shortsignature = '-- '.$user;
$body = preg_replace("/::::/",$longsignature,$body);
$body = preg_replace("/:::/",$shortsignature,$body);
}
// one-time formatter: timestamp
$timestamp = '[##'.date("Y-m-d H:i").'##]';
$body = preg_replace("/::t::/",$timestamp,$body);
Additions:
>>**See also:**
~-SmartyPants
~-WantedFormatters
~-WikkaExtensibleMarkup
~-PreFormatter
~-SmartyPants
~-WantedFormatters
~-WikkaExtensibleMarkup
~-PreFormatter
Deletions:
WantedFormatters
WikkaExtensibleMarkup
PreFormatter
Additions:
CategoryDevelopmentFormatters
Deletions:
Additions:
PreFormatter
Additions:
-- {{user}}
-- {{user}} ##[2005-02-28 12:02]##
-- {{user}} ##[2005-02-28 12:02]##
Deletions:
-- DarTar ##[2005-02-28 12:02]##
Additions:
The modifications required for this to work are quite silly. We just need to modify ##""SavePage()""## in ##wikka.php##, before the call to ##Query()##
Deletions:
Additions:
The modifications required for this to work are quite silly. We just need to modify ##""SavePage()""## in #wikka.php#, before the call to ##Query()##
Deletions:
Additions:
>>::c::