Page MenuHomePhabricator

2.0: Document best practices for creating local overrides of global gadgets
Closed, DeclinedPublic


We don't want people copying entire gadgets just to change one variable or something.

Instead the core gadget code should accept options via a constructor or something, and then a local gadget should depend upon that one, and just pass the local settings to the global gadget's constructor.

Just need to document this somewhere!

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:43 AM
bzimport set Reference to bz70841.
bzimport added a subscriber: Unknown Object (MLST).
Legoktm claimed this task.

Gadgets 2.0 is no longer implementing global gadgets.