Thread:Project:Support desk/OutputPage::addScript()

Hi all,

Please correct me if I am wrong, but it seems that since MediaWiki 1.17.0 the behaviour of OutputPage::addScript is not as it is supposed to be: Whenever I call this function, the scripts are not added to the section but to the end of the section. This is subject to errors whenever a script function is called in the page body, but the script actually is loaded afterwards.

Running MediaWiki 1.17.0 with PHP 5.3.3 and MySQL 5.1.49. Unfortunately the wiki I faced this error with is running behind a corporate firewall. I detected this issue when checking my SmoothGallery galleries. Other users face the same problem (cf. its discussion page).

Regards!