Last modified: 2014-03-20 11:21:08 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 T56749, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54749 - thumb.php should output docs if no file specified
thumb.php should output docs if no file specified
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.22.0
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-28 23:54 UTC by Bawolff (Brian Wolff)
Modified: 2014-03-20 11:21 UTC (History)
9 users (show)

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


Attachments
thumb.php should output docs if no file specified. (723 bytes, patch)
2014-03-18 12:08 UTC, Rahul Mishra
Details

Description Bawolff (Brian Wolff) 2013-09-28 23:54:07 UTC
low priority issue.

If you just visit thumb.php (plain thumb.php, not thumb_handler.php), with no f parameter specified, it should probably output a list of all possible parameters it takes.
Comment 1 Aravind K N 2014-01-14 09:03:02 UTC
I would like to work on this bug. Would someone assign this to me?
Comment 2 Tony Thomas 2014-01-14 09:04:36 UTC
Prepare the patch 
http://www.mediawiki.org/wiki/Gerrit/Tutorial
Comment 3 Rahul Mishra 2014-03-15 14:58:56 UTC
I have tried to fix it, would you take a look at it

Proposed Patch: http://fpaste.org/85648/94892293/ (the additions are between line 111 to line 118)

Please let me know, if i have understood it correctly and if the patch i working as it should. If not, what do i have to do to fix it.

Thanks.
Comment 4 Tony Thomas 2014-03-15 15:39:36 UTC
(In reply to Rahul Mishra from comment #3)
> I have tried to fix it, would you take a look at it
Thanks for your fix. But, your patch doesn't seem to be in a diff/patch format. When referring to a patch, its always helpful if you can make it in the std. diff format. You can check here, how to create a diff/patch using git diff command (http://git-scm.com/docs/git-diff). Try to prepare a gerrit patch set so that its easy for other devs to test your code, and debug. 
http://www.mediawiki.org/wiki/Gerrit/Tutorial
Comment 5 Gerrit Notification Bot 2014-03-15 19:42:37 UTC
Change 118822 had a related patch set uploaded by Santosh2201:
thumb.php should output docs if no file specified

https://gerrit.wikimedia.org/r/118822
Comment 6 Rahul Mishra 2014-03-18 12:08:57 UTC
Created attachment 14846 [details]
thumb.php should output docs if no file specified.
Comment 7 Tony Thomas 2014-03-18 12:11:36 UTC
(In reply to Rahul Mishra from comment #6)
> Created attachment 14846 [details]
Great!This one really looks like a patch. Why dont you push the same into gerrit?
I have added the how-to in Comment#4
Comment 8 Rahul Mishra 2014-03-18 13:03:43 UTC
(In reply to Tony Thomas from comment #7)
> > Created attachment 14846 [details]
> I have added the how-to in Comment#4

Thanks, for your comment, i was having some problem with my gerrit account, will ask on #mediawiki and fix it as fast as possible.
Comment 9 Gerrit Notification Bot 2014-03-20 11:21:08 UTC
Change 119350 had a related patch set uploaded by Nemo bis:
Show an error message when no or invalid parameters are passed to thumb.php

https://gerrit.wikimedia.org/r/119350

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


Navigation
Links