Last modified: 2012-07-31 18:00:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 37805 - Create example extension for ResourceLoader
Create example extension for ResourceLoader
Product: MediaWiki
Classification: Unclassified
Documentation (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Krinkle
Depends on:
Blocks: documentation
  Show dependency treegraph
Reported: 2012-06-21 20:37 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-07-31 18:00 UTC (History)
4 users (show)

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


Description Antoine "hashar" Musso (WMF) 2012-06-21 20:37:31 UTC
Would be great to have a very simple resource loader extension in mediawiki/extension/examples.git . We could then points newbies to that extension so they can easily learn how the resource loader and how they can use it in their own new extension.
Comment 1 Krinkle 2012-06-21 20:52:18 UTC
Nice! We've got quite a few examples for different types of extensions already:;a=tree

(parser function, special page, content action - and an empty example)

There isn't really something as "a ResouceLoader extension" (like there are "SpecialPage extensions"), since RL is now part of the default structure of how an example should be. This would be great to have as part of the empty Example template extension.

If we can keep them up to date this time, we might even start using it ourselves when we start a new extension. That would certainly be nice (stock templates!)
Comment 2 Krinkle 2012-07-31 17:59:46 UTC

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