Last modified: 2010-11-30 20:58:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28160, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26160 - Not possible to set mComment with Upload:initial hook
Not possible to set mComment with Upload:initial hook
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.16.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-29 09:49 UTC by Carsten Nielsen
Modified: 2010-11-30 20:58 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
diff of modified SpecialUpload.php (1.92 KB, patch)
2010-11-29 09:49 UTC, Carsten Nielsen
Details

Description Carsten Nielsen 2010-11-29 09:49:57 UTC
Created attachment 7873 [details]
diff of modified SpecialUpload.php

When trying to set the default file description (mComment) at the Upload:initial hook wComment is ignored.

Had to modify SpecialUpload.php a bit to get it to work again. Diff attached.
Comment 1 Carsten Nielsen 2010-11-30 08:16:21 UTC
This works for me :)
Comment 2 Bryan Tong Minh 2010-11-30 08:39:29 UTC
WORKSFORME means "can't reproduce problem", not "attached patch works for me".

I will check the patch when I get home.
Comment 3 Bryan Tong Minh 2010-11-30 20:58:19 UTC
Thanks for the report! The patch did not apply cleanly to trunk, but I applied a modified patch in r77508 and will tag it for backporting.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links