From: <var...@us...> - 2010-05-19 08:58:08
|
Revision: 7414 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7414&view=rev Author: vargenau Date: 2010-05-19 08:57:58 +0000 (Wed, 19 May 2010) Log Message: ----------- version of plugins no longer makes sense with Subversion global version number Modified Paths: -------------- trunk/lib/WikiPlugin.php trunk/lib/plugin/AddComment.php trunk/lib/plugin/AllPages.php trunk/lib/plugin/AllUsers.php trunk/lib/plugin/AnalyseAccessLogSql.php trunk/lib/plugin/AppendText.php trunk/lib/plugin/AsciiMath.php trunk/lib/plugin/AsciiSVG.php trunk/lib/plugin/AuthorHistory.php trunk/lib/plugin/BackLinks.php trunk/lib/plugin/BlogArchives.php trunk/lib/plugin/BlogJournal.php trunk/lib/plugin/BoxRight.php trunk/lib/plugin/CacheTest.php trunk/lib/plugin/Calendar.php trunk/lib/plugin/CalendarList.php trunk/lib/plugin/CategoryPage.php trunk/lib/plugin/Chart.php trunk/lib/plugin/Comment.php trunk/lib/plugin/CreateBib.php trunk/lib/plugin/CreatePage.php trunk/lib/plugin/CreateToc.php trunk/lib/plugin/CurrentTime.php trunk/lib/plugin/Diff.php trunk/lib/plugin/DynamicIncludePage.php trunk/lib/plugin/EditMetaData.php trunk/lib/plugin/ExternalSearch.php trunk/lib/plugin/FileInfo.php trunk/lib/plugin/FoafViewer.php trunk/lib/plugin/FrameInclude.php trunk/lib/plugin/FullTextSearch.php trunk/lib/plugin/FuzzyPages.php trunk/lib/plugin/GoTo.php trunk/lib/plugin/GoogleMaps.php trunk/lib/plugin/GooglePlugin.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/IncludeSiteMap.php trunk/lib/plugin/IncludeTree.php trunk/lib/plugin/InterWikiSearch.php trunk/lib/plugin/JabberPresence.php trunk/lib/plugin/LdapSearch.php trunk/lib/plugin/LikePages.php trunk/lib/plugin/LinkDatabase.php trunk/lib/plugin/LinkSearch.php trunk/lib/plugin/ListPages.php trunk/lib/plugin/ListRelations.php trunk/lib/plugin/ListSubpages.php trunk/lib/plugin/MediawikiTable.php trunk/lib/plugin/ModeratedPage.php trunk/lib/plugin/MostPopular.php trunk/lib/plugin/NewPagesPerUser.php trunk/lib/plugin/NoCache.php trunk/lib/plugin/OldStyleTable.php trunk/lib/plugin/OrphanedPages.php trunk/lib/plugin/PageDump.php trunk/lib/plugin/PageGroup.php trunk/lib/plugin/PageHistory.php trunk/lib/plugin/PageInfo.php trunk/lib/plugin/PageTrail.php trunk/lib/plugin/PasswordReset.php trunk/lib/plugin/PhotoAlbum.php trunk/lib/plugin/PhpHighlight.php trunk/lib/plugin/PhpWeather.php trunk/lib/plugin/Ploticus.php trunk/lib/plugin/PluginManager.php trunk/lib/plugin/PopUp.php trunk/lib/plugin/PopularNearby.php trunk/lib/plugin/PopularTags.php trunk/lib/plugin/PreferenceApp.php trunk/lib/plugin/PrevNext.php trunk/lib/plugin/Processing.php trunk/lib/plugin/RandomPage.php trunk/lib/plugin/RateIt.php trunk/lib/plugin/RawHtml.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/RecentChangesCached.php trunk/lib/plugin/RecentComments.php trunk/lib/plugin/RecentEdits.php trunk/lib/plugin/RecentReferrers.php trunk/lib/plugin/RedirectTo.php trunk/lib/plugin/RelatedChanges.php trunk/lib/plugin/RichTable.php trunk/lib/plugin/RssFeed.php trunk/lib/plugin/SearchHighlight.php trunk/lib/plugin/SemanticRelations.php trunk/lib/plugin/SemanticSearch.php trunk/lib/plugin/SemanticSearchAdvanced.php trunk/lib/plugin/SiteMap.php trunk/lib/plugin/SpellCheck.php trunk/lib/plugin/SqlResult.php trunk/lib/plugin/SyncWiki.php trunk/lib/plugin/SyntaxHighlighter.php trunk/lib/plugin/SystemInfo.php trunk/lib/plugin/TeX2png.php trunk/lib/plugin/Template.php trunk/lib/plugin/TexToPng.php trunk/lib/plugin/TitleSearch.php trunk/lib/plugin/Transclude.php trunk/lib/plugin/TranslateText.php trunk/lib/plugin/UnfoldSubpages.php trunk/lib/plugin/UpLoad.php trunk/lib/plugin/UriResolver.php trunk/lib/plugin/UserPreferences.php trunk/lib/plugin/UserRatings.php trunk/lib/plugin/Video.php trunk/lib/plugin/VisualWiki.php trunk/lib/plugin/WantedPages.php trunk/lib/plugin/WantedPagesOld.php trunk/lib/plugin/WatchPage.php trunk/lib/plugin/WhoIsOnline.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/WikiAdminSetExternal.php trunk/lib/plugin/WikiAdminUtils.php trunk/lib/plugin/WikiBlog.php trunk/lib/plugin/WikiForm.php trunk/lib/plugin/WikiFormRich.php trunk/lib/plugin/WikiForum.php trunk/lib/plugin/WikiPoll.php trunk/lib/plugin/WikicreoleTable.php trunk/lib/plugin/YouTube.php trunk/lib/plugin/_AuthInfo.php trunk/lib/plugin/_BackendInfo.php trunk/lib/plugin/_GroupInfo.php trunk/lib/plugin/_PreferencesInfo.php trunk/lib/plugin/_Retransform.php trunk/lib/plugin/_WikiTranslation.php trunk/lib/plugin/text2png.php trunk/locale/de/pgsrc/Hilfe%2FHalloWeltPlugin trunk/locale/de/pgsrc/Hilfe%2FWikiPlugin trunk/locale/fr/pgsrc/Aide%2FPluginBonjourLeMonde trunk/locale/zh/pgsrc/HelloWorldPlugin trunk/pgsrc/Help%2FHelloWorldPlugin trunk/pgsrc/Help%2FWikiPlugin Modified: trunk/lib/WikiPlugin.php =================================================================== --- trunk/lib/WikiPlugin.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/WikiPlugin.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -83,13 +83,6 @@ return $this->getName(); } - // plugins should override this with the commented-out code - function getVersion() { - return _("n/a"); - //return preg_replace("/[Revision: $]/", '', - // "\$Revision: 1.67 $"); - } - function getArgs($argstr, $request=false, $defaults=false) { if ($defaults === false) { $defaults = $this->getDefaultArguments(); Modified: trunk/lib/plugin/AddComment.php =================================================================== --- trunk/lib/plugin/AddComment.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/AddComment.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -43,11 +43,6 @@ return sprintf(_("Show and add comments for %s"),'[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // Arguments: // // page - page where the comment is attached at (default current page) Modified: trunk/lib/plugin/AllPages.php =================================================================== --- trunk/lib/plugin/AllPages.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/AllPages.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -38,11 +38,6 @@ return _("List all pages in this wiki."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/AllUsers.php =================================================================== --- trunk/lib/plugin/AllUsers.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/AllUsers.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -41,11 +41,6 @@ return _("List all once authenticated users."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/AnalyseAccessLogSql.php =================================================================== --- trunk/lib/plugin/AnalyseAccessLogSql.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/AnalyseAccessLogSql.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -256,11 +256,6 @@ return _("Show summary information from the access log table."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function run($dbi, $argstr, &$request, $basepage) { // flag that the output may not be cached - i.e. it is dynamic $request->setArg('nocache', 1); Modified: trunk/lib/plugin/AppendText.php =================================================================== --- trunk/lib/plugin/AppendText.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/AppendText.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -41,11 +41,6 @@ return _("Append text to any page in this wiki."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('page' => '[pagename]', 'pages' => false, Modified: trunk/lib/plugin/AsciiMath.php =================================================================== --- trunk/lib/plugin/AsciiMath.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/AsciiMath.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -53,11 +53,6 @@ return _("Render ASCII Math as MathML"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array(); } Modified: trunk/lib/plugin/AsciiSVG.php =================================================================== --- trunk/lib/plugin/AsciiSVG.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/AsciiSVG.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -36,11 +36,6 @@ return _("Render inline ASCII SVG"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('width' => 200, 'height' => 200, Modified: trunk/lib/plugin/AuthorHistory.php =================================================================== --- trunk/lib/plugin/AuthorHistory.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/AuthorHistory.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -69,11 +69,6 @@ return sprintf(_("List all page revisions edited by one user with diff links, or show a PageHistory-like list of a single page for only one user.")); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { global $request; return array('exclude' => '', Modified: trunk/lib/plugin/BackLinks.php =================================================================== --- trunk/lib/plugin/BackLinks.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/BackLinks.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -20,8 +20,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/** - */ require_once('lib/PageList.php'); class WikiPlugin_BackLinks @@ -35,11 +33,6 @@ return sprintf(_("List all pages which link to %s."), '[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/BlogArchives.php =================================================================== --- trunk/lib/plugin/BlogArchives.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/BlogArchives.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -43,11 +43,6 @@ return _("List blog months links for the current or ADMIN user"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return //array_merge //( Modified: trunk/lib/plugin/BlogJournal.php =================================================================== --- trunk/lib/plugin/BlogJournal.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/BlogJournal.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -42,11 +42,6 @@ return _("Include latest blog entries for the current or ADMIN user"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('count' => 7, 'user' => '', Modified: trunk/lib/plugin/BoxRight.php =================================================================== --- trunk/lib/plugin/BoxRight.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/BoxRight.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -34,11 +34,6 @@ return _("A simple plugin for <div class=boxright> with wikimarkup"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array(); } Modified: trunk/lib/plugin/CacheTest.php =================================================================== --- trunk/lib/plugin/CacheTest.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/CacheTest.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -68,11 +68,6 @@ return 'This is a simple example using WikiPluginCached.'; } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('text' => $this->getDescription(), 'font' => '3', Modified: trunk/lib/plugin/Calendar.php =================================================================== --- trunk/lib/plugin/Calendar.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/Calendar.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -45,11 +45,6 @@ return _("Calendar"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('prefix' => '[pagename]' . SUBPAGE_SEPARATOR, 'date_format' => '%Y-%m-%d', Modified: trunk/lib/plugin/CalendarList.php =================================================================== --- trunk/lib/plugin/CalendarList.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/CalendarList.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -58,11 +58,6 @@ return _("CalendarList"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('prefix' => '[pagename]', 'date_format' => '%Y-%m-%d', Modified: trunk/lib/plugin/CategoryPage.php =================================================================== --- trunk/lib/plugin/CategoryPage.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/CategoryPage.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -48,11 +48,6 @@ return _("Create a Wiki page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array(// Assume the categories are listed on the HomePage 'exclude' => false, Modified: trunk/lib/plugin/Chart.php =================================================================== --- trunk/lib/plugin/Chart.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/Chart.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -54,11 +54,6 @@ return _("Render SVG charts"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('width' => 200, 'height' => 200, Modified: trunk/lib/plugin/Comment.php =================================================================== --- trunk/lib/plugin/Comment.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/Comment.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -45,14 +45,8 @@ function getDescription() { return _("Embed hidden comments in WikiPages."); - } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // No arguments here. function getDefaultArguments() { return array(); Modified: trunk/lib/plugin/CreateBib.php =================================================================== --- trunk/lib/plugin/CreateBib.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/CreateBib.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -40,11 +40,6 @@ return _("Automatically create a Bibtex file from linked pages"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'pagename' => '[pagename]', // The page from which the BibTex file is generated ); Modified: trunk/lib/plugin/CreatePage.php =================================================================== --- trunk/lib/plugin/CreatePage.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/CreatePage.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -46,11 +46,6 @@ return _("Create a Wiki page by the provided name."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('s' => false, 'initial_content' => '', Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/CreateToc.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -52,11 +52,6 @@ return _("Create a Table of Contents and automatically link to headers"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('extracollapse' => 1, // provide an entry +/- link to collapse 'firstlevelstyle' => 'number', // 'number', 'letter' or 'roman' Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/CurrentTime.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -53,8 +53,6 @@ class WikiPlugin_CurrentTime extends WikiPlugin { - // Five required functions in a WikiPlugin. - function getName () { return _("CurrentTime"); } @@ -64,11 +62,6 @@ } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // Establish default values for each of this plugin's arguments. function getDefaultArguments() { return array('format' => '%Y-%m-%d %T'); Modified: trunk/lib/plugin/Diff.php =================================================================== --- trunk/lib/plugin/Diff.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/Diff.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -27,7 +27,6 @@ * Would make sense to see arbitrary diff's between any files or revisions. */ -//require_once('lib/difflib.php'); require_once('lib/diff.php'); class WikiPlugin_Diff @@ -41,11 +40,6 @@ return _("Display differences between revisions"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // Establish default values for each of this plugin's arguments. // todo: makes only sense with more args. function getDefaultArguments() { Modified: trunk/lib/plugin/DynamicIncludePage.php =================================================================== --- trunk/lib/plugin/DynamicIncludePage.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/DynamicIncludePage.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -39,11 +39,6 @@ return _("Dynamicly include text from another wiki page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge (WikiPlugin_IncludePage::getDefaultArguments(), Modified: trunk/lib/plugin/EditMetaData.php =================================================================== --- trunk/lib/plugin/EditMetaData.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/EditMetaData.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -52,11 +52,6 @@ return sprintf(_("Edit metadata for %s"), '[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('page' => '[pagename]' ); Modified: trunk/lib/plugin/ExternalSearch.php =================================================================== --- trunk/lib/plugin/ExternalSearch.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/ExternalSearch.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -45,11 +45,6 @@ //fixme: better description } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function _getInterWikiUrl(&$request) { $intermap = getInterwikiMap(); $map = $intermap->_map; Modified: trunk/lib/plugin/FileInfo.php =================================================================== --- trunk/lib/plugin/FileInfo.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/FileInfo.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -44,11 +44,6 @@ return _("Display file information like version, size, date... of uploaded files."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'file' => false, // relative path from PHPWIKI_DIR. (required) Modified: trunk/lib/plugin/FoafViewer.php =================================================================== --- trunk/lib/plugin/FoafViewer.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/FoafViewer.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -73,11 +73,6 @@ return _("Parse an RDF FOAF file and extract information to render as HTML"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'foaf' => false, // the URI to parse //'userid' => false, Modified: trunk/lib/plugin/FrameInclude.php =================================================================== --- trunk/lib/plugin/FrameInclude.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/FrameInclude.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -56,11 +56,6 @@ return _("Displays a url in a seperate frame inside our body. Only one frame allowed."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'src' => false, // the src url to include 'page' => false, Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/FullTextSearch.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -50,11 +50,6 @@ return _("Search the content of all pages in this wiki."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/FuzzyPages.php =================================================================== --- trunk/lib/plugin/FuzzyPages.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/FuzzyPages.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -44,11 +44,6 @@ '[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('s' => false, 'debug' => false); Modified: trunk/lib/plugin/GoTo.php =================================================================== --- trunk/lib/plugin/GoTo.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/GoTo.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -41,11 +41,6 @@ return _("Go to or create page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('size' => 32); } Modified: trunk/lib/plugin/GoogleMaps.php =================================================================== --- trunk/lib/plugin/GoogleMaps.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/GoogleMaps.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -67,11 +67,6 @@ return _("Displays a marker with further infos (when clicking) on given coordinates"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'Longitude' => '', Modified: trunk/lib/plugin/GooglePlugin.php =================================================================== --- trunk/lib/plugin/GooglePlugin.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/GooglePlugin.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -47,11 +47,6 @@ return _("Make use of the Google API"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('q' => '', 'mode' => 'search', // or 'cache' or 'spell' Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/GraphViz.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -120,10 +120,6 @@ function managesValidators() { return true; } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function getDefaultArguments() { return array( 'imgtype' => 'png', // png,gif,svgz,svg,... Modified: trunk/lib/plugin/HelloWorld.php =================================================================== --- trunk/lib/plugin/HelloWorld.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/HelloWorld.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -40,7 +40,7 @@ class WikiPlugin_HelloWorld extends WikiPlugin { - // Five required functions in a WikiPlugin. + // Four required functions in a WikiPlugin. function getName () { return _("HelloWorld"); @@ -51,11 +51,6 @@ } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // Establish default values for each of this plugin's arguments. function getDefaultArguments() { return array('salutation' => "Hello,", Modified: trunk/lib/plugin/HtmlConverter.php =================================================================== --- trunk/lib/plugin/HtmlConverter.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/HtmlConverter.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -41,11 +41,6 @@ return _("Convert HTML markup into wiki markup."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array(); } Modified: trunk/lib/plugin/Imdb.php =================================================================== --- trunk/lib/plugin/Imdb.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/Imdb.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -59,11 +59,6 @@ return _("Query a local imdb database"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'query' => false, // what Modified: trunk/lib/plugin/IncludePage.php =================================================================== --- trunk/lib/plugin/IncludePage.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/IncludePage.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -38,11 +38,6 @@ return _("Include text from another wiki page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'page' => false, // the page to include 'rev' => false, // the revision (defaults to most recent) Modified: trunk/lib/plugin/IncludePages.php =================================================================== --- trunk/lib/plugin/IncludePages.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/IncludePages.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -39,11 +39,6 @@ return _("Include multiple pages."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge( array( 'pages' => false, // the pages to include Modified: trunk/lib/plugin/IncludeSiteMap.php =================================================================== --- trunk/lib/plugin/IncludeSiteMap.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/IncludeSiteMap.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -57,11 +57,6 @@ $this->_pagename); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('exclude' => '', 'include_self' => 0, Modified: trunk/lib/plugin/IncludeTree.php =================================================================== --- trunk/lib/plugin/IncludeTree.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/IncludeTree.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -43,11 +43,6 @@ return _("Dynamic Category Tree"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('exclude' => '', 'include_self' => 0, Modified: trunk/lib/plugin/InterWikiSearch.php =================================================================== --- trunk/lib/plugin/InterWikiSearch.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/InterWikiSearch.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -35,11 +35,6 @@ return _("Perform searches on InterWiki sites listed in InterWikiMap."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('s' => '', 'formsize' => 30, Modified: trunk/lib/plugin/JabberPresence.php =================================================================== --- trunk/lib/plugin/JabberPresence.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/JabberPresence.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -38,21 +38,14 @@ class WikiPlugin_JabberPresence extends WikiPlugin { - // Five required functions in a WikiPlugin. function getName () { return _("JabberPresence"); } function getDescription () { return _("Simple jabber presence plugin"); - } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // Establish default values for each of this plugin's arguments. function getDefaultArguments() { return array('scripturl' => "http://edgar.netflint.net/status.php", Modified: trunk/lib/plugin/LdapSearch.php =================================================================== --- trunk/lib/plugin/LdapSearch.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/LdapSearch.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -55,12 +55,7 @@ } function getDescription () { return _("Search an LDAP directory"); - } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function getDefaultArguments() { return array('host' => "", // default: LDAP_AUTH_HOST 'port' => 389, // ignored if host = full uri Modified: trunk/lib/plugin/LikePages.php =================================================================== --- trunk/lib/plugin/LikePages.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/LikePages.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -23,8 +23,6 @@ require_once('lib/TextSearchQuery.php'); require_once('lib/PageList.php'); -/** - */ class WikiPlugin_LikePages extends WikiPlugin { @@ -37,11 +35,6 @@ '[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/LinkDatabase.php =================================================================== --- trunk/lib/plugin/LinkDatabase.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/LinkDatabase.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -47,10 +47,6 @@ function getDescription () { return _("List all pages with all links in various formats for some Java Visualization tools"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function getExpire($dbi, $argarray, $request) { return '+900'; // 15 minutes } Modified: trunk/lib/plugin/LinkSearch.php =================================================================== --- trunk/lib/plugin/LinkSearch.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/LinkSearch.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -37,10 +37,6 @@ function getDescription() { return _("Search page and link names"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/ListPages.php =================================================================== --- trunk/lib/plugin/ListPages.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/ListPages.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -42,11 +42,6 @@ return _("List pages that are explicitly given as the pages argument."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/ListRelations.php =================================================================== --- trunk/lib/plugin/ListRelations.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/ListRelations.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -36,10 +36,6 @@ function getDescription() { return _("Display the list of all defined relations and optionnally attributes in this entire wiki"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/ListSubpages.php =================================================================== --- trunk/lib/plugin/ListSubpages.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/ListSubpages.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -38,11 +38,6 @@ return _("Lists the names of all SubPages of the current page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/MediawikiTable.php =================================================================== --- trunk/lib/plugin/MediawikiTable.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/MediawikiTable.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -64,11 +64,6 @@ return array(); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function run($dbi, $argstr, &$request, $basepage) { include_once("lib/BlockParser.php"); // MediawikiTablePlugin markup is new. Modified: trunk/lib/plugin/ModeratedPage.php =================================================================== --- trunk/lib/plugin/ModeratedPage.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/ModeratedPage.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -44,10 +44,6 @@ function getDescription () { return _("Support moderated pages"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function getDefaultArguments() { return array('page' => '[pagename]', 'moderators' => false, Modified: trunk/lib/plugin/MostPopular.php =================================================================== --- trunk/lib/plugin/MostPopular.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/MostPopular.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -34,11 +34,6 @@ return _("List the most popular pages."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/NewPagesPerUser.php =================================================================== --- trunk/lib/plugin/NewPagesPerUser.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/NewPagesPerUser.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -39,11 +39,6 @@ return _("List all new pages per month per user"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('userid' => '', 'month' => 0, Modified: trunk/lib/plugin/NoCache.php =================================================================== --- trunk/lib/plugin/NoCache.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/NoCache.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -44,11 +44,6 @@ return _("Don't cache this page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'nocache' => 1 ); } Modified: trunk/lib/plugin/OldStyleTable.php =================================================================== --- trunk/lib/plugin/OldStyleTable.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/OldStyleTable.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -54,11 +54,6 @@ return _("Layout tables using the old markup style."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'caption' => '', Modified: trunk/lib/plugin/OrphanedPages.php =================================================================== --- trunk/lib/plugin/OrphanedPages.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/OrphanedPages.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -27,8 +27,6 @@ **/ require_once('lib/PageList.php'); -/** - */ class WikiPlugin_OrphanedPages extends WikiPlugin { @@ -40,11 +38,6 @@ return _("List pages which are not linked to by any other page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('noheader' => false, 'include_empty' => false, Modified: trunk/lib/plugin/PageDump.php =================================================================== --- trunk/lib/plugin/PageDump.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PageDump.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -59,11 +59,6 @@ return _("View a single page dump online."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('s' => false, 'page' => '[pagename]', Modified: trunk/lib/plugin/PageGroup.php =================================================================== --- trunk/lib/plugin/PageGroup.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PageGroup.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -49,11 +49,6 @@ return sprintf(_("PageGroup for %s"),'[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'parent' => '', Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PageHistory.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -20,8 +20,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/** - */ require_once("lib/plugin/RecentChanges.php"); class _PageHistory_PageRevisionIter @@ -273,11 +271,6 @@ return sprintf(_("List PageHistory for %s"),'[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('days' => false, 'show_minor' => true, Modified: trunk/lib/plugin/PageInfo.php =================================================================== --- trunk/lib/plugin/PageInfo.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PageInfo.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -37,11 +37,6 @@ '[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('page' => '[pagename]', 'version' => '[version]'); Modified: trunk/lib/plugin/PageTrail.php =================================================================== --- trunk/lib/plugin/PageTrail.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PageTrail.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -47,14 +47,8 @@ function getDescription () { return _("PageTrail Plugin"); - } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // default values function getDefaultArguments() { return array('numberlinks' => $this->def_numberlinks, Modified: trunk/lib/plugin/PasswordReset.php =================================================================== --- trunk/lib/plugin/PasswordReset.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PasswordReset.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -46,11 +46,6 @@ return _("Allow admin to reset any users password, allow user to request his password by e-mail."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('user' => ''); } Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PhotoAlbum.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -102,11 +102,6 @@ return _("Displays a set of photos listed in a text file with optional descriptions"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // Avoid nameclash, so it's disabled. We allow any url. // define('allow_album_location', true); // define('album_location', 'http://kw.jouwfeestje.com/foto/redactie'); Modified: trunk/lib/plugin/PhpHighlight.php =================================================================== --- trunk/lib/plugin/PhpHighlight.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PhpHighlight.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -64,14 +64,8 @@ function getDescription () { return _("PHP syntax highlighting"); - } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - // Establish default values for each of this plugin's arguments. function getDefaultArguments() { // TODO: results of ini_get() should be static for multiple Modified: trunk/lib/plugin/PhpWeather.php =================================================================== --- trunk/lib/plugin/PhpWeather.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PhpWeather.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -67,11 +67,6 @@ return _("The PhpWeather plugin provides weather reports from the Internet."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { global $LANG; return array('icao' => 'EKAH', Modified: trunk/lib/plugin/Ploticus.php =================================================================== --- trunk/lib/plugin/Ploticus.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/Ploticus.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -98,10 +98,6 @@ function managesValidators() { return true; } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function getDefaultArguments() { return array( 'device' => 'png', // png,gif,svgz,svg,... Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PluginManager.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -36,11 +36,6 @@ return _("List of plugins on this wiki"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('info' => 'args'); } Modified: trunk/lib/plugin/PopUp.php =================================================================== --- trunk/lib/plugin/PopUp.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PopUp.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -51,12 +51,7 @@ } function getDescription () { return _("Used to create a clickable popup link."); - } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function getDefaultArguments() { return array('link' => "HomePage", 'title' => "", Modified: trunk/lib/plugin/PopularNearby.php =================================================================== --- trunk/lib/plugin/PopularNearby.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PopularNearby.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -48,11 +48,6 @@ return _("List the most popular pages nearby."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('pagename' => '[pagename]', 'mode' => 'nearby', // or 'incoming' or 'outgoing' Modified: trunk/lib/plugin/PopularTags.php =================================================================== --- trunk/lib/plugin/PopularTags.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PopularTags.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -38,11 +38,6 @@ return _("List the most popular tags."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('pagename' => '[pagename]', 'limit' => 10, @@ -51,7 +46,6 @@ ); } - function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); extract($args); Modified: trunk/lib/plugin/PreferenceApp.php =================================================================== --- trunk/lib/plugin/PreferenceApp.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PreferenceApp.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -57,11 +57,6 @@ return _("Analyzes preferences based on voting budget and ratings."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'category' => null, Modified: trunk/lib/plugin/PrevNext.php =================================================================== --- trunk/lib/plugin/PrevNext.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/PrevNext.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -37,11 +37,6 @@ return sprintf(_("Easy navigation buttons for %s"),'[pagename]'); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'prev' => '', Modified: trunk/lib/plugin/Processing.php =================================================================== --- trunk/lib/plugin/Processing.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/Processing.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -35,11 +35,6 @@ return _("Render inline Processing"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array('width' => 200, 'height' => 200, Modified: trunk/lib/plugin/RandomPage.php =================================================================== --- trunk/lib/plugin/RandomPage.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RandomPage.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -37,11 +37,6 @@ return _("Displays a list of randomly chosen pages or redirects to a random page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/RateIt.php =================================================================== --- trunk/lib/plugin/RateIt.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RateIt.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -90,10 +90,6 @@ function getDescription() { return _("Rating system. Store user ratings per page"); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } function RatingWidgetJavascript() { global $WikiTheme; Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RawHtml.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -57,11 +57,6 @@ return _("A plugin to provide for raw HTML within wiki pages."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array(); } Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RecentChanges.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -230,7 +230,7 @@ "(", // TransformLinks($summary, $rev->get('markup'), $rev->getPageName()), // We do parse the summary: - // 1) if the summary contains {{foo}}, the template must no be + // 1) if the summary contains {{foo}}, the template must no be // expanded // 2) if the summary contains camel case, and DISABLE_MARKUP_WIKIWORD // is true, the camel case must not be linked. @@ -1165,11 +1165,6 @@ return _("List all recent changes in this wiki."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function managesValidators() { // Note that this is a bit of a fig. // We set validators based on the most recently changed page, Modified: trunk/lib/plugin/RecentChangesCached.php =================================================================== --- trunk/lib/plugin/RecentChangesCached.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RecentChangesCached.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -34,7 +34,6 @@ class WikiPlugin_RecentChangesCached extends WikiPluginCached { - /* --------- overwrite virtual or abstract methods ---------------- */ function getPluginType() { return PLUGIN_CACHED_HTML; } @@ -47,11 +46,6 @@ return 'Caches output of RecentChanges called with default arguments.'; } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return WikiPlugin_RecentChanges::getDefaultArguments(); } Modified: trunk/lib/plugin/RecentComments.php =================================================================== --- trunk/lib/plugin/RecentComments.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RecentComments.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -40,11 +40,6 @@ return _("List basepages with recently added comments."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { //php-4.0.4pl1 breaks at the parent:: line even if the // code doesn't reach this line Modified: trunk/lib/plugin/RecentEdits.php =================================================================== --- trunk/lib/plugin/RecentEdits.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RecentEdits.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -33,11 +33,6 @@ return _("List all recent edits in this wiki."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { $args = parent::getDefaultArguments(); $args['show_minor'] = true; Modified: trunk/lib/plugin/RecentReferrers.php =================================================================== --- trunk/lib/plugin/RecentReferrers.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RecentReferrers.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -37,11 +37,6 @@ return _("Analyse access log."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array_merge ( Modified: trunk/lib/plugin/RedirectTo.php =================================================================== --- trunk/lib/plugin/RedirectTo.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RedirectTo.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -51,11 +51,6 @@ return _("Redirects to another URL or page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { return array( 'href' => '', 'page' => false, Modified: trunk/lib/plugin/RelatedChanges.php =================================================================== --- trunk/lib/plugin/RelatedChanges.php 2010-05-19 07:53:16 UTC (rev 7413) +++ trunk/lib/plugin/RelatedChanges.php 2010-05-19 08:57:58 UTC (rev 7414) @@ -38,7 +38,6 @@ } } - class WikiPlugin_RelatedChanges extends WikiPlugin_RecentChanges { @@ -50,11 +49,6 @@ return _("List of changes on all pages which are linked to from this page."); } - function getVersion() { - return preg_replace("/[Revision: $]/", '', - "\$Revision$"); - } - function getDefaultArguments() { //php-4.0.4pl1 breaks at the parent:: line even if the // code doesn't reach this line Modified: trunk/lib/plugin/RichTable.php =================================================================== --- trunk/lib/plugin/RichTabl... [truncated message content] |