* indentation changed from aligned to 'as short as possible
* alphabetical ordering of authors
* export of Betawiki's translation hints. Developers are encouraged to add, correct, elaborate!
* contains the latest export for extension messages from Betawiki
* ajax-qp-desc: link description added
* boardvote_entered: link description added
* bookinfo-desc: link description added
* requestaccount-text: link description added
* requestaccount-bio-text: link description added
* confirmaccount-acc: added link description (|\$1)
* contributionseditcount-desc: link description added
* crosswikiblock-local: link description added
* crosswikiunblock-local: link description added
* ea-nopage: added localised main page link
* farmernewwikimainpage: link description added
* revreview-main: link description added
* revreview-note: added link description (|\$1)
* gadgets-prefstext: added link descriptions
* gadgets-pagetext: added link descriptions
* newuserlog-desc: removed superfluous link
* passwordreset-desc: added link to special page
* smw_iq_moreresults: removed use of entity
* smw_noclosingbrackets: removed use of entity
* smw_badqueryatom: removed use of entity
* smw_browse_more: removed use of entity
* signaturelogpagetext: added link to special page
* createsigndoc-head: added link to special page, slightly reworded (slipt up sentence)
* formsavesummary: added link to special page
* (bug 12211) Show some gadgets only for admins
* (bug 13742) Allow for gadgets to be turned on by default
I'm a bit leery of the 'on by default' entirely at the moment. :)
A few comments:
* The readme examples don't seem to clearly show the option format
* Why are numeric constants being used as indexes to the option array? Strings are easier to work with and debug.
* There's a lot of stuff like this which feels very ugly:
if( isset( $gadget->options[Gadget::RIGHTS] ) && !empty( $gadget->options[Gadget::RIGHTS] ) ) {
Since it's all hard-coded anyway, why not just do something nice and clear like this?
if( !empty( $gadget->rights ) ) {
* And this:
if( wfGadgetAllowed( $gadget->options ) ) {
to:
if( $gadget->isAllowed() ) {