Last modified: 2014-10-10 04:40:03 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 T46925, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44925 - Use ResourceLoader API module and async for parsing
Use ResourceLoader API module and async for parsing
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
GuidedTour (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-13 03:54 UTC by Matthew Flaschen
Modified: 2014-10-10 04:40 UTC (History)
4 users (show)

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


Attachments

Description Matthew Flaschen 2013-02-13 03:54:37 UTC
This can be done by calling guiders.initGuider from within the callback function, rather than using onShow.

The onShow way would keep working, but become deprecated.
Comment 1 Matthew Flaschen 2014-10-02 16:45:23 UTC
There are also other interim approaches, such as allowing onShow to return a promise.
Comment 2 Matthew Flaschen 2014-10-10 04:40:03 UTC
There's also a transition idea where parseDescription and getPageAsDescription are deprecated and used as markers to change the behavior (e.g. it can do an async call then initialize the guider when the async call completes).

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


Navigation
Links