Deadlock:Article feedback: Difference between revisionsGive feedback
Created page with "'''Article feedback''' is a feature that allows users to leave feedback about a page. Feedback should be about the '''wiki''', not the game. The feedback will be posted anonymously under a temporary account if the user is logged out, or attributed to their user account otherwise. <div class="tile" style="float: right; width: max-content"> <div style="font-weight: bold; font-size: 1.2em">Feedback statistics</div> {{#vardefine:fb_no | {{Buck..." |
Fix syntax error in BucketCount call (resolved=resolved -> status=resolved), wrap total in #expr, fix typo 'Resolved]]' (via update-page on MediaWiki MCP Server) |
||
| Line 4: | Line 4: | ||
<div style="font-weight: bold; font-size: 1.2em">Feedback statistics</div> | <div style="font-weight: bold; font-size: 1.2em">Feedback statistics</div> | ||
{{#vardefine:fb_no | {{BucketCount|feedback|page|status=unresolved}}}}<!-- | {{#vardefine:fb_no | {{BucketCount|feedback|page|status=unresolved}}}}<!-- | ||
-->{{#vardefine:fb_yes | {{BucketCount|feedback|page| | -->{{#vardefine:fb_yes | {{BucketCount|feedback|page|status=resolved}}}}<!-- | ||
-->{{#vardefine:fb_total | {{#var:fb_yes}} + {{#var:fb_no}}}} | -->{{#vardefine:fb_total | {{#expr: {{#var:fb_yes}} + {{#var:fb_no}}}}}} | ||
* Total: {{fe|{{#var:fb_total}}}} submissions | * Total: {{fe|{{#var:fb_total}}}} submissions | ||
* Unresolved: {{fe|{{#var:fb_no}}}} ({{#expr:100 * {{#var:fb_no}} / ({{#var:fb_total}}) round 2}}%) | * Unresolved: {{fe|{{#var:fb_no}}}} ({{#expr:100 * {{#var:fb_no}} / ({{#var:fb_total}}) round 2}}%) | ||
* Resolved | * Resolved: {{fe|{{#var:fb_yes}}}} ({{#expr:100 * {{#var:fb_yes}} / ({{#var:fb_total}}) round 2}}%) | ||
</div> | </div> | ||