r17923 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17922‎ | r17923 | r17924 >
Date:13:51, 25 November 2006
Author:werdna
Status:old
Tags:
Comment:
hooks.txt documentation for UploadForm:initial hook added in r17917
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -437,6 +437,12 @@
438438 $user: user that was watching
439439 $article: article object removed
440440
 441+'UploadForm:initial': before the upload form is generated
 442+$form: UploadForm object
 443+You might set the member-variables $uploadFormTextTop and
 444+$uploadFormTextAfterSummary to inject text (HTML) either before
 445+or after the editform.
 446+
441447 'UploadVerification': additional chances to reject an uploaded file
442448 string $saveName: destination file name
443449 string $tempName: filesystem path to the temporary file for checks

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r17917Patch by Leon Weber that adds a hook 'UploadForm:initial' before the upload f...werdna23:48, 24 November 2006