Last modified: 2012-07-31 18:00:08 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 T39805, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37805 - Create example extension for ResourceLoader
Create example extension for ResourceLoader
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Documentation (Other open bugs)
unspecified
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: ---


Attachments

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:

https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/examples.git;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
b9dc4a77fdbc49560439ceff3370f27edaf54d0a

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


Navigation
Links