From: <var...@us...> - 2013-06-12 16:04:34
|
Revision: 8795 http://sourceforge.net/p/phpwiki/code/8795 Author: vargenau Date: 2013-06-12 16:04:29 +0000 (Wed, 12 Jun 2013) Log Message: ----------- getName should not translate 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/AtomFeed.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/DeadEndPages.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/WikiAdminDeleteAcl.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/WikiAdminSetAclSimple.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/LC_MESSAGES/phpwiki.mo trunk/locale/de/LC_MESSAGES/phpwiki.php trunk/locale/es/LC_MESSAGES/phpwiki.mo trunk/locale/fr/LC_MESSAGES/phpwiki.mo trunk/locale/fr/LC_MESSAGES/phpwiki.php trunk/locale/it/LC_MESSAGES/phpwiki.mo trunk/locale/ja/LC_MESSAGES/phpwiki.mo trunk/locale/nl/LC_MESSAGES/phpwiki.mo trunk/locale/po/de.po trunk/locale/po/es.po trunk/locale/po/fr.po trunk/locale/po/it.po trunk/locale/po/ja.po trunk/locale/po/nl.po trunk/locale/po/phpwiki.pot trunk/locale/po/sv.po trunk/locale/po/zh.po trunk/locale/sv/LC_MESSAGES/phpwiki.mo trunk/locale/zh/LC_MESSAGES/phpwiki.mo Modified: trunk/lib/WikiPlugin.php =================================================================== --- trunk/lib/WikiPlugin.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/WikiPlugin.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -72,22 +72,33 @@ * getDefaultFormArguments to compute the default link/form * targets. * - * If you want to gettextify the name (probably a good idea), - * override this method in your plugin class, like: + * If you override this method in your plugin class, + * you MUST NOT translate the name. * <pre> - * function getName() { return _("MyPlugin"); } + * function getName() { return "MyPlugin"; } * </pre> * * @return string plugin name/target. */ function getName() { - return preg_replace('/^.*_/', '', get_class($this)); + return preg_replace('/^WikiPlugin_/', '', get_class($this)); } + /** + * Get description of plugin. + * + * This method should be overriden in your plugin class, like: + * <pre> + * function getDescription() { return _("MyPlugin does this..."); } + * </pre> + * + * @return string plugin description + */ + function getDescription() { - return $this->getName(); + return _('This plugin has no description.'); } function getArgs($argstr, $request = false, $defaults = array()) @@ -276,7 +287,7 @@ function getDefaultFormArguments() { return array('targetpage' => $this->getName(), - 'buttontext' => $this->getName(), + 'buttontext' => _($this->getName()), 'class' => 'wikiaction', 'method' => 'get', 'textinput' => 's', @@ -292,7 +303,6 @@ $this->getDefaultArguments()); $args = $this->getArgs($argstr, $request, $defaults); - $plugin = $this->getName(); $textinput = $args['textinput']; assert(!empty($textinput) && isset($args['textinput'])); Modified: trunk/lib/plugin/AddComment.php =================================================================== --- trunk/lib/plugin/AddComment.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AddComment.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -35,11 +35,6 @@ class WikiPlugin_AddComment extends WikiPlugin_WikiBlog { - function getName() - { - return _("AddComment"); - } - function getDescription() { return sprintf(_("Show and add comments for %s."), '[pagename]'); Modified: trunk/lib/plugin/AllPages.php =================================================================== --- trunk/lib/plugin/AllPages.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AllPages.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -30,11 +30,6 @@ class WikiPlugin_AllPages extends WikiPlugin { - function getName() - { - return _("AllPages"); - } - function getDescription() { return _("List all pages in this wiki."); Modified: trunk/lib/plugin/AllUsers.php =================================================================== --- trunk/lib/plugin/AllUsers.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AllUsers.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -33,11 +33,6 @@ class WikiPlugin_AllUsers extends WikiPlugin { - function getName() - { - return _("AllUsers"); - } - function getDescription() { return _("List all once authenticated users."); Modified: trunk/lib/plugin/AnalyseAccessLogSql.php =================================================================== --- trunk/lib/plugin/AnalyseAccessLogSql.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AnalyseAccessLogSql.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -258,11 +258,6 @@ ); } - function getName() - { - return _("AnalyseAccessLogSql"); - } - function getDescription() { return _("Show summary information from the access log table."); Modified: trunk/lib/plugin/AppendText.php =================================================================== --- trunk/lib/plugin/AppendText.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AppendText.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -33,11 +33,6 @@ class WikiPlugin_AppendText extends WikiPlugin { - function getName() - { - return _("AppendText"); - } - function getDescription() { return _("Append text to any page in this wiki."); Modified: trunk/lib/plugin/AsciiMath.php =================================================================== --- trunk/lib/plugin/AsciiMath.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AsciiMath.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -41,11 +41,6 @@ class WikiPlugin_AsciiMath extends WikiPlugin { - function getName() - { - return _("AsciiMath"); - } - function getDescription() { return _("Render ASCII Math as MathML."); Modified: trunk/lib/plugin/AsciiSVG.php =================================================================== --- trunk/lib/plugin/AsciiSVG.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AsciiSVG.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -28,11 +28,6 @@ class WikiPlugin_AsciiSVG extends WikiPlugin { - function getName() - { - return _("AsciiSVG"); - } - function getDescription() { return _("Render inline ASCII SVG."); Modified: trunk/lib/plugin/AtomFeed.php =================================================================== --- trunk/lib/plugin/AtomFeed.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AtomFeed.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -28,11 +28,6 @@ class WikiPlugin_AtomFeed extends WikiPlugin { - function getName() - { - return _('AtomFeed'); - } - function getDescription() { return _('Atom Aggregator Plugin.'); Modified: trunk/lib/plugin/AuthorHistory.php =================================================================== --- trunk/lib/plugin/AuthorHistory.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/AuthorHistory.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -59,11 +59,6 @@ class WikiPlugin_AuthorHistory extends WikiPlugin { - function getName() - { - return _("AuthorHistory"); - } - function getDescription() { 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.")); Modified: trunk/lib/plugin/BackLinks.php =================================================================== --- trunk/lib/plugin/BackLinks.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/BackLinks.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -25,11 +25,6 @@ class WikiPlugin_BackLinks extends WikiPlugin { - function getName() - { - return _("BackLinks"); - } - function getDescription() { return sprintf(_("List all pages which link to %s."), '[pagename]'); Modified: trunk/lib/plugin/BlogArchives.php =================================================================== --- trunk/lib/plugin/BlogArchives.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/BlogArchives.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -35,11 +35,6 @@ class WikiPlugin_BlogArchives extends WikiPlugin_WikiBlog { - function getName() - { - return _("Archives"); - } - function getDescription() { return _("List blog months links for the current or ADMIN user."); Modified: trunk/lib/plugin/BlogJournal.php =================================================================== --- trunk/lib/plugin/BlogJournal.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/BlogJournal.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -34,11 +34,6 @@ class WikiPlugin_BlogJournal extends WikiPlugin_WikiBlog { - function getName() - { - return _("BlogJournal"); - } - function getDescription() { return _("Include latest blog entries for the current or ADMIN user."); Modified: trunk/lib/plugin/BoxRight.php =================================================================== --- trunk/lib/plugin/BoxRight.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/BoxRight.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -26,11 +26,6 @@ class WikiPlugin_BoxRight extends WikiPlugin { - function getName() - { - return "BoxRight"; - } - function getDescription() { return _("A simple plugin for <div class=boxright> with wikimarkup."); Modified: trunk/lib/plugin/CacheTest.php =================================================================== --- trunk/lib/plugin/CacheTest.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/CacheTest.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -61,14 +61,9 @@ return PLUGIN_CACHED_IMG_ONDEMAND; } - function getName() - { - return "CacheTest"; - } - function getDescription() { - return 'This is a simple example using WikiPluginCached.'; + return _('This is a simple example using WikiPluginCached.'); } function getDefaultArguments() Modified: trunk/lib/plugin/Calendar.php =================================================================== --- trunk/lib/plugin/Calendar.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/Calendar.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -35,11 +35,6 @@ class WikiPlugin_Calendar extends WikiPlugin { - function getName() - { - return _("Calendar"); - } - function getDescription() { return _("Calendar"); Modified: trunk/lib/plugin/CalendarList.php =================================================================== --- trunk/lib/plugin/CalendarList.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/CalendarList.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -49,11 +49,6 @@ class WikiPlugin_CalendarList extends WikiPlugin { - function getName() - { - return _("CalendarList"); - } - function getDescription() { return _("CalendarList"); Modified: trunk/lib/plugin/CategoryPage.php =================================================================== --- trunk/lib/plugin/CategoryPage.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/CategoryPage.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -40,11 +40,6 @@ class WikiPlugin_CategoryPage extends WikiPlugin { - function getName() - { - return _("CategoryPage"); - } - function getDescription() { return _("Create a Wiki Category Page."); Modified: trunk/lib/plugin/Chart.php =================================================================== --- trunk/lib/plugin/Chart.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/Chart.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -46,11 +46,6 @@ class WikiPlugin_Chart extends WikiPlugin { - function getName() - { - return _("Chart"); - } - function getDescription() { return _("Render SVG charts."); Modified: trunk/lib/plugin/Comment.php =================================================================== --- trunk/lib/plugin/Comment.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/Comment.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -38,11 +38,6 @@ class WikiPlugin_Comment extends WikiPlugin { - function getName() - { - return _("Comment"); - } - function getDescription() { return _("Embed hidden comments in WikiPages."); Modified: trunk/lib/plugin/CreateBib.php =================================================================== --- trunk/lib/plugin/CreateBib.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/CreateBib.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -33,11 +33,6 @@ class WikiPlugin_CreateBib extends WikiPlugin { - function getName() - { - return _("CreateBib"); - } - function getDescription() { return _("Automatically create a Bibtex file from linked pages."); Modified: trunk/lib/plugin/CreatePage.php =================================================================== --- trunk/lib/plugin/CreatePage.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/CreatePage.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -38,11 +38,6 @@ class WikiPlugin_CreatePage extends WikiPlugin_Template { - function getName() - { - return _("CreatePage"); - } - function getDescription() { return _("Create a wiki page by the provided name."); Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/CreateToc.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -41,11 +41,6 @@ class WikiPlugin_CreateToc extends WikiPlugin { - function getName() - { - return _("CreateToc"); - } - function getDescription() { return _("Create a Table of Contents and automatically link to headers."); Modified: trunk/lib/plugin/CurrentTime.php =================================================================== --- trunk/lib/plugin/CurrentTime.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/CurrentTime.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -53,15 +53,9 @@ class WikiPlugin_CurrentTime extends WikiPlugin { - function getName() - { - return _("CurrentTime"); - } - function getDescription() { return _("Display current time and date."); - } // Establish default values for each of this plugin's arguments. Modified: trunk/lib/plugin/DeadEndPages.php =================================================================== --- trunk/lib/plugin/DeadEndPages.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/DeadEndPages.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -27,10 +27,6 @@ class WikiPlugin_DeadEndPages extends WikiPlugin_OrphanedPages { - function getName() - { - return _("DeadEndPages"); - } } // Local Variables: Modified: trunk/lib/plugin/Diff.php =================================================================== --- trunk/lib/plugin/Diff.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/Diff.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -33,11 +33,6 @@ extends WikiPlugin { - function getName() - { - return _("Diff"); - } - function getDescription() { return _("Display differences between revisions."); Modified: trunk/lib/plugin/DynamicIncludePage.php =================================================================== --- trunk/lib/plugin/DynamicIncludePage.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/DynamicIncludePage.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -31,11 +31,6 @@ class WikiPlugin_DynamicIncludePage extends WikiPlugin_IncludePage { - function getName() - { - return _("DynamicIncludePage"); - } - function getDescription() { return _("Dynamically include the content from another wiki page."); Modified: trunk/lib/plugin/EditMetaData.php =================================================================== --- trunk/lib/plugin/EditMetaData.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/EditMetaData.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -44,11 +44,6 @@ class WikiPlugin_EditMetaData extends WikiPlugin__BackendInfo { - function getName() - { - return _("EditMetaData"); - } - function getDescription() { return sprintf(_("Edit metadata for %s."), '[pagename]'); Modified: trunk/lib/plugin/ExternalSearch.php =================================================================== --- trunk/lib/plugin/ExternalSearch.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/ExternalSearch.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -36,11 +36,6 @@ class WikiPlugin_ExternalSearch extends WikiPlugin { - function getName() - { - return _("ExternalSearch"); - } - function getDescription() { return _("Redirect to an external web site based on form input."); Modified: trunk/lib/plugin/FileInfo.php =================================================================== --- trunk/lib/plugin/FileInfo.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/FileInfo.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -36,11 +36,6 @@ class WikiPlugin_FileInfo extends WikiPlugin { - function getName() - { - return _("FileInfo"); - } - function getDescription() { return _("Display file information like version, size, date... of uploaded files."); Modified: trunk/lib/plugin/FoafViewer.php =================================================================== --- trunk/lib/plugin/FoafViewer.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/FoafViewer.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -66,11 +66,6 @@ return false; } - function getName() - { - return _("FoafViewer"); - } - function getDescription() { return _("Parse an RDF FOAF file and extract information to render as HTML."); Modified: trunk/lib/plugin/FrameInclude.php =================================================================== --- trunk/lib/plugin/FrameInclude.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/FrameInclude.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -48,11 +48,6 @@ class WikiPlugin_FrameInclude extends WikiPlugin { - function getName() - { - return _("FrameInclude"); - } - function getDescription() { return _("Display a url in a separate frame inside our body. Only one frame allowed."); Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/FullTextSearch.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -42,11 +42,6 @@ class WikiPlugin_FullTextSearch extends WikiPlugin { - function getName() - { - return _("FullTextSearch"); - } - function getDescription() { return _("Search the content of all pages in this wiki."); Modified: trunk/lib/plugin/FuzzyPages.php =================================================================== --- trunk/lib/plugin/FuzzyPages.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/FuzzyPages.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -35,11 +35,6 @@ class WikiPlugin_FuzzyPages extends WikiPlugin { - function getName() - { - return _("FuzzyPages"); - } - function getDescription() { return sprintf(_("Search for page titles similar to %s."), Modified: trunk/lib/plugin/GoTo.php =================================================================== --- trunk/lib/plugin/GoTo.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/GoTo.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -33,11 +33,6 @@ class WikiPlugin_GoTo extends WikiPlugin { - function getName() - { - return _("GoTo"); - } - function getDescription() { return _("Go to or create page."); Modified: trunk/lib/plugin/GoogleMaps.php =================================================================== --- trunk/lib/plugin/GoogleMaps.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/GoogleMaps.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -58,11 +58,6 @@ class WikiPlugin_GoogleMaps extends WikiPlugin { - function getName() - { - return _("GoogleMaps"); - } - function getDescription() { return _("Display a marker with further infos (when clicking) on given coordinates."); Modified: trunk/lib/plugin/GooglePlugin.php =================================================================== --- trunk/lib/plugin/GooglePlugin.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/GooglePlugin.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -39,11 +39,6 @@ class WikiPlugin_GooglePlugin extends WikiPlugin { - function getName() - { - return _("GooglePlugin"); - } - function getDescription() { return _("Make use of the Google API."); Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/GraphViz.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -105,11 +105,6 @@ return PLUGIN_CACHED_IMG_INLINE; // normal cached libgd image handles } - function getName() - { - return _("GraphViz"); - } - function getDescription() { return _("GraphViz image or imagemap creation of directed graphs."); Modified: trunk/lib/plugin/HelloWorld.php =================================================================== --- trunk/lib/plugin/HelloWorld.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/HelloWorld.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -40,17 +40,9 @@ class WikiPlugin_HelloWorld extends WikiPlugin { - // Four required functions in a WikiPlugin. - - function getName() - { - return _("HelloWorld"); - } - function getDescription() { return _("Simple Sample Plugin."); - } // Establish default values for each of this plugin's arguments. Modified: trunk/lib/plugin/HtmlConverter.php =================================================================== --- trunk/lib/plugin/HtmlConverter.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/HtmlConverter.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -32,12 +32,6 @@ class WikiPlugin_HtmlConverter extends WikiPlugin { - - function getName() - { - return "HtmlConverter"; - } - function getDescription() { return _("Convert HTML markup into wiki markup."); @@ -50,12 +44,6 @@ function run($dbi, $argstr, &$request, $basepage) { - - /* plugin not yet has arguments - save for later (copied from UpLoad) - $args = $this->getArgs($argstr, $request); - extract($args); - */ - $form = HTML::form(array('action' => $request->getPostURL(), 'enctype' => 'multipart/form-data', 'method' => 'post')); Modified: trunk/lib/plugin/Imdb.php =================================================================== --- trunk/lib/plugin/Imdb.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/Imdb.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -51,11 +51,6 @@ class WikiPlugin_Imdb extends WikiPlugin_SqlResult { - function getName() - { - return _("Imdb"); - } - function getDescription() { return _("Query a local imdb database."); Modified: trunk/lib/plugin/IncludePage.php =================================================================== --- trunk/lib/plugin/IncludePage.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/IncludePage.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -30,11 +30,6 @@ class WikiPlugin_IncludePage extends WikiPlugin { - function getName() - { - return _("IncludePage"); - } - function getDescription() { return _("Include text from another wiki page."); Modified: trunk/lib/plugin/IncludePages.php =================================================================== --- trunk/lib/plugin/IncludePages.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/IncludePages.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -31,11 +31,6 @@ class WikiPlugin_IncludePages extends WikiPlugin_IncludePage { - function getName() - { - return _("IncludePages"); - } - function getDescription() { return _("Include multiple pages."); Modified: trunk/lib/plugin/IncludeSiteMap.php =================================================================== --- trunk/lib/plugin/IncludeSiteMap.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/IncludeSiteMap.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -48,11 +48,6 @@ class WikiPlugin_IncludeSiteMap extends WikiPlugin_SiteMap { - function getName() - { - return _("IncludeSiteMap"); - } - function getDescription() { return sprintf(_("Include recursively all linked pages starting at %s."), Modified: trunk/lib/plugin/IncludeTree.php =================================================================== --- trunk/lib/plugin/IncludeTree.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/IncludeTree.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -35,11 +35,6 @@ class WikiPlugin_IncludeTree extends WikiPlugin_SiteMap { - function getName() - { - return _("IncludeTree"); - } - function getDescription() { return _("Display Dynamic Category Tree."); Modified: trunk/lib/plugin/InterWikiSearch.php =================================================================== --- trunk/lib/plugin/InterWikiSearch.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/InterWikiSearch.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -27,11 +27,6 @@ class WikiPlugin_InterWikiSearch extends WikiPlugin { - function getName() - { - return _("InterWikiSearch"); - } - function getDescription() { return _("Perform searches on InterWiki sites listed in InterWikiMap."); Modified: trunk/lib/plugin/JabberPresence.php =================================================================== --- trunk/lib/plugin/JabberPresence.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/JabberPresence.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -38,11 +38,6 @@ class WikiPlugin_JabberPresence extends WikiPlugin { - function getName() - { - return _("JabberPresence"); - } - function getDescription() { return _("Display Jabber presence."); Modified: trunk/lib/plugin/LdapSearch.php =================================================================== --- trunk/lib/plugin/LdapSearch.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/LdapSearch.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -49,11 +49,6 @@ class WikiPlugin_LdapSearch extends WikiPlugin { - function getName() - { - return _("LdapSearch"); - } - function getDescription() { return _("Search an LDAP directory."); Modified: trunk/lib/plugin/LikePages.php =================================================================== --- trunk/lib/plugin/LikePages.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/LikePages.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -26,11 +26,6 @@ class WikiPlugin_LikePages extends WikiPlugin { - function getName() - { - return _("LikePages"); - } - function getDescription() { return sprintf(_("List page names which share an initial or final title word with “%s”."), Modified: trunk/lib/plugin/LinkDatabase.php =================================================================== --- trunk/lib/plugin/LinkDatabase.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/LinkDatabase.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -38,11 +38,6 @@ class WikiPlugin_LinkDatabase extends WikiPluginCached { - function getName() - { - return _("LinkDatabase"); - } - function getPluginType() { return PLUGIN_CACHED_HTML; Modified: trunk/lib/plugin/LinkSearch.php =================================================================== --- trunk/lib/plugin/LinkSearch.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/LinkSearch.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -31,11 +31,6 @@ class WikiPlugin_LinkSearch extends WikiPlugin { - function getName() - { - return _("LinkSearch"); - } - function getDescription() { return _("Search page and link names."); Modified: trunk/lib/plugin/ListPages.php =================================================================== --- trunk/lib/plugin/ListPages.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/ListPages.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -34,11 +34,6 @@ class WikiPlugin_ListPages extends WikiPlugin { - function getName() - { - return _("ListPages"); - } - function getDescription() { return _("List pages that are explicitly given as the pages argument."); Modified: trunk/lib/plugin/ListRelations.php =================================================================== --- trunk/lib/plugin/ListRelations.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/ListRelations.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -30,11 +30,6 @@ class WikiPlugin_ListRelations extends WikiPlugin { - function getName() - { - return _("ListRelations"); - } - function getDescription() { return _("Display the list of all defined relations and optionnally attributes in this entire wiki."); Modified: trunk/lib/plugin/ListSubpages.php =================================================================== --- trunk/lib/plugin/ListSubpages.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/ListSubpages.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -30,11 +30,6 @@ class WikiPlugin_ListSubpages extends WikiPlugin { - function getName() - { - return _("ListSubpages"); - } - function getDescription() { return _("Lists the names of all SubPages of the current page."); Modified: trunk/lib/plugin/MediawikiTable.php =================================================================== --- trunk/lib/plugin/MediawikiTable.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/MediawikiTable.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -52,11 +52,6 @@ class WikiPlugin_MediawikiTable extends WikiPlugin { - function getName() - { - return _("MediawikiTable"); - } - function getDescription() { return _("Layout tables using a Mediawiki-like markup style."); Modified: trunk/lib/plugin/ModeratedPage.php =================================================================== --- trunk/lib/plugin/ModeratedPage.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/ModeratedPage.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -38,11 +38,6 @@ class WikiPlugin_ModeratedPage extends WikiPlugin { - function getName() - { - return _("ModeratedPage"); - } - function getDescription() { return _("Support moderated pages."); Modified: trunk/lib/plugin/MostPopular.php =================================================================== --- trunk/lib/plugin/MostPopular.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/MostPopular.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -26,11 +26,6 @@ class WikiPlugin_MostPopular extends WikiPlugin { - function getName() - { - return _("MostPopular"); - } - function getDescription() { return _("List the most popular pages."); Modified: trunk/lib/plugin/NewPagesPerUser.php =================================================================== --- trunk/lib/plugin/NewPagesPerUser.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/NewPagesPerUser.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -37,11 +37,6 @@ return $a['count'] < $b['count'] ? 1 : -1; } - function getName() - { - return _("NewPagesPerUser"); - } - function getDescription() { return _("List all new pages per month per user."); Modified: trunk/lib/plugin/NoCache.php =================================================================== --- trunk/lib/plugin/NoCache.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/NoCache.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -36,11 +36,6 @@ class WikiPlugin_NoCache extends WikiPlugin { - function getName() - { - return _("NoCache"); - } - function getDescription() { return _("Don't cache this page."); Modified: trunk/lib/plugin/OldStyleTable.php =================================================================== --- trunk/lib/plugin/OldStyleTable.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/OldStyleTable.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -46,11 +46,6 @@ class WikiPlugin_OldStyleTable extends WikiPlugin { - function getName() - { - return _("OldStyleTable"); - } - function getDescription() { return _("Layout tables using the old markup style."); Modified: trunk/lib/plugin/OrphanedPages.php =================================================================== --- trunk/lib/plugin/OrphanedPages.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/OrphanedPages.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -30,11 +30,6 @@ class WikiPlugin_OrphanedPages extends WikiPlugin { - function getName() - { - return _("OrphanedPages"); - } - function getDescription() { return _("List pages which are not linked to by any other page."); Modified: trunk/lib/plugin/PageDump.php =================================================================== --- trunk/lib/plugin/PageDump.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PageDump.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -52,11 +52,6 @@ { public $MessageId; - function getName() - { - return _("PageDump"); - } - function getDescription() { return _("View a single page dump online."); Modified: trunk/lib/plugin/PageGroup.php =================================================================== --- trunk/lib/plugin/PageGroup.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PageGroup.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -41,11 +41,6 @@ class WikiPlugin_PageGroup extends WikiPlugin { - function getName() - { - return _("PageGroup"); - } - function getDescription() { return sprintf(_("PageGroup for %s."), '[pagename]'); Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PageHistory.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -273,11 +273,6 @@ class WikiPlugin_PageHistory extends WikiPlugin_RecentChanges { - function getName() - { - return _("PageHistory"); - } - function getDescription() { return sprintf(_("List PageHistory for %s."), '[pagename]'); Modified: trunk/lib/plugin/PageInfo.php =================================================================== --- trunk/lib/plugin/PageInfo.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PageInfo.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -28,11 +28,6 @@ class WikiPlugin_PageInfo extends WikiPlugin { - function getName() - { - return _("PageInfo"); - } - function getDescription() { return sprintf(_("Show extra page Info and statistics for %s."), Modified: trunk/lib/plugin/PageTrail.php =================================================================== --- trunk/lib/plugin/PageTrail.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PageTrail.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -40,11 +40,6 @@ { public $def_numberlinks = 5; - function getName() - { - return _("PageTrail"); - } - function getDescription() { return _("Display PageTrail."); Modified: trunk/lib/plugin/PasswordReset.php =================================================================== --- trunk/lib/plugin/PasswordReset.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PasswordReset.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -38,11 +38,6 @@ class WikiPlugin_PasswordReset extends WikiPlugin { - function getName() - { - return _("PasswordReset"); - } - function getDescription() { return _("Allow admin to reset any users password, allow user to request his password by e-mail."); Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PhotoAlbum.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -95,11 +95,6 @@ class WikiPlugin_PhotoAlbum extends WikiPlugin { - function getName() - { - return _("PhotoAlbum"); - } - function getDescription() { return _("Display a set of photos listed in a text file with optional descriptions."); Modified: trunk/lib/plugin/PhpHighlight.php =================================================================== --- trunk/lib/plugin/PhpHighlight.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PhpHighlight.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -29,11 +29,6 @@ class WikiPlugin_PhpHighlight extends WikiPlugin { - function getName() - { - return _("PhpHighlight"); - } - function getDescription() { return _("PHP syntax highlighting."); Modified: trunk/lib/plugin/PhpWeather.php =================================================================== --- trunk/lib/plugin/PhpWeather.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PhpWeather.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -59,11 +59,6 @@ class WikiPlugin_PhpWeather extends WikiPlugin { - function getName() - { - return _("PhpWeather"); - } - function getDescription() { return _("Provide weather reports from the Internet."); Modified: trunk/lib/plugin/Ploticus.php =================================================================== --- trunk/lib/plugin/Ploticus.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/Ploticus.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -90,11 +90,6 @@ return PLUGIN_CACHED_IMG_INLINE; // normal cached libgd image handles } - function getName() - { - return _("Ploticus"); - } - function getDescription() { return _("Ploticus image creation."); Modified: trunk/lib/plugin/PluginManager.php =================================================================== --- trunk/lib/plugin/PluginManager.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PluginManager.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -28,11 +28,6 @@ class WikiPlugin_PluginManager extends WikiPlugin { - function getName() - { - return _("PluginManager"); - } - function getDescription() { return _("List of plugins on this wiki."); @@ -123,9 +118,9 @@ // This section was largely improved by Pierrick Meignen: // make a link if an actionpage exists $pluginNamelink = $pluginName; - $pluginDocPageName = _("Help") . "/" . $pluginName . "Plugin"; + $pluginDocPageName = "Help" . "/" . $pluginName . "Plugin"; if (defined('FUSIONFORGE') and FUSIONFORGE) { - $pluginDocPageName = _("Help") . ":" . $pluginName . "Plugin"; + $pluginDocPageName = "Help" . ":" . $pluginName . "Plugin"; } $pluginDocPageNamelink = false; Modified: trunk/lib/plugin/PopUp.php =================================================================== --- trunk/lib/plugin/PopUp.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PopUp.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -46,11 +46,6 @@ class WikiPlugin_PopUp extends WikiPlugin { - function getName() - { - return _("PopUp"); - } - function getDescription() { return _("Create a clickable popup link."); Modified: trunk/lib/plugin/PopularNearby.php =================================================================== --- trunk/lib/plugin/PopularNearby.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PopularNearby.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -39,11 +39,6 @@ class WikiPlugin_PopularNearby extends WikiPlugin { - function getName() - { - return _("PopularNearby"); - } - function getDescription() { return _("List the most popular pages nearby."); Modified: trunk/lib/plugin/PopularTags.php =================================================================== --- trunk/lib/plugin/PopularTags.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PopularTags.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -36,11 +36,6 @@ return $a['count'] < $b['count'] ? 1 : -1; } - function getName() - { - return _("PopularTags"); - } - function getDescription() { return _("List the most popular tags."); Modified: trunk/lib/plugin/PreferenceApp.php =================================================================== --- trunk/lib/plugin/PreferenceApp.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PreferenceApp.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -48,11 +48,6 @@ class WikiPlugin_PreferenceApp extends WikiPlugin { - function getName() - { - return _("PreferenceApp"); - } - function getDescription() { return _("Analyze preferences based on voting budget and ratings."); Modified: trunk/lib/plugin/PrevNext.php =================================================================== --- trunk/lib/plugin/PrevNext.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/PrevNext.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -29,11 +29,6 @@ class WikiPlugin_PrevNext extends WikiPlugin { - function getName() - { - return _("PrevNext"); - } - function getDescription() { return sprintf(_("Easy navigation buttons for %s."), '[pagename]'); Modified: trunk/lib/plugin/Processing.php =================================================================== --- trunk/lib/plugin/Processing.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/Processing.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -27,11 +27,6 @@ class WikiPlugin_Processing extends WikiPlugin { - function getName() - { - return _("Processing"); - } - function getDescription() { return _("Render inline Processing."); Modified: trunk/lib/plugin/RandomPage.php =================================================================== --- trunk/lib/plugin/RandomPage.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RandomPage.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -29,11 +29,6 @@ class WikiPlugin_RandomPage extends WikiPlugin { - function getName() - { - return _("RandomPage"); - } - function getDescription() { return _("Display a list of randomly chosen pages or redirects to a random page."); Modified: trunk/lib/plugin/RateIt.php =================================================================== --- trunk/lib/plugin/RateIt.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RateIt.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -87,11 +87,6 @@ static $toBeUniq = 1; public $idTop = ''; - function getName() - { - return _("RateIt"); - } - function getDescription() { return _("Rating system. Store user ratings per page."); Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RawHtml.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -49,11 +49,6 @@ class WikiPlugin_RawHtml extends WikiPlugin { - function getName() - { - return "RawHtml"; - } - function getDescription() { return _("Provide for raw HTML within wiki pages."); Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RecentChanges.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -1255,11 +1255,6 @@ class WikiPlugin_RecentChanges extends WikiPlugin { - function getName() - { - return _("RecentChanges"); - } - function getDescription() { return _("List all recent changes in this wiki."); Modified: trunk/lib/plugin/RecentChangesCached.php =================================================================== --- trunk/lib/plugin/RecentChangesCached.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RecentChangesCached.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -39,11 +39,6 @@ return PLUGIN_CACHED_HTML; } - function getName() - { - return "RecentChangesCached"; - } - function getDescription() { return 'Cache output of RecentChanges called with default arguments.'; Modified: trunk/lib/plugin/RecentComments.php =================================================================== --- trunk/lib/plugin/RecentComments.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RecentComments.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -32,11 +32,6 @@ class WikiPlugin_RecentComments extends WikiPlugin_RecentChanges { - function getName() - { - return _("RecentComments"); - } - function getDescription() { return _("List basepages with recently added comments."); Modified: trunk/lib/plugin/RecentEdits.php =================================================================== --- trunk/lib/plugin/RecentEdits.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RecentEdits.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -25,11 +25,6 @@ class WikiPlugin_RecentEdits extends WikiPlugin_RecentChanges { - function getName() - { - return _("RecentEdits"); - } - function getDescription() { return _("List all recent edits in this wiki."); Modified: trunk/lib/plugin/RecentReferrers.php =================================================================== --- trunk/lib/plugin/RecentReferrers.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RecentReferrers.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -29,11 +29,6 @@ class WikiPlugin_RecentReferrers extends WikiPlugin { - function getName() - { - return _("RecentReferrers"); - } - function getDescription() { return _("Analyse access log."); Modified: trunk/lib/plugin/RedirectTo.php =================================================================== --- trunk/lib/plugin/RedirectTo.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RedirectTo.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -39,11 +39,6 @@ class WikiPlugin_RedirectTo extends WikiPlugin { - function getName() - { - return _("RedirectTo"); - } - function getDescription() { return _("Redirect to another URL or page."); Modified: trunk/lib/plugin/RelatedChanges.php =================================================================== --- trunk/lib/plugin/RelatedChanges.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RelatedChanges.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -42,11 +42,6 @@ class WikiPlugin_RelatedChanges extends WikiPlugin_RecentChanges { - function getName() - { - return _("RecentEdits"); - } - function getDescription() { return _("List of changes on all pages which are linked to from this page."); Modified: trunk/lib/plugin/RichTable.php =================================================================== --- trunk/lib/plugin/RichTable.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RichTable.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -30,11 +30,6 @@ class WikiPlugin_RichTable extends WikiPlugin { - function getName() - { - return _("RichTable"); - } - function getDescription() { return _("Layout tables using a very rich markup style."); Modified: trunk/lib/plugin/RssFeed.php =================================================================== --- trunk/lib/plugin/RssFeed.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/RssFeed.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -27,15 +27,9 @@ class WikiPlugin_RssFeed extends WikiPlugin { - function getName() - { - return _("RssFeed"); - } - function getDescription() { return _("Simple RSS Feed aggregator."); - } // Establish default values for each of this plugin's arguments. Modified: trunk/lib/plugin/SearchHighlight.php =================================================================== --- trunk/lib/plugin/SearchHighlight.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SearchHighlight.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -35,11 +35,6 @@ class WikiPlugin_SearchHighlight extends WikiPlugin { - function getName() - { - return _("SearchHighlight"); - } - function getDescription() { return _("Hilight referred search terms."); Modified: trunk/lib/plugin/SemanticRelations.php =================================================================== --- trunk/lib/plugin/SemanticRelations.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SemanticRelations.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -31,11 +31,6 @@ class WikiPlugin_SemanticRelations extends WikiPlugin { - function getName() - { - return _("SemanticRelations"); - } - function getDescription() { return _("Display the list of relations and attributes on this page."); Modified: trunk/lib/plugin/SemanticSearch.php =================================================================== --- trunk/lib/plugin/SemanticSearch.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SemanticSearch.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -54,11 +54,6 @@ class WikiPlugin_SemanticSearch extends WikiPlugin { - function getName() - { - return _("SemanticSearch"); - } - function getDescription() { return _("Search relations and attributes."); Modified: trunk/lib/plugin/SemanticSearchAdvanced.php =================================================================== --- trunk/lib/plugin/SemanticSearchAdvanced.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SemanticSearchAdvanced.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -58,11 +58,6 @@ class WikiPlugin_SemanticSearchAdvanced extends WikiPlugin_SemanticSearch { - function getName() - { - return _("SemanticSearchAdvanced"); - } - function getDescription() { return _("Parse and execute a full query expression."); Modified: trunk/lib/plugin/SiteMap.php =================================================================== --- trunk/lib/plugin/SiteMap.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SiteMap.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -47,11 +47,6 @@ { public $_pagename; - function getName() - { - return _("SiteMap"); - } - function getDescription() { return _("Recursively get BackLinks or links."); Modified: trunk/lib/plugin/SpellCheck.php =================================================================== --- trunk/lib/plugin/SpellCheck.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SpellCheck.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -64,11 +64,6 @@ class WikiPlugin_SpellCheck extends WikiPlugin { - function getName() - { - return _("Spell Checker"); - } - function getDescription() { return _("Check the spelling of a page and make suggestions."); Modified: trunk/lib/plugin/SqlResult.php =================================================================== --- trunk/lib/plugin/SqlResult.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SqlResult.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -63,11 +63,6 @@ { public $_args; - function getName() - { - return _("SqlResult"); - } - function getDescription() { return _("Display arbitrary SQL result tables."); Modified: trunk/lib/plugin/SyncWiki.php =================================================================== --- trunk/lib/plugin/SyncWiki.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SyncWiki.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -42,11 +42,6 @@ class WikiPlugin_SyncWiki extends WikiPlugin_WikiAdminUtils { - function getName() - { - return _("SyncWiki"); - } - function getDescription() { return _("Synchronize pages with external PhpWiki."); Modified: trunk/lib/plugin/SyntaxHighlighter.php =================================================================== --- trunk/lib/plugin/SyntaxHighlighter.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SyntaxHighlighter.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -40,11 +40,6 @@ class WikiPlugin_SyntaxHighlighter extends WikiPlugin { - function getName() - { - return _("SyntaxHighlighter"); - } - function getDescription() { return _("Source code syntax highlighter (via http://www.andre-simon.de)."); Modified: trunk/lib/plugin/SystemInfo.php =================================================================== --- trunk/lib/plugin/SystemInfo.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/SystemInfo.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -50,11 +50,6 @@ return PLUGIN_CACHED_HTML; } - function getName() - { - return _("SystemInfo"); - } - function getDescription() { return _("Provide access to PhpWiki's lower level system information."); Modified: trunk/lib/plugin/TeX2png.php =================================================================== --- trunk/lib/plugin/TeX2png.php 2013-06-12 16:00:15 UTC (rev 8794) +++ trunk/lib/plugin/TeX2png.php 2013-06-12 16:04:29 UTC (rev 8795) @@ -41,11 +41,6 @@ public $dvipsbin = '/usr/bin/dvips'; public $pstoimgbin = '/usr/bin/pstoimg'; - function getName() - { - return _("TeX2png"); - } - function getDescription() { return _("Convert Tex mathematicals expressions to cached PNG files. This is for small text."); Modified: trunk/lib/plugin/Template.php ==========================... [truncated message content] |