Dieser Patch wird mit Version 2.0 der ManipulateUpload extension nicht mehr benoetigt!
The mReferer-Patch is a small (and trivial) patch to include/SpecialUpload.php. It basically enables you to send additional information from the initial input form to the posted form through an additional post-variable. This patch is required by the ManipulateUpload-Extension.
We use the additional variable to prefix the filename with the handed-over variable after the upload and add a link to the article referenced by it. Note that the second change is in our case not really necessary, since the post-request actually comes from the HTML-Form in Special:AddResource.
The patch is available for different versions of MediaWiki in the SpecialUpload.php-directory in our SVN-repository.