phpwiki/pgsrc samplepage

Reini Urban <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
Marc-Etienne Vargenau schrieb:
> Update of /cvsroot/phpwiki/phpwiki/pgsrc
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20430/pgsrc
> 
> Modified Files:
> 	Help%2FIncludePagePlugin 
> Added Files:
> 	samplepage 
> Log Message:
> Implemented "sections" parameter for IncludePagePlugin

I don't like that name samplepage.
It's no WikiWord.
Cannot we use an existing page with sections to use as sample for 
IncludePage?

> --- NEW FILE: samplepage ---
> Date: Wed, 2 Jul 2008 16:17:18 +0200
> Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
> X-Rcs-Id: $Id: samplepage,v 1.1 2008/07/03 19:22:57 vargenau Exp $
> Content-Type: application/x-phpwiki;
>   pagename=samplepage;
>   flags=PAGE_LOCKED;
>   markup=2;
>   charset=iso-8859-1
> Content-Transfer-Encoding: binary
> 
> This is a sample page to describe the use of the [IncludePage|Help:IncludePagePlugin] plugin.
> 
> !!! First section
> 
> Text in the first section
> 
> !! A nice subsection
> 
> Text in the nice subsection.
> 
> !! Another subsection
> 
> Text in the other subsection.
> 
> !!! Second section
> 
> Text in the second section
> 
> !! A nice subsection
> 
> Text in the nice subsection of second section.
> 
> !! Another subsection
> 
> Text in the other subsection of second section.
> 
> !! Third subsection
> 
> Text in the third subsection of second section.
> 
> !!! Third section
> 
> Text in the third section.
> 
> Index: Help%2FIncludePagePlugin
> ===================================================================
> RCS file: /cvsroot/phpwiki/phpwiki/pgsrc/Help%2FIncludePagePlugin,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -2 -b -p -d -r1.7 -r1.8
> --- Help%2FIncludePagePlugin	27 Jun 2008 20:03:55 -0000	1.7
> +++ Help%2FIncludePagePlugin	3 Jul 2008 19:22:57 -0000	1.8
> @@ -1,3 +1,3 @@
> -Date: Mon, 26 Jun 2008 14:15:24 +0000
> +Date: Thu, 3 Jul 2008 10:56:37 +0200
>  Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
>  X-Rcs-Id: $Id$
> @@ -39,11 +39,50 @@ sectionhead
>  !!! Examples
>  
> -<?plugin IncludePage page="HomePage" ?>
> +!! ~IncludePage page=samplepage
> +<?plugin IncludePage page=samplepage ?>
>  
> -<?plugin IncludePage page="Help/WabiSabi" ?>
> +!! ~IncludePage page=samplepage lines=6
> +<?plugin IncludePage page=samplepage lines=6 ?>
>  
> -!!! Author
> +!! ~IncludePage page=samplepage section="Second section"
> +<?plugin IncludePage page=samplepage section="Second section" ?>
>  
> -Joe Edelman
> +!! ~IncludePage page=samplepage section="Second section" sectionhead=true
> +<?plugin IncludePage page=samplepage section="Second section" sectionhead=true ?>
> +
> +!! ~IncludePage page=samplepage sections=2
> +<?plugin IncludePage page=samplepage sections=2 ?>
> +
> +!! ~IncludePage page=samplepage section="Second section" sections=2
> +<?plugin IncludePage page=samplepage section="Second section" sections=2 ?>
> +
> +!! ~IncludePage page=samplepage quiet=1
> +<?plugin IncludePage page=samplepage quiet=1 ?>
> +
> +!! ~IncludePage page=samplepage lines=6 quiet=1
> +<?plugin IncludePage page=samplepage lines=6 quiet=1 ?>
> +
> +!! ~IncludePage page=samplepage section="Second section" quiet=1
> +<?plugin IncludePage page=samplepage section="Second section" quiet=1 ?>
> +
> +!! ~IncludePage page=samplepage section="Second section" sectionhead=true quiet=1
> +<?plugin IncludePage page=samplepage section="Second section" sectionhead=true quiet=1 ?>
> +
> +!! ~IncludePage page=samplepage sections=2 quiet=1
> +<?plugin IncludePage page=samplepage sections=2 quiet=1 ?>
> +
> +!! ~IncludePage page=samplepage section="Second section" sections=2 quiet=1
> +<?plugin IncludePage page=samplepage section="Second section" sections=2 quiet=1 ?>
> +
> +!!! Known bugs
> +
> +* ~RedirectTo plugin is not handled correctly.
> +* Line and word limit doesn't work if the included page itself includes a plugin.
> +
> +!!! Authors
> +
> +* Joe Edelman
> +* bug fixes by [Reini Urban|PhpWiki:ReiniUrban]
> +* "sections" parameter implemented by Marc-Etienne Vargenau, Alcatel-Lucent
>  
>  !!! See Also


-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.