5 * Copyright (C) 2003 Martin Geisler
6 * Copyright (C) 2003-2004 $ThePhpWikiProgrammingTeam
7 * Copyright (C) 2009 Marc-Etienne Vargenau, Alcatel-Lucent
9 * This file is part of PhpWiki.
11 * PhpWiki is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * PhpWiki is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with PhpWiki; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 * A WikiPlugin for putting comments in WikiPages
34 * This is some WikiText that won't show up on the page.
39 class WikiPlugin_Comment
46 function getDescription() {
47 return _("Embed hidden comments in WikiPages.");
51 function getVersion() {
52 return preg_replace("/[Revision: $]/", '',
57 function getDefaultArguments() {
61 function run($dbi, $argstr, &$request, $basepage) {
71 // c-hanging-comment-ender-p: nil
72 // indent-tabs-mode: nil