Difference between revisions of "User:Firestar233/Sandbox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
βˆ’
{{#expr: {{formatnum:{{{pages|}}}|R}} + 2 * sqrt ( {{formatnum:{{{changes|}}}|R}} - {{formatnum:{{{pages|}}}|R}} ) }}
+
<noinclude>This is my attempt at automatically updating my user page to show my precise contribution score based on the formula used by the extension (pages + 2 * sqrt(edits - pages)), but it seems that the contribution scores parser tags evaluate after the parser functions so it never worked. I gave up and resigned to manually updating my user page. The first argument is the pages edited and the second argument is the number of edits.
 +
</noinclude>{{#expr: {{{1|}}} + 2 * sqrt ( {{{2|}}} - ({{{1|}}}) ) }}

Latest revision as of 20:49, 18 April 2025

This is my attempt at automatically updating my user page to show my precise contribution score based on the formula used by the extension (pages + 2 * sqrt(edits - pages)), but it seems that the contribution scores parser tags evaluate after the parser functions so it never worked. I gave up and resigned to manually updating my user page. The first argument is the pages edited and the second argument is the number of edits. In sqrt: Result is not a number.