Difference between revisions of "Issue:Version Reporting"

From FollowTheScore
Jump to: navigation, search
m (Shall we document this?: grammar correction)
 
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 / answered
+
  |Status      = closed
 
}}
 
}}
  
Line 43: Line 43:
 
{{#dpl:resultsheader=This is DPL version '''%VERSION%.'''\n|title=Main Page}}
 
{{#dpl:resultsheader=This is DPL version '''%VERSION%.'''\n|title=Main Page}}
 
</pre>
 
</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 10: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.