Issue:Turn extension dpl template off

From FollowTheScore
Jump to: navigation, search
Description: add the ability to turn extension dpl template off for a particular call
Extension / Version: DPL   /   DPL 1.8.9 MW 1.15
Type / Status: Change request   /   open

Problem

On our wiki we use dpl in conjunction with a rating bar extension to generate rating averages for a given category. the template we use is something like {{#expr:( {{dpl statment}} ) / {{PAGESINCAT:category name}} }} where the output of the dpl statement would be something like 95 + 89 + 74 . . . . for all the members of the category.

This worked fine in 1.7.4 but we recently upgraded to 1.8.9 and this now fails due to the inclusion of the {{Extension DPL}} in the output as the template now has an input of {{#expr:( {{Extension DPL}} 95 + 89 + 74 . . . . ) / {{PAGESINCAT:category name}} }} and is giving us error messages, I fixed it by just commenting out that line of code in the extension but I think it would be nice to be able to use that template and just have the ability to turn it off when we need to.


Reply