debugenableplugins URL parameter. Plugin authors can use it to measure and document the TWiki:Plugins/Benchmark numbers. The PluginBenchmarkAddOn assumes this feature.
Test:
Patch:
Index: Plugins.pm
===================================================================
--- Plugins.pm (revision 3185)
+++ Plugins.pm (working copy)
@@ -349,6 +349,11 @@
# append discovered plugin modules to installed plugin list
push( @instPlugins, @discoveredPlugins );
+ # debug enable Plugins, for TWiki:Plugins/Benchmark
+ my $debugEnablePlugins = "";
+ $debugEnablePlugins = $TWiki::cgiQuery->param( 'debugenableplugins' ) if( $TWiki::cgiQuery );
+ @instPlugins = split( /[\, ]+/, $debugEnablePlugins ) if( $debugEnablePlugins );
+
# for efficiency we register all possible handlers at once
my $user = "";
my $posUser = "";
This feature is in SVN MainBranch and on TWiki.org.
-- PeterThoeny - 10 Nov 2004
Im trying to use the PluginBenchmarkAddOn with TWiki 4.1 and would need this patch, though it seems to be outdated.
-- AndrewRJones - 05 Feb 2007
No need, this patch has been incorporated into the core a long time ago.
-- PeterThoeny - 05 Feb 2007
| ChangeProposalForm | |
|---|---|
| TopicClassification | FeatureRequest |
| TopicSummary | Enable specific Plugins with debugenableplugins URL parameter |
| CurrentState | MergedToCore |
| BugTracking | |
| OutstandingIssues | |
| RelatedTopics | PluginBenchmarks, PluginBenchmarkAddOn |
| InterestedParties | |
| ProposedFor | DakarRelease |
| TWikiContributors | PeterThoeny |