Last modified: 2006-04-13 18:32:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3359 - No hooks for uploads
No hooks for uploads
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-04 15:09 UTC by Dave Miller (ProgMania)
Modified: 2006-04-13 18:32 UTC (History)
0 users

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


Attachments

Description Dave Miller (ProgMania) 2005-09-04 15:09:40 UTC
I've created an extension to automatically create a redirect in the main namespace whenever a 
category is created, to make it easier to find and link to them. I want to do the same for files, 
but there are no hooks called, as far as I can tell, when uploading files.
Comment 1 Brion Vibber 2005-09-04 22:24:29 UTC
The page creation hook is called on upload.
Comment 2 Dave Miller (ProgMania) 2005-09-04 22:29:50 UTC
I can't see anything about page creation here: 
http://meta.wikimedia.org/wiki/MediaWiki_Hooks_and_their_Parameters

Can you point me in the right direction?
Comment 3 Dave Miller (ProgMania) 2005-09-08 21:10:41 UTC
I searched the files SpecialUpload.php, Article.php and Title.php and found nothing, then output every hook 
called on upload to a file and found nothing useful.
Comment 4 Michael Keppler 2005-12-09 23:45:38 UTC
There is a hook called UploadVerification in SpecialUpload (CVS only).
Comment 5 Rob Church 2006-04-13 18:32:00 UTC
There is now an UploadComplete hook in SVN trunk, r13623; backported to 1.6 and
1.5 branches.

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


Navigation
Links