Last modified: 2014-11-17 09:21:30 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 T72841, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70841 - 2.0: Document best practices for creating local overrides of global gadgets
2.0: Document best practices for creating local overrides of global gadgets
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Gadgets (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: gadgets-2.0
  Show dependency treegraph
 
Reported: 2014-09-15 11:04 UTC by Kunal Mehta (Legoktm)
Modified: 2014-11-17 09:21 UTC (History)
7 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2014-09-15 11:04:01 UTC
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!

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


Navigation
Links