enull.inc.php

Top > Plugin > enull.inc.php

Plugin which outputs nothing although it parses argumented wiki grammer

Table of Contents

Abstract

This plugin outputs nothing although it executes argumented wiki grammers.

For example, this may be useful when you want to increment #counter, but do not want to show it.

First Edition. 05/22/2006
Last Modified. 05/22/2006

How to use

#enull{{
&counter;
}}
&enull(&counter;);

Download

右クリックから保存して plugin ディレクトリにおいてください。常に開発版です。

svn:plugin/enull.inc.php

設定

プラグインで複数行引数を使えるようにしておきます。PukiWiki を 1.4.6 以上にアップデートしてください。

pukiwiki.ini.php

-define('PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK', 1); // 1 = Disabled
+define('PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK', 0); // 1 = Disabled

技術的詳細

Related