Page MenuHomePhabricator

Enhancement of Special:Upload for Hook Points to add custom content
Closed, InvalidPublic

Description

Author: lukas.erlacher

Description:
Added functions "ExecuteHooks", "setContent", "getContent", edited function
"mainUploadForm".
Has 4 Hooks now, content to be added before form, at the beginning of the form,
at the end of the form, and after the form.


Version: unspecified
Severity: enhancement

Details

Reference
bz7161

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:25 PM
bzimport set Reference to bz7161.
bzimport added a subscriber: Unknown Object (MLST).

lukas.erlacher wrote:

Special:Upload file

Not tested.

attachment SpecialUpload.php ignored as obsolete

rotemliss wrote:

Comment on attachment 2280
Special:Upload file

Please provide a unified patch – see http://www.mediawiki.org/wiki/Subversion
for instructions.

lukas.erlacher wrote:

Special:Upload patch

not tested.

Attached:

  • Bug 8867 has been marked as a duplicate of this bug. ***

Bryan.TongMinh wrote:

No longer applicable, since HTMLForm can be used to customize the upload interface.