From: <var...@us...> - 2009-05-31 19:10:54
|
Revision: 6826 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6826&view=rev Author: vargenau Date: 2009-05-31 19:10:44 +0000 (Sun, 31 May 2009) Log Message: ----------- Wikicreole syntax; use tables Modified Paths: -------------- trunk/pgsrc/Help%2FMagicPhpWikiURLs Modified: trunk/pgsrc/Help%FMagicPhpWikiURLs =================================================================== --- trunk/pgsrc/Help%2FMagicPhpWikiURLs 2009-05-29 17:16:42 UTC (rev 6825) +++ trunk/pgsrc/Help%2FMagicPhpWikiURLs 2009-05-31 19:10:44 UTC (rev 6826) @@ -1,4 +1,4 @@ -Date: Thu, 26 Mar 2009 11:34:32 +0000 +Date: Thu, 31 May 2009 19:34:32 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -17,55 +17,41 @@ The basic syntax of a phpwiki: URL is <pre> -__phpwiki:__''pagename''__?__''query-args'' +**phpwiki:**//pagename//**?**//query-args// </pre> -If _pagename_ is omitted it defaults to the current page. +If //pagename// is omitted it defaults to the current page. -_Query-args_ should be a set of parameters in standard HTTP GET +//Query-args// should be a set of parameters in standard HTTP GET format. -The "action=''x''" parameter should almost always be given. It can be one of -__browse__, __diff__, __edit__, __viewsource__, -__zip__, __dumpserial__, __loadserial__, -__remove__, __lock__, __unlock__, -__login__, __logout__, __setprefs__ or __save__. -The default action is __browse__. +The "action=//x//" parameter should almost always be given. It can be one of +**browse**, **diff**, **edit**, **viewsource**, +**zip**, **dumpserial**, **loadserial**, +**remove**, **lock**, **unlock**, +**login**, **logout**, **setprefs** or **save**. +The default action is **browse**. Some of the actions accept other parameters. -__FullTextSearch__, __TitleSearch__: +| **FullTextSearch**, **TitleSearch** | Accepts **s**=search term, and **size**=input size. +| **edit** | Accepts **version**. +| **remove** | Accepts **verify**. +| **save** | Accepts **editversion**, **minor_edit**, and **content**. +| **setprefs** | Accepts **edit_area_width**, **edit_area_height**. - Accepts __s__=search term, and __size__=input size. - -__edit__: - - Accepts __version__. - -__remove__: - - Accepts __verify__. - -__save__: - - Accepts __editversion__, __minor_edit__, and __content__. - -__setprefs__: - - Accepts __edit_area_width__, __edit_area_height__. - === Writing Magic Links in Wiki Pages A magic link looks like: <pre> -__~[__ ''text'' __|__ ''phpwiki-url'' __]__ +**~[** //text// **|** //phpwiki-url// **]** </pre> -The "''text'' *|*" is optional but usually recommended. If given it +The "//text// **|**" is optional but usually recommended. If given it will provide the label for the link. -The _phpwiki-url_ is a *phpwiki:* URL as described above. +The //phpwiki-url// is a **phpwiki:** URL as described above. ==== Some examples @@ -83,32 +69,27 @@ === Writing Magic Forms in Wiki Pages -''__Note__: The old syntax for Magic forms is no longer supported. -They are superseded by =<?plugin-form>=.'' +**//Note://** //The old syntax for Magic forms is no longer supported. +They are superseded by// ##<?plugin-form>##. -If the plugin is called using *<?plugin-form* instead of *<?plugin* +If the plugin is called using **<?plugin-form** instead of **<?plugin** and the plugin supports searching, then it will be rendered as a form. -''size'': +| //size// | If given, specifies the size of the input area. +| //s// | Specifies the default value for the input. - If given, specifies the size of the input area. +==== Examples -''s'': - - Specifies the default value for the input. - -== Examples: - -A search plugin invoked with *<?plugin* instead of *<?plugin-form* +A search plugin invoked with **<?plugin** instead of **<?plugin-form** simply inserts the search results of the plugin: {{{ -<<TitleSearch s=wiki noheader=true>> +<<TitleSearch s=wiki noheader=true limit=10>> }}} Search results for Page titles containing 'wiki': -<<TitleSearch s=wiki noheader=true>> +<<TitleSearch s=wiki noheader=true limit=10>> {{{ <?plugin-form FullTextSearch ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2019-04-03 09:50:10
|
Revision: 10071 http://sourceforge.net/p/phpwiki/code/10071 Author: vargenau Date: 2019-04-03 09:50:07 +0000 (Wed, 03 Apr 2019) Log Message: ----------- Remove unnecessary <pre> Modified Paths: -------------- trunk/pgsrc/Help%2FMagicPhpWikiURLs Modified: trunk/pgsrc/Help%2FMagicPhpWikiURLs =================================================================== --- trunk/pgsrc/Help%2FMagicPhpWikiURLs 2019-04-02 11:27:53 UTC (rev 10070) +++ trunk/pgsrc/Help%2FMagicPhpWikiURLs 2019-04-03 09:50:07 UTC (rev 10071) @@ -1,4 +1,4 @@ -Date: Thu, 13 Oct 2016 15:09:28 +0000 +Date: Wed, 3 Apr 2019 11:48:37 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FMagicPhpWikiURLs; @@ -6,17 +6,15 @@ charset=UTF-8 Content-Transfer-Encoding: binary -== About phpwiki: URLs == +== About //phpwiki:// URLs == A special type of URL is available for making links to perform administrative and other special functions in ~PhpWiki. Here is a brief description of how they work. -The basic syntax of a phpwiki: URL is +The basic syntax of a //phpwiki:// URL is -<pre> **phpwiki:**//pagename//**?**//query-args// -</pre> If //pagename// is omitted it defaults to the current page. @@ -42,14 +40,12 @@ A magic link looks like: -<pre> **~[** //text// **|** //phpwiki-url// **]** -</pre> The "//text// **|**" is optional but usually recommended. If given it will provide the label for the link. -The //phpwiki-url// is a **phpwiki:** URL as described above. +The //phpwiki-url// is a //phpwiki:// URL as described above. ==== Some examples ==== This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2020-12-24 15:42:18
|
Revision: 10196 http://sourceforge.net/p/phpwiki/code/10196 Author: vargenau Date: 2020-12-24 15:42:17 +0000 (Thu, 24 Dec 2020) Log Message: ----------- pgsrc/Help%2FMagicPhpWikiURLs: use double brackets Modified Paths: -------------- trunk/pgsrc/Help%2FMagicPhpWikiURLs Modified: trunk/pgsrc/Help%2FMagicPhpWikiURLs =================================================================== --- trunk/pgsrc/Help%2FMagicPhpWikiURLs 2020-12-24 15:12:41 UTC (rev 10195) +++ trunk/pgsrc/Help%2FMagicPhpWikiURLs 2020-12-24 15:42:17 UTC (rev 10196) @@ -1,4 +1,4 @@ -Date: Mon, 30 Mar 2020 15:49:22 +0000 +Date: Mon, 24 Dec 2020 15:49:22 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FMagicPhpWikiURLs; @@ -39,7 +39,7 @@ A magic link looks like: -**~[** //text// **|** //phpwiki-url// **]** +**~[~[** //text// **|** //phpwiki-url// **]]** The "//text// **|**" is optional but usually recommended. If given it will provide the label for the link. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |