I want to use the output of {{Special:Editcount/User}}
in #expr
to calculate something. But of course the output is handled as a string, even if I split it into its figures with #sub
. So how can I make it being recognized as int? Any idea?
Asked
Active
Viewed 56 times
0

Vincent Doba
- 4,343
- 3
- 22
- 42
2 Answers
0
You cannot do that, because embedded special pages such as {{Special:Editcount}} are filled out at load time, after the Wikitext has already been parsed. In order to parse such content you will need runtime JavaScript.

Noam
- 1,317
- 5
- 16