Snippets/Collapsible Upload options

Description
This snippet will make the description and options fieldsets on the file upload page collapsible. They are collapsed by default as most users won't use them anyway.

MediaWiki 1.16
Change the if clause as follows to make the snippet work in 1.16 too: