Last modified: 2013-10-16 03:49:14 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 T51095, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49095 - Refactor JavaScript for maintainability
Refactor JavaScript for maintainability
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
GuidedTour (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Matthew Flaschen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-04 01:43 UTC by Matthew Flaschen
Modified: 2013-10-16 03:49 UTC (History)
6 users (show)

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


Attachments

Description Matthew Flaschen 2013-06-04 01:43:03 UTC
Refactor JavaScript for maintainability, as discussed on IRC.  In summary:

Use Tour and Guider objects rather than passing around primitives.

Use a ext.guidedTour.lib.internal module so internal methods can easily be unit tested.

Probably a couple other items we discussed on IRC that I'm not recollecting.
Comment 1 Steven Walling 2013-10-16 03:26:48 UTC
Is this part of [[mw:Extension:GuidedTour/Refactoring brainstorming]] ?
Comment 2 Matthew Flaschen 2013-10-16 03:49:14 UTC
Yes, it's the technical debt side of that.

Not re above comment, we will probably use multiple modules, rather than just internal.

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


Navigation
Links