User "Catrope" changed the status of MediaWiki.r96309. Old Status: new New Status: resolved
Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96309 Commit summary: [ResourceLoader2] Gadget manager (start of ajax editor) * Add column to SpecialGadgetManager front-end for last modified timestamp. * Use getTitleMessage. Logic is now centralized (yay r95970). * Expose gadget internal name to JavaScript via data- attribute. * Expose array of all rights to JavaScript via OutputPage's getJSVars hook. * Only load ajax editor if user is allowed to edit NS_GADGET_DEFINITION. * Introduce three resource modules: ** ext.gadgetmanager.api: Group of (partially stub) function to interact with the API. Getting gadget metadata, list of categories, save gadget, delete gadget etc. ** ext.gadgetmanager.ui: Binds event handlers to the table outputted by PHP and takes care of the form/dialog generation and the autocompletion of all input fields through various apis and arrays. ** jquery.createPropcloud: jQuery plugin written from scratch for the gadget manager. Turns an input field into a properties "cloud" with autocompletion and visual bubbles to remove items. TODO: * ext.gadgetmanager.api ** Finish stub functions for saving and deleting a gadget. * ext.gadgetmanager.ui ** Nofication system ** Add "Create" tab to the special page, which just brings up a regular modify-form except that it will feature a title-input field. ** Add dynamic "(new category)" option in the category dropdown of the gadget editor. * SpecialGadgetManager.php ** generateGadgetView (Follows-up r95818) _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
