[pmwiki-users] Insert current (stable) date

Petko Yotov 5ko at 5ko.fr
Wed Feb 14 17:51:10 CST 2018


Yes, you can enable ~~~~~ (5 tildes) to become the timestamp without the 
author name, add this in config.php:

   $ROSPatterns['/(?<!~)~~~~~(?!~)/'] = &$CurrentTime;

BTW this markup is used in the default installation of MediaWiki 
(Wikipedia).

Petko

On 15/02/2018 00:29, Jim Syler wrote:
> Is there a way to insert the current date and/or time into a wiki
> page, and have it not change? The same way that ~~~~ inserts the date
> in a Talk page?



More information about the pmwiki-users mailing list