Difference between revisions of "Issue:Version Reporting"

From FollowTheScore
Jump to: navigation, search
(Initial Request)
 
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
  |Version    = All
 
  |Version    = All
 
  |Description = It is hard for users of a Wiki using DPL to find the version of DPL being run by the Wiki.
 
  |Description = It is hard for users of a Wiki using DPL to find the version of DPL being run by the Wiki.
  |Status      = open
+
  |Status      = closed
 
}}
 
}}
  
Line 23: Line 23:
  
 
== Reply ==
 
== Reply ==
 +
 +
I think a %VERSION% pseudo-variable would be a more flexible solution. You could use it within the [[resultsheader]] for example.
 +
 +
{{#dpl:resultsheader=This is DPL version '''%VERSION%.'''\n|title=Main Page}}
 +
 +
[[User:Gero|Gero]] 09:10, 17 January 2008 (CET)
 +
 +
== Shall we document this? ==
 +
 +
It looks like Gero has provided an answer by example.  I think this issue can probably be closed if this works in current and future versions, but I would like for it to be documented somewhere.  Any suggestions for the most appropriate location?  Is it already documented?
 +
<pre>
 +
<DPL>
 +
resultsheader=This is DPL version '''%VERSION%.'''
 +
title=Main Page
 +
</DPL>
 +
</pre>
 +
or
 +
<pre>
 +
{{#dpl:resultsheader=This is DPL version '''%VERSION%.'''\n|title=Main Page}}
 +
</pre>
 +
 +
== I should look this stuff up first ==
 +
 +
This is already documented in [[DPL:Manual_-_DPL_parameters:_Controlling_output_volume#resultsheader|resultsheader]].  I've moved this issue to closed.

Latest revision as of 11:16, 20 January 2008

Description: It is hard for users of a Wiki using DPL to find the version of DPL being run by the Wiki.
Extension / Version: DPL   /   All
Type / Status: Change Request   /   closed

Suggestion

It would be nice if future versions reported the version through a simple query.

Example:

<DPL>
reportversion=yes
</DPL>

As a suggested implementation, any query including this flag would report the DPL version being used on first line of the results.

If this functionality already exists, I could not find it in the DPL Manual.


Reply

I think a %VERSION% pseudo-variable would be a more flexible solution. You could use it within the resultsheader for example.

This is DPL version 3.2.1.


Gero 09:10, 17 January 2008 (CET)

Shall we document this?

It looks like Gero has provided an answer by example. I think this issue can probably be closed if this works in current and future versions, but I would like for it to be documented somewhere. Any suggestions for the most appropriate location? Is it already documented?

<DPL>
resultsheader=This is DPL version '''%VERSION%.'''
title=Main Page
</DPL>

or

{{#dpl:resultsheader=This is DPL version '''%VERSION%.'''\n|title=Main Page}}

I should look this stuff up first

This is already documented in resultsheader. I've moved this issue to closed.