Last modified: 2014-07-14 13:34:05 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 T40428, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38428 - Upload Wizard: Allow integration of "community tools"
Upload Wizard: Allow integration of "community tools"
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 38427
  Show dependency treegraph
 
Reported: 2012-07-16 18:46 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-07-14 13:34 UTC (History)
1 user (show)

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


Attachments

Description Rainer Rillke @commons.wikimedia 2012-07-16 18:46:32 UTC
I think the following situations should trigger an event: (arguments to pass)
* Switch to a new page (page-DOM-object, page caption)
* Success: 
** Upload (file name, UI-upload-item-DOM-object)
** Publish (file name, UI-upload-item-DOM-object)
* Error:
** Upload (file name, UI-upload-item-DOM-object, raw API-response)
** Publish (file name, UI-upload-item-DOM-object, raw API-response)

... and perhaps more like "before publish"

How an implementation could look like? What do I imagine:
$(document).triggerHandler('upwiz',
 'community event',
 'error',
 'publish',
 upload.name,
 <DOM NODE>,
 jqXHR.response
)
Comment 1 Rainer Rillke @commons.wikimedia 2014-07-14 13:34:05 UTC
Bug 38427 was closed, hence this gets the generic heading. Events or hooks, handlers or whatever is required but in a well-thought frame. Description was a suggestion, not more.

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


Navigation
Links