From: <var...@us...> - 2010-05-31 11:29:48
|
Revision: 7447 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7447&view=rev Author: vargenau Date: 2010-05-31 11:29:39 +0000 (Mon, 31 May 2010) Log Message: ----------- Use Wikicreole syntax for plugins in comments Modified Paths: -------------- trunk/lib/plugin/CacheTest.php trunk/lib/plugin/CalendarList.php trunk/lib/plugin/CreateBib.php trunk/lib/plugin/CurrentTime.php trunk/lib/plugin/DynamicIncludePage.php trunk/lib/plugin/FileInfo.php trunk/lib/plugin/FrameInclude.php trunk/lib/plugin/GoTo.php trunk/lib/plugin/GoogleMaps.php trunk/lib/plugin/GraphViz.php trunk/lib/plugin/HelloWorld.php trunk/lib/plugin/HtmlConverter.php trunk/lib/plugin/Imdb.php trunk/lib/plugin/IncludePage.php trunk/lib/plugin/IncludePages.php trunk/lib/plugin/JabberPresence.php trunk/lib/plugin/LdapSearch.php trunk/lib/plugin/ListSubpages.php trunk/lib/plugin/ModeratedPage.php trunk/lib/plugin/NoCache.php trunk/lib/plugin/OldStyleTable.php trunk/lib/plugin/PageDump.php trunk/lib/plugin/PageGroup.php trunk/lib/plugin/PageTrail.php trunk/lib/plugin/PhotoAlbum.php trunk/lib/plugin/PhpHighlight.php trunk/lib/plugin/PhpWeather.php trunk/lib/plugin/Ploticus.php trunk/lib/plugin/PopUp.php trunk/lib/plugin/PopularNearby.php trunk/lib/plugin/PopularTags.php trunk/lib/plugin/PrevNext.php trunk/lib/plugin/RateIt.php trunk/lib/plugin/RedirectTo.php trunk/lib/plugin/SqlResult.php trunk/lib/plugin/SyntaxHighlighter.php trunk/lib/plugin/SystemInfo.php trunk/lib/plugin/Template.php trunk/lib/plugin/Transclude.php trunk/lib/plugin/TranslateText.php trunk/lib/plugin/UnfoldSubpages.php trunk/lib/plugin/UpLoad.php trunk/lib/plugin/UserRatings.php trunk/lib/plugin/VisualWiki.php trunk/lib/plugin/WikiAdminChmod.php trunk/lib/plugin/WikiAdminChown.php trunk/lib/plugin/WikiAdminMarkup.php trunk/lib/plugin/WikiAdminPurge.php trunk/lib/plugin/WikiAdminRemove.php trunk/lib/plugin/WikiAdminRename.php trunk/lib/plugin/WikiAdminSearchReplace.php trunk/lib/plugin/WikiAdminSelect.php trunk/lib/plugin/WikiAdminSetAcl.php trunk/lib/plugin/WikiBlog.php trunk/lib/plugin/WikiFormRich.php trunk/lib/plugin/WikiForum.php trunk/lib/plugin/WikiPoll.php trunk/lib/plugin/_WikiTranslation.php Modified: trunk/lib/plugin/CacheTest.php =================================================================== --- trunk/lib/plugin/CacheTest.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/CacheTest.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -36,7 +36,7 @@ | | You may call this plugin as follows: | - | <?plugin CacheTest text="What a wonderful test!" ?> + | <<CacheTest text="What a wonderful test!" >> | /*----------------------------------------------------------------------- Modified: trunk/lib/plugin/CalendarList.php =================================================================== --- trunk/lib/plugin/CalendarList.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/CalendarList.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -40,8 +40,8 @@ * Derived from Calendar.php by Martin Norbäck <ma...@sa...> * * Insert this plugin into your Calendar page, for example in WikiUser/Calendar: - * <?plugin Calendar ?> - * <?plugin CalendarList ?> + * <<Calendar >> + * <<CalendarList >> * * Honors now year + month args as start base - together with Calendar navigation. * The behaviour before 2007 with last/next_n_days was to start now. Modified: trunk/lib/plugin/CreateBib.php =================================================================== --- trunk/lib/plugin/CreateBib.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/CreateBib.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -24,7 +24,7 @@ * CreateBib: Automatically create a BibTex file from page * * Usage: - * <?plugin CreateBib pagename||=whatever ?> + * <<CreateBib pagename||=whatever >> * * @author: Lea Viljanen */ Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/CurrentTime.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -46,8 +46,8 @@ * A simple plugin that displays current time and date. * * Usage: - * <?plugin CurrentTime?> - * <?plugin CurrentTime format=XXX ?> + * <<CurrentTime>> + * <<CurrentTime format=XXX >> */ class WikiPlugin_CurrentTime Modified: trunk/lib/plugin/DynamicIncludePage.php =================================================================== --- trunk/lib/plugin/DynamicIncludePage.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/DynamicIncludePage.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ /** * DynamicIncludePage - Include wikipage asynchronously. Icon to show/hide. - * Usage: <?plugin DynamicIncludePage page=OtherPage state=true ...?> + * Usage: <<DynamicIncludePage page=OtherPage state=true ...>> * Author: Reini Urban */ Modified: trunk/lib/plugin/FileInfo.php =================================================================== --- trunk/lib/plugin/FileInfo.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/FileInfo.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,9 +26,9 @@ * Only files relative and below to the uploads path can be handled. * * Usage: - * <?plugin FileInfo file=Upload:setup.exe display=version,date ?> - * <?plugin FileInfo file=Upload:setup.exe display=name,version,date - * format="%s (version: %s, date: %s)" ?> + * <<FileInfo file=Upload:setup.exe display=version,date >> + * <<FileInfo file=Upload:setup.exe display=name,version,date + * format="%s (version: %s, date: %s)" >> * * @author: ReiniUrban */ Modified: trunk/lib/plugin/FrameInclude.php =================================================================== --- trunk/lib/plugin/FrameInclude.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/FrameInclude.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -24,8 +24,8 @@ * FrameInclude: Displays a url or page in a seperate frame inside our body. * * Usage: - * <?plugin FrameInclude src=http://www.internet-technology.de/fourwins_de.htm ?> - * <?plugin FrameInclude page=OtherPage ?> + * <<FrameInclude src=http://www.internet-technology.de/fourwins_de.htm >> + * <<FrameInclude page=OtherPage >> * at the VERY BEGINNING in the content! * * Author: Reini Urban <ru...@x-...>, rewrite by Jeff Dairiki <da...@da...> Modified: trunk/lib/plugin/GoTo.php =================================================================== --- trunk/lib/plugin/GoTo.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/GoTo.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,7 +26,7 @@ * that page; if not, edit (create) that page. * Note: pagenames are absolute, not relative to the actual subpage. * - * Usage: <?plugin GoTo ?> + * Usage: <<GoTo >> * @author: Michael van Dam */ Modified: trunk/lib/plugin/GoogleMaps.php =================================================================== --- trunk/lib/plugin/GoogleMaps.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/GoogleMaps.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -30,7 +30,7 @@ * Then enter the key in config/config.ini under GOOGLE_LICENSE_KEY= * * Usage: - * <?plugin GoogleMaps + * <<GoogleMaps * Latitude=53.053 * Longitude=7.803 * ZoomFactor=10 @@ -40,7 +40,7 @@ * MapType=Map|Satellite|Hybrid * width=500px * height=400px - * ?> + * >> * * @author Reini Urban * Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/GraphViz.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -31,9 +31,9 @@ * EPS, PS, SWF, SVG or SVGZ and imagemaps need to be tested. * * Usage: -<?plugin GraphViz [options...] +<<GraphViz [options...] multiline dot script ... -?> +>> * See also: VisualWiki, which depends on GraphViz and WikiPluginCached. * @@ -176,7 +176,7 @@ $imgtypes = $GLOBALS['PLUGIN_CACHED_IMGTYPES']; $imgtypes = array_merge($imgtypes, array("svg", "svgz", "ps"), $this->_mapTypes()); $helparr = array( - '<?plugin GraphViz ' . + '<<GraphViz ' . 'imgtype' => ' = "' . $def['imgtype'] . "(default)|" . join('|',$imgtypes).'"', 'alt' => ' = "alternate image text"', 'pages' => ' = "pagenames,*" or <!plugin-list !> pagelist as input', Modified: trunk/lib/plugin/HelloWorld.php =================================================================== --- trunk/lib/plugin/HelloWorld.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/HelloWorld.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -24,13 +24,13 @@ * A simple demonstration WikiPlugin. * * Usage: - * <?plugin HelloWorld?> - * <?plugin HelloWorld + * <<HelloWorld?> + * <<HelloWorld * salutation="Greetings, " * name=Wikimeister - * ?> - * <?plugin HelloWorld salutation=Hi ?> - * <?plugin HelloWorld name=WabiSabi ?> + * >> + * <<HelloWorld salutation=Hi >> + * <<HelloWorld name=WabiSabi >> */ // Constants are defined before the class. Modified: trunk/lib/plugin/HtmlConverter.php =================================================================== --- trunk/lib/plugin/HtmlConverter.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/HtmlConverter.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,7 +26,7 @@ * copied and pasted into a wiki page. * Credit to an unknown programmer, who has provided the first * version 0.01 on http://www.gpgstudy.com/striphtml.phps - * Usage: <?plugin HtmlConverter ?> + * Usage: <<HtmlConverter >> * Author: HendrikScheider <hen...@wi...> */ Modified: trunk/lib/plugin/Imdb.php =================================================================== --- trunk/lib/plugin/Imdb.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/Imdb.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,11 +26,11 @@ * "imdb = mysql://user:pass@localhost/imdb" in lib/plugin/SqlResult.ini * * Queries: - * <?plugin Imdb query=movie_main title||="Sample Movie (2002)" ?> - * <?plugin Imdb query=movie_combined title||="Sample Movie (2002)" ?> - * <?plugin Imdb query=movie_full title||="Sample Movie (2002)" ?> - * <?plugin Imdb query=movie_company_credits title||="Sample Movie (2002)" ?> - * <?plugin Imdb query=name name||="Lastname, Firstname (I)" ?> + * <<Imdb query=movie_main title||="Sample Movie (2002)" >> + * <<Imdb query=movie_combined title||="Sample Movie (2002)" >> + * <<Imdb query=movie_full title||="Sample Movie (2002)" >> + * <<Imdb query=movie_company_credits title||="Sample Movie (2002)" >> + * <<Imdb query=name name||="Lastname, Firstname (I)" >> * More title queries: * business, moviebudgets, colorinfo, mpaaratingsreasons, * akatitles, alternateversions, miscellaneouscompanies, moviecountries, Modified: trunk/lib/plugin/IncludePage.php =================================================================== --- trunk/lib/plugin/IncludePage.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/IncludePage.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -23,7 +23,7 @@ /** * IncludePage: include text from another wiki page in this one - * usage: <?plugin IncludePage page=OtherPage rev=6 quiet=1 words=50 lines=6?> + * usage: <<IncludePage page=OtherPage rev=6 quiet=1 words=50 lines=6>> * author: Joe Edelman <jo...@or...> */ Modified: trunk/lib/plugin/IncludePages.php =================================================================== --- trunk/lib/plugin/IncludePages.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/IncludePages.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ /** * IncludePages: Include a list of multiple pages, based on IncludePage. - * usage: <?plugin IncludePages pages=<!plugin-list BackLinks !> ?> + * usage: <<IncludePages pages=<!plugin-list BackLinks !> >> * author: ReiniUrban */ Modified: trunk/lib/plugin/JabberPresence.php =================================================================== --- trunk/lib/plugin/JabberPresence.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/JabberPresence.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,8 +26,8 @@ * http://edgar.netflint.net/howto.php * * Usage: - * <?plugin JabberPresence scripturl=http://edgar.netflint.net/status.php - * jid=yourid@jabberserver type=html iconset=phpbb ?> + * <<JabberPresence scripturl=http://edgar.netflint.net/status.php + * jid=yourid@jabberserver type=html iconset=phpbb >> * * @author: Arnaud Fontaine */ Modified: trunk/lib/plugin/LdapSearch.php =================================================================== --- trunk/lib/plugin/LdapSearch.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/LdapSearch.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -28,21 +28,21 @@ * TODO: Return a pagelist on certain attributes * * Usage Samples: - <?plugin LdapSearch?> - <?plugin LdapSearch + <<LdapSearch>> + <<LdapSearch host="localhost" port=389 basedn="" filter="(cn=*)" attributes="" - ?> - <?plugin LdapSearch host=ldap.example.com filter="(ou=web-team)" - attributes="sn cn telephonenumber" ?> - <?plugin LdapSearch host="ldap.itd.umich.edu" basedn="" filter="(sn=jensen)" attributes="cn drink" ?> - <?plugin LdapSearch host=ldap.example.com attributes="cn sn telephonenumber" ?> - <?plugin LdapSearch host=bugs.debian.org port=10101 basedn="dc=current,dc=bugs,dc=debian,dc=org" + >> + <<LdapSearch host=ldap.example.com filter="(ou=web-team)" + attributes="sn cn telephonenumber" >> + <<LdapSearch host="ldap.itd.umich.edu" basedn="" filter="(sn=jensen)" attributes="cn drink" >> + <<LdapSearch host=ldap.example.com attributes="cn sn telephonenumber" >> + <<LdapSearch host=bugs.debian.org port=10101 basedn="dc=current,dc=bugs,dc=debian,dc=org" filter="(debbugsPackage=phpwiki)" - attributes="debbugsSeverity debbugsState debbugsTitle" ?> + attributes="debbugsSeverity debbugsState debbugsTitle" >> * @author John Lines */ Modified: trunk/lib/plugin/ListSubpages.php =================================================================== --- trunk/lib/plugin/ListSubpages.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/ListSubpages.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -23,7 +23,7 @@ /** * ListSubpages: Lists the names of all SubPages of the current page. * Based on UnfoldSubpages. - * Usage: <?plugin ListSubpages noheader=1 info=pagename,hits,mtime ?> + * Usage: <<ListSubpages noheader=1 info=pagename,hits,mtime >> */ require_once('lib/PageList.php'); Modified: trunk/lib/plugin/ModeratedPage.php =================================================================== --- trunk/lib/plugin/ModeratedPage.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/ModeratedPage.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -429,14 +429,14 @@ if ($parsed = $loader->parsePI($pi)) { $plugin =& $parsed[1]; if ($plugin->getName() != _("ModeratedPage")) - return $this->error(sprintf(_("<?plugin ModeratedPage ... ?> not found in first line of %s"), + return $this->error(sprintf(_("<<ModeratedPage ... >> not found in first line of %s"), $action_page->getName())); if (!$action_page->get('locked')) return $this->error(sprintf(_("%s is not locked!"), $action_page->getName())); return $plugin->resolve_argstr($request, $parsed[2]); } else { - return $this->error(sprintf(_("<?plugin ModeratedPage ... ?> not found in first line of %s"), + return $this->error(sprintf(_("<<ModeratedPage ... >> not found in first line of %s"), $action_page->getName())); } } Modified: trunk/lib/plugin/NoCache.php =================================================================== --- trunk/lib/plugin/NoCache.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/NoCache.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,9 +26,9 @@ * display dynamic content. * * Usage: - * <?plugin NoCache ?> + * <<NoCache >> * or to delete the whole cache for this page: - * <?plugin NoCache nocache||=purge ?> + * <<NoCache nocache||=purge >> * * Author: Reini Urban <ru...@x-...> * Modified: trunk/lib/plugin/OldStyleTable.php =================================================================== --- trunk/lib/plugin/OldStyleTable.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/OldStyleTable.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,12 +26,12 @@ * * Usage: * <pre> - * <?plugin OldStyleTable border||=0 summary="" + * <<OldStyleTable border||=0 summary="" * || __Name__ |v __Cost__ |v __Notes__ * | __First__ | __Last__ * |> Jeff |< Dairiki |^ Cheap |< Not worth it * |> Marco |< Polo | Cheaper |< Not available - * ?> + * >> * </pre> * * Note that multiple <code>|</code>'s lead to spanned columns, Modified: trunk/lib/plugin/PageDump.php =================================================================== --- trunk/lib/plugin/PageDump.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PageDump.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -40,9 +40,9 @@ * http://...phpwiki/index.php?PageDump&page=HomePage * http://...phpwiki/index.php?PageDump&page=HomePage&download=1 * Static: - * <?plugin PageDump page=HomePage?> + * <<PageDump page=HomePage>> * Dynamic form (put both on the page): - * <?plugin PageDump?> + * <<PageDump>> * <?plugin-form PageDump?> * Typical usage: as actionbar button */ Modified: trunk/lib/plugin/PageGroup.php =================================================================== --- trunk/lib/plugin/PageGroup.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PageGroup.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -24,16 +24,16 @@ /** * Usage: * - * <?plugin PageGroup parent=MyTableOfContents ?> + * <<PageGroup parent=MyTableOfContents >> * - * <?plugin PageGroup + * <<PageGroup * parent=MyTableOfContents * label="Visit more pages in MyTableOfContents" - * ?> + * >> * - * <?plugin PageGroup parent=MyTableOfContents section=PartTwo loop=true ?> + * <<PageGroup parent=MyTableOfContents section=PartTwo loop=true >> * - * <?plugin PageGroup parent=MyTableOfContents loop=1 ?> + * <<PageGroup parent=MyTableOfContents loop=1 >> * * * Updated to use new HTML(). It mostly works, but it's still a giant hackish mess. Modified: trunk/lib/plugin/PageTrail.php =================================================================== --- trunk/lib/plugin/PageTrail.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PageTrail.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -27,9 +27,9 @@ * But Cache should be turned off then. * * Usage: - * <?plugin PageTrail?> - * <?plugin PageTrail numberlinks=5?> - * <?plugin PageTrail invisible=1?> + * <<PageTrail>> + * <<PageTrail numberlinks=5>> + * <<PageTrail invisible=1>> */ if (!defined('PAGETRAIL_ARROW')) Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PhotoAlbum.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -29,7 +29,7 @@ * Thomas Harding (slides mode, real thumbnails) * * Usage: - * <?plugin PhotoAlbum + * <<PhotoAlbum * src="http://server/textfile" or localfile or localdir * mode=[normal|column|row|thumbs|tiles|list|slide] * desc=true @@ -39,7 +39,7 @@ * thumbswidth=80 * align=[center|left|right] * duration=6 - * ?> + * >> * * "src": textfile of images or directory of images or a single image (local or remote) * Local or remote e.g. http://myserver/images/MyPhotos.txt or http://myserver/images/ Modified: trunk/lib/plugin/PhpHighlight.php =================================================================== --- trunk/lib/plugin/PhpHighlight.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PhpHighlight.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,9 +26,9 @@ * arguments to pretty-print PHP code. * * Usage: - * <?plugin PhpHighlight default='#FF0000' comment='#0000CC' + * <<PhpHighlight default='#FF0000' comment='#0000CC' * code that should be highlighted - * ?> + * >> * * You do not have to add '<?php' and '?>' to the code - the plugin * does this automatically if you do not set wrap to 0. @@ -46,10 +46,10 @@ * Added ability to override colors defined in php.ini --Carsten Klapp * * Known Problems: - * <?plugin PhpHighlight + * <<PhpHighlight * testing[somearray]; * testing~[badworkaround~]; - * ?> + * >> * will swallow "[somearray]" */ Modified: trunk/lib/plugin/PhpWeather.php =================================================================== --- trunk/lib/plugin/PhpWeather.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PhpWeather.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -28,12 +28,12 @@ * * Usage: * - * <?plugin PhpWeather ?> - * <?plugin PhpWeather menu=true ?> - * <?plugin PhpWeather icao=KJFK ?> - * <?plugin PhpWeather language=en ?> - * <?plugin PhpWeather units=only_metric ?> - * <?plugin PhpWeather icao||=CYYZ cc||=CA language||=en menu=true ?> + * <<PhpWeather >> + * <<PhpWeather menu=true >> + * <<PhpWeather icao=KJFK >> + * <<PhpWeather language=en >> + * <<PhpWeather units=only_metric >> + * <<PhpWeather icao||=CYYZ cc||=CA language||=en menu=true >> * * If you want a menu, and you also want to change the default station * or language, then you have to use the ||= form, or else the user Modified: trunk/lib/plugin/Ploticus.php =================================================================== --- trunk/lib/plugin/Ploticus.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/Ploticus.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -37,11 +37,11 @@ * This will be fixed soon. * * Usage: -<?plugin Ploticus device=png [ploticus options...] +<<Ploticus device=png [ploticus options...] multiline ploticus script ... -?> +>> * or without any script: (not tested) -<?plugin Ploticus -prefab vbars data=myfile.dat delim=tab y=1 clickmapurl="http://mywiki.url/wiki/?pagename=@2" clickmaplabel="@3" -csmap ?> +<<Ploticus -prefab vbars data=myfile.dat delim=tab y=1 clickmapurl="http://mywiki.url/wiki/?pagename=@2" clickmaplabel="@3" -csmap >> * * TODO: PloticusSql - create intermediate data from SQL. Similar to SqlResult, just in graphic form. * For example to produce nice looking pagehit statistics or ratings statistics. @@ -156,7 +156,7 @@ //$other_imgtypes = $GLOBALS['PLUGIN_CACHED_IMGTYPES']; //unset ($other_imgtypes[$def['imgtype']]); $helparr = array( - '<?plugin Ploticus ' . + '<<Ploticus ' . 'device' => ' = "' . $def['device'] . "(default)|" . join('|',$GLOBALS['PLUGIN_CACHED_IMGTYPES']).'"', 'data' => ' <!plugin-list !>: pagelist as input', @@ -165,7 +165,7 @@ 'help' => ' bool: displays this screen', '...' => ' all further lines below the first plugin line ', '' => ' and inside the tags are the ploticus script.', - "\n ?>" + "\n >>" ); $length = 0; foreach($helparr as $alignright => $alignleft) { Modified: trunk/lib/plugin/PopUp.php =================================================================== --- trunk/lib/plugin/PopUp.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PopUp.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -25,7 +25,7 @@ * Display a page in a clickable popup link. * * Usage: - * <?plugin PopUp + * <<PopUp * link="HomePage" * title="PopUpped HomePage" * text="Click here to popup the HomePage" @@ -39,8 +39,8 @@ * status=no * menubar=no * copyhistory=no - * ?> - * <?plugin PopUp close=yes ?> + * >> + * <<PopUp close=yes >> */ class WikiPlugin_PopUp Modified: trunk/lib/plugin/PopularNearby.php =================================================================== --- trunk/lib/plugin/PopularNearby.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PopularNearby.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -28,9 +28,9 @@ */ /* Usage: -* <small><?plugin PopularNearby mode=incoming ?></small> -* <small><?plugin PopularNearby mode=outgoing ?></small> -* <small><?plugin PopularNearby mode=nearby ?></small> +* <<PopularNearby mode=incoming >> +* <<PopularNearby mode=outgoing >> +* <<PopularNearby mode=nearby >> */ Modified: trunk/lib/plugin/PopularTags.php =================================================================== --- trunk/lib/plugin/PopularTags.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PopularTags.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -21,8 +21,7 @@ */ /* Usage: - * template tags.tmpl: - * <?plugin PopularTags ?> + * <<PopularTags >> */ require_once('lib/PageList.php'); Modified: trunk/lib/plugin/PrevNext.php =================================================================== --- trunk/lib/plugin/PrevNext.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/PrevNext.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ */ /** - * Usage: <?plugin PrevNext prev=PrevLink next=NextLink ?> + * Usage: <<PrevNext prev=PrevLink next=NextLink >> * See also PageGroup which automatically tries to extract the various links * */ Modified: trunk/lib/plugin/RateIt.php =================================================================== --- trunk/lib/plugin/RateIt.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/RateIt.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -64,13 +64,13 @@ * - Autoclass: simple public domain C library * - MLC++: C++ library http://www.sgi.com/tech/mlc/ * - * Usage: <?plugin RateIt ?> just the widget without text + * Usage: <<RateIt >> just the widget without text * Note: The wikilens theme or any derivate must be enabled, to enable this plugin! - * <?plugin RateIt show=top ?> text plus widget below - * <?plugin RateIt show=ratings ?> to show my ratings - * TODO: <?plugin RateIt show=buddies ?> to show my buddies - * <?plugin RateIt show=ratings dimension=1 ?> - * TODO: <?plugin RateIt show=text ?> just text, no widget, for dumps + * <<RateIt show=top >> text plus widget below + * <<RateIt show=ratings >> to show my ratings + * TODO: <<RateIt show=buddies >> to show my buddies + * <<RateIt show=ratings dimension=1 >> + * TODO: <<RateIt show=text >> just text, no widget, for dumps * * @author: Dan Frankowski (wikilens author), Reini Urban (as plugin) * Modified: trunk/lib/plugin/RedirectTo.php =================================================================== --- trunk/lib/plugin/RedirectTo.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/RedirectTo.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -23,8 +23,8 @@ /** * Redirect to another page or external uri. Kind of PageAlias. * Usage: - * <?plugin RedirectTo href="http://www.internet-technology.de/fourwins_de.htm" ?> - * or <?plugin RedirectTo page=AnotherPage ?> + * <<RedirectTo href="http://www.internet-technology.de/fourwins_de.htm" >> + * or <<RedirectTo page=AnotherPage >> * at the VERY FIRST LINE in the content! Otherwise it will be ignored. * * Author: Reini Urban <ru...@x-...> @@ -65,7 +65,7 @@ if ($href) { /* * Use quotes on the href argument value, like: - * <?plugin RedirectTo href="http://funky.com/a b \" c.htm" ?> + * <<RedirectTo href="http://funky.com/a b \" c.htm" ?> * * Do we want some checking on href to avoid malicious * uses of the plugin? Like stripping tags or hexcode. Modified: trunk/lib/plugin/SqlResult.php =================================================================== --- trunk/lib/plugin/SqlResult.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/SqlResult.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -32,17 +32,17 @@ * TODO: paging * * Usage: - * <?plugin SqlResult alias=mysql + * <<SqlResult alias=mysql * SELECT 'mysql password for string "xx":', * PASSWORD('xx') - * ?> - * <?plugin SqlResult alias=videos template=videos + * >> + * <<SqlResult alias=videos template=videos * SELECT rating,title,date * FROM video * ORDER BY rating DESC * LIMIT 5 - * ?> - * <?plugin SqlResult alias=imdb template=imdbmovies where||="Davies, Jeremy%" + * >> + * <<SqlResult alias=imdb template=imdbmovies where||="Davies, Jeremy%" * SELECT m.title, m.date, n.name, c.role * FROM movies as m, names as n, jobs as j, characters as c * WHERE n.name LIKE "%%where%%" @@ -51,7 +51,7 @@ * AND c.job_id = j.job_id * AND j.description = 'Actor' * ORDER BY m.date DESC - * ?> + * >> * * @author: ReiniUrban */ Modified: trunk/lib/plugin/SyntaxHighlighter.php =================================================================== --- trunk/lib/plugin/SyntaxHighlighter.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/SyntaxHighlighter.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -29,13 +29,13 @@ * syntax: See http://www.andre-simon.de/doku/highlight/highlight.html * style = ["ansi", "gnu", "kr", "java", "linux"] -<?plugin SyntaxHighlighter syntax=c style=kr color=emacs +<<SyntaxHighlighter syntax=c style=kr color=emacs #include <stdio.h> int main() { printf("Lalala\n"); } -?> +>> I did not use beautifier, because it used up more than 8M of memory on my system and PHP killed it. I'm not sure whether this is a problem Modified: trunk/lib/plugin/SystemInfo.php =================================================================== --- trunk/lib/plugin/SystemInfo.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/SystemInfo.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,11 +22,11 @@ */ /** - * Usage: <?plugin SystemInfo all ?> - * or <?plugin SystemInfo pagestats cachestats discspace hitstats ?> - * or <?plugin SystemInfo version ?> - * or <?plugin SystemInfo current_theme ?> - * or <?plugin SystemInfo PHPWIKI_DIR ?> + * Usage: <<SystemInfo all >> + * or <<SystemInfo pagestats cachestats discspace hitstats >> + * or <<SystemInfo version >> + * or <<SystemInfo current_theme >> + * or <<SystemInfo PHPWIKI_DIR >> * * Provide access to phpwiki's lower level system information. * @@ -70,7 +70,7 @@ } function getHtml($dbi, $argarray, $request, $basepage) { $loader = new WikiPluginLoader; - return $loader->expandPI('<?plugin SystemInfo ' + return $loader->expandPI('<<SystemInfo ' . WikiPluginCached::glueArgs($argarray) // all . ' ?>', $request, $this, $basepage); } Modified: trunk/lib/plugin/Template.php =================================================================== --- trunk/lib/plugin/Template.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/Template.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,7 +26,7 @@ * Include text from a wiki page and replace certain placeholders by parameters. * Similiar to CreatePage with the template argument, but at run-time. * Similiar to the mediawiki templates but not with the "|" parameter seperator. - * Usage: <?plugin Template page=TemplateFilm vars="title=rurban&year=1999" ?> + * Usage: <<Template page=TemplateFilm vars="title=rurban&year=1999" >> * Author: Reini Urban * See also: http://meta.wikimedia.org/wiki/Help:Template * @@ -51,7 +51,7 @@ * We support a mediawiki-style syntax extension which maps * {{TemplateFilm|title=Some Good Film|year=1999}} * to - * <?plugin Template page=TemplateFilm vars="title=Some Good Film&year=1999" ?> + * <<Template page=TemplateFilm vars="title=Some Good Film&year=1999" >> */ class WikiPlugin_Template Modified: trunk/lib/plugin/Transclude.php =================================================================== --- trunk/lib/plugin/Transclude.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/Transclude.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -24,9 +24,9 @@ * Transclude: Include an external web page within the body of a wiki page. * * Usage: - * <?plugin Transclude + * <<Transclude * src=http://www.internet-technology.de/fourwins_de.htm - * ?> + * >> * * @author Geoffrey T. Dairiki * Modified: trunk/lib/plugin/TranslateText.php =================================================================== --- trunk/lib/plugin/TranslateText.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/TranslateText.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -24,9 +24,9 @@ * TranslateText: Translation helper * The (bogus) pagename is the text to be translated. * One required argument: lang - * Requires that an action page with the <?plugin TranslateText ?> line exists. + * Requires that an action page with the <<TranslateText >> line exists. * - * Usually called from <?plugin _WikiTranslation ?> + * Usually called from <<_WikiTranslation >> * Contributed translation are stored in UsersPage/ContributedTranslations * * Examples: Modified: trunk/lib/plugin/UnfoldSubpages.php =================================================================== --- trunk/lib/plugin/UnfoldSubpages.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/UnfoldSubpages.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -25,7 +25,7 @@ * This is e.g. useful for the CalendarPlugin, to see all entries at once. * Warning: Better don't use it with non-existant sections! * The section extractor is currently quite unstable. - * Usage: <?plugin UnfoldSubpages sortby=-mtime words=50 maxpages=5 ?> + * Usage: <<UnfoldSubpages sortby=-mtime words=50 maxpages=5 >> * Author: Reini Urban <ru...@x-...> */ Modified: trunk/lib/plugin/UpLoad.php =================================================================== --- trunk/lib/plugin/UpLoad.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/UpLoad.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -25,7 +25,7 @@ /** * UpLoad: Allow Administrator to upload files to a special directory, * which should preferably be added to the InterWikiMap - * Usage: <?plugin UpLoad ?> + * Usage: <<UpLoad >> * Author: NathanGass <ga...@io...> * Changes: ReiniUrban <ru...@x-...>, * qubit <rt...@da...> Modified: trunk/lib/plugin/UserRatings.php =================================================================== --- trunk/lib/plugin/UserRatings.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/UserRatings.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -32,7 +32,7 @@ /** * Show a user's ratings in a table, using PageList. * Usage: - * <?plugin UserRatings ?> + * <<UserRatings >> * * This only works with the "wikilens" theme. */ Modified: trunk/lib/plugin/VisualWiki.php =================================================================== --- trunk/lib/plugin/VisualWiki.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/VisualWiki.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -176,7 +176,7 @@ $other_imgtypes = $GLOBALS['PLUGIN_CACHED_IMGTYPES']; unset ($other_imgtypes[$def['imgtype']]); $helparr = array( - '<?plugin '.$this->getName() . + '<<'.$this->getName() . ' img' => ' = "' . $def['imgtype'] . "(default)|" . join('|',$GLOBALS['PLUGIN_CACHED_IMGTYPES']).'"', 'width' => ' = "width in inches"', 'height' => ' = "height in inches"', @@ -192,7 +192,7 @@ 'backlink_nb' => ' = "number of pages with most backlinks"', 'neighbour_list' => ' = "find pages linked from and to these pages"', 'exclude_list' => ' = "colon separated list of pages to be excluded"', - 'include_list' => ' = "colon separated list" ?>' + 'include_list' => ' = "colon separated list" >>' ); $length = 0; foreach($helparr as $alignright => $alignleft) { Modified: trunk/lib/plugin/WikiAdminChmod.php =================================================================== --- trunk/lib/plugin/WikiAdminChmod.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminChmod.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -25,7 +25,7 @@ * Set individual PagePermissions, simplifying effective ACLs to * unix-like rwxr--r--+ permissions. (as in cygwin) * - * Usage: <?plugin WikiAdminChmod ?> or called via WikiAdminSelect + * Usage: <<WikiAdminChmod >> or called via WikiAdminSelect * Author: Reini Urban <ru...@x-...> * * KNOWN ISSUES: Modified: trunk/lib/plugin/WikiAdminChown.php =================================================================== --- trunk/lib/plugin/WikiAdminChown.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminChown.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ */ /** - * Usage: <?plugin WikiAdminChown s||=* ?> or called via WikiAdminSelect + * Usage: <<WikiAdminChown s||=* >> or called via WikiAdminSelect * @author: Reini Urban <ru...@x-...> * * KNOWN ISSUES: Modified: trunk/lib/plugin/WikiAdminMarkup.php =================================================================== --- trunk/lib/plugin/WikiAdminMarkup.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminMarkup.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ */ /** - * Usage: <?plugin WikiAdminMarkup s||=* ?> or called via WikiAdminSelect + * Usage: <<WikiAdminMarkup s||=* >> or called via WikiAdminSelect * @author: Reini Urban <ru...@x-...> * * KNOWN ISSUES: Modified: trunk/lib/plugin/WikiAdminPurge.php =================================================================== --- trunk/lib/plugin/WikiAdminPurge.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminPurge.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ */ /** - * Usage: <?plugin WikiAdminPurge?> + * Usage: <<WikiAdminPurge>> */ require_once('lib/PageList.php'); require_once('lib/plugin/WikiAdminSelect.php'); Modified: trunk/lib/plugin/WikiAdminRemove.php =================================================================== --- trunk/lib/plugin/WikiAdminRemove.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminRemove.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ */ /** - * Usage: <?plugin WikiAdminRemove?> + * Usage: <<WikiAdminRemove>> * Author: Reini Urban <ru...@x-...> * * KNOWN ISSUES: Modified: trunk/lib/plugin/WikiAdminRename.php =================================================================== --- trunk/lib/plugin/WikiAdminRename.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminRename.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ */ /** - * Usage: <?plugin WikiAdminRename ?> or called via WikiAdminSelect + * Usage: <<WikiAdminRename >> or called via WikiAdminSelect * @author: Reini Urban <ru...@x-...> * * KNOWN ISSUES: Modified: trunk/lib/plugin/WikiAdminSearchReplace.php =================================================================== --- trunk/lib/plugin/WikiAdminSearchReplace.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminSearchReplace.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -22,7 +22,7 @@ */ /** - * Usage: <?plugin WikiAdminSearchReplace ?> or called via WikiAdminSelect + * Usage: <<WikiAdminSearchReplace >> or called via WikiAdminSelect * Author: Reini Urban <ru...@x-...> * * KNOWN ISSUES: Modified: trunk/lib/plugin/WikiAdminSelect.php =================================================================== --- trunk/lib/plugin/WikiAdminSelect.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminSelect.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -25,7 +25,7 @@ * Allows selection of multiple pages which get passed to other * WikiAdmin plugins then. Then do Rename, Remove, Chmod, Chown, ... * - * Usage: <?plugin WikiAdminSelect?> + * Usage: <<WikiAdminSelect>> * Author: Reini Urban <ru...@x-...> * * This is the base class for most WikiAdmin* classes, using Modified: trunk/lib/plugin/WikiAdminSetAcl.php =================================================================== --- trunk/lib/plugin/WikiAdminSetAcl.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiAdminSetAcl.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -24,7 +24,7 @@ /** * Set individual PagePermissions * - * Usage: <?plugin WikiAdminSetAcl ?> or called via WikiAdminSelect + * Usage: <<WikiAdminSetAcl >> or called via WikiAdminSelect * Author: Reini Urban <ru...@x-...> * * KNOWN ISSUES: Modified: trunk/lib/plugin/WikiBlog.php =================================================================== --- trunk/lib/plugin/WikiBlog.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiBlog.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -31,7 +31,7 @@ * particular page and provides an input form for adding a new blog. * * USAGE: - * Add <?plugin WikiBlog ?> at your PersonalPage and BlogArchive and + * Add <<WikiBlog >> at your PersonalPage and BlogArchive and * BlogJournal will find the Blog entries automatically. * * Now it is also the base class for all attachable pagetypes: @@ -41,9 +41,9 @@ * * To have the blog show up on a seperate page: * On TopPage, use - * <?plugin WikiBlog mode=add?> + * <<WikiBlog mode=add>> * Create TopPage/Blog with this page as actionpage: - * <?plugin WikiBlog pagename=TopPage mode=show?> + * <<WikiBlog pagename=TopPage mode=show>> * * To have the main ADMIN_USER Blog appear under Blog and not under WikiBlog/Blog * or UserName/Blog as for other users blogs, Modified: trunk/lib/plugin/WikiFormRich.php =================================================================== --- trunk/lib/plugin/WikiFormRich.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiFormRich.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -52,46 +52,46 @@ * some allow values as list from from <!plugin-list !> Samples: - <?plugin WikiFormRich action=dumpserial method=get + <<WikiFormRich action=dumpserial method=get checkbox[] name=include value="all" editbox[] name=directory value=DEFAULT_DUMP_DIR editbox[] name=pages value=* - editbox[] name=exclude value="" ?> - <?plugin WikiFormRich action=dumphtml method=get + editbox[] name=exclude value="" >> + <<WikiFormRich action=dumphtml method=get editbox[] name=directory value=HTML_DUMP_DIR editbox[] name=pages value="*" - editbox[] name=exclude value="" ?> - <?plugin WikiFormRich action=loadfile method=get + editbox[] name=exclude value="" >> + <<WikiFormRich action=loadfile method=get editbox[] name=source value=DEFAULT_WIKI_PGSRC checkbox[] name=overwrite value=1 - editbox[] name=exclude value="" ?> - <?plugin WikiFormRich action=TitleSearch method=get class=wikiadmin nobr=1 + editbox[] name=exclude value="" >> + <<WikiFormRich action=TitleSearch method=get class=wikiadmin nobr=1 editbox[] name=s text="" submit[] checkbox[] name=case_exact - checkbox[] name=regex ?> - <?plugin WikiFormRich action=FullTextSearch method=get class=wikiadmin nobr=1 + checkbox[] name=regex >> + <<WikiFormRich action=FullTextSearch method=get class=wikiadmin nobr=1 editbox[] name=s text="" submit[] checkbox[] name=case_exact - checkbox[] name=regex ?> - <?plugin WikiFormRich action=FuzzyPages method=get class=wikiadmin nobr=1 + checkbox[] name=regex >> + <<WikiFormRich action=FuzzyPages method=get class=wikiadmin nobr=1 editbox[] name=s text="" submit[] checkbox[] name=case_exact ?> - <?plugin WikiFormRich action=AppendText buttontext="AddPlugin" + <<WikiFormRich action=AppendText buttontext="AddPlugin" radio[] name=s value=<!plugin-list BackLinks page=WikiPlugin limit=10 !> ?> - <?plugin WikiFormRich action=AppendText buttontext="AddPlugin" + <<WikiFormRich action=AppendText buttontext="AddPlugin" pulldown[] name=s text="Plugins: " value=<!plugin-list BackLinks page=WikiPlugin !> ?> - <?plugin WikiFormRich action=AppendText buttontext="AddCategory" + <<WikiFormRich action=AppendText buttontext="AddCategory" pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !> ?> - <?plugin WikiFormRich action=SemanticSearch buttontext="AddRelation" + <<WikiFormRich action=SemanticSearch buttontext="AddRelation" combobox[] name=relation text="Relation: " method=listRelations ?> - <?plugin WikiFormRich action=AppendText buttontext="InsertTemplate" + <<WikiFormRich action=AppendText buttontext="InsertTemplate" combobox[] name=s text="Template: " method=titleSearch args="Template/" ?> */ Modified: trunk/lib/plugin/WikiForum.php =================================================================== --- trunk/lib/plugin/WikiForum.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiForum.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -25,13 +25,13 @@ * particular page (one page per topic) and provides an input form for * adding a new message. * - * <?plugin WikiForum ?> + * <<WikiForum>> * * To provide information for the MainForum page (CategoryForum) * summary output mode is possible. * - * <?plugin WikiForum page=SubTopic1 mode=summary info=title,numposts,ctime,author ?> - * <?plugin WikiForum page=SubTopic2 mode=summary info=title,numposts,ctime,author ?> + * <<WikiForum page=SubTopic1 mode=summary info=title,numposts,ctime,author >> + * <<WikiForum page=SubTopic2 mode=summary info=title,numposts,ctime,author >> * * TODO: For admin user, put checkboxes beside comments to allow for bulk removal. * threaded identation for level of reply Modified: trunk/lib/plugin/WikiPoll.php =================================================================== --- trunk/lib/plugin/WikiPoll.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/WikiPoll.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -24,7 +24,7 @@ * This plugin provides configurable polls. * * Usage: -<?plugin WikiPoll require_all=0 require_least=2 +<<WikiPoll require_all=0 require_least=2 question[1]="Do you like PhpWiki?" answer[1][1]="Yes" answer[1][2]="Do not know" answer[1][3]="No" question[2]="Do you have PhpWiki installed by your own?" @@ -38,10 +38,10 @@ question[5]="Which PhpWiki version do you use?" answer[5][1]="1.2.x" answer[5][2]="1.3.1-12" answer[5][3]="1.3.13" answer[5][4]="1.3.14" -?> +>> * * Administration: - * <?plugin WikiPoll page=PhpWikiPoll admin=1 ?> + * <<WikiPoll page=PhpWikiPoll admin=1 >> * and protect this page properly (e.g. PhpWikiPoll/Admin) * * TODO: Modified: trunk/lib/plugin/_WikiTranslation.php =================================================================== --- trunk/lib/plugin/_WikiTranslation.php 2010-05-26 12:10:14 UTC (rev 7446) +++ trunk/lib/plugin/_WikiTranslation.php 2010-05-31 11:29:39 UTC (rev 7447) @@ -26,17 +26,17 @@ * Current favorite: translate.google.com if from_lang = en or fr * * Examples: - * <?plugin _WikiTranslation page=HomePage languages=fr ?> + * <<_WikiTranslation page=HomePage languages=fr >> * Translation service for HomePage into french (redirect to translate.google.com) - * <?plugin _WikiTranslation what=pages ?> + * <<_WikiTranslation what=pages >> * Translation matrix of all pages with proper translations (all in pgsrc) - * <?plugin _WikiTranslation what=wikiwords match="W*" limit=20 ?> + * <<_WikiTranslation what=wikiwords match="W*" limit=20 >> * Translation matrix of the first 20 wikiwords matching "W*" - * <?plugin _WikiTranslation string=HomePage languages=fr,de,sv ?> + * <<_WikiTranslation string=HomePage languages=fr,de,sv >> * Translation matrix for all given languages - * <?plugin _WikiTranslation string=HomePage ?> + * <<_WikiTranslation string=HomePage >> * Translation matrix for all supported languages - * <?plugin _WikiTranslation string=HomePage languages=fr ?> + * <<_WikiTranslation string=HomePage languages=fr >> * Just return the translated string for this language. * * @author: Reini Urban This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |