This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Fixed
FS#2365 common.php: function doesn't use function argument
Syntax
2011-11-07JohannStudanski
The function 'script()' in 'inc/common.php', line 503, probably obsolete anyway (just as its comment says), can't return the expected value if anything else than its function argument's default value is supplied. So it should either be fixed or removed, so as to not lead to errors if someone tries to use it with other arguments.
It's not obsolete, at least it's used in some plugins (including core plugins: config and popularity). I'd disagree that it's broken. It wouldn't necessarily lead to errors (depending on what you expect to happen and what other things you have changed).
I think we should deprecate that parameter (I haven't seen it in use so far) and remove it later accordingly.
2012-07-28andi
I removed the parameter in 25ca5b17 (no need to have it there, php function can be called with more parameters than needed without any errors).