We would like to have this extension in our wiki, or a similar one that does the job: https://www.mediawiki.org/wiki/Extension:WikiCategoryTagCloud
Thanks!
We would like to have this extension in our wiki, or a similar one that does the job: https://www.mediawiki.org/wiki/Extension:WikiCategoryTagCloud
Thanks!
Isn't that resolved by using htmlspecialchars on line 164, as that is what defines $minCountInput?
@Void no you could still do things like this:
<tagcloud> min_count = foo </tagcloud>
to get a database error (or worse, probably).
I've made a patch for this if anyone wants to review it: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiCategoryTagCloud/+/490511
(Thanks to Reception123 for relaying my message earlier; I was locked out of Phabricator here.)