r88814 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88813‎ | r88814 | r88815 >
Date:18:49, 25 May 2011
Author:kaldari
Status:ok
Tags:
Comment:
updating default options
Modified paths:
  • /trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.defaultOptions.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.defaultOptions.js
@@ -46,20 +46,21 @@
4747 mail: 'Hello $7!\n\nI just awarded you a barnstar.'
4848 }
4949 },
50 - icon: mw.config.get( 'wgServer' ) + mw.config.get( 'wgScriptPath' ) + '/extensions/WikiLove/images/icons/wikilove-icon-barnstar.png' // icon for left-side menu
 50+ icon: mw.config.get( 'wgServer' ) + mw.config.get( 'wgScriptPath' ) + '/extensions/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-barnstar.png' // icon for left-side menu
5151 },
52 - 'puppy': {
53 - name: 'Puppy',
 52+ 'beer': {
 53+ name: 'Beer',
5454 fields: [ 'header' ],
55 - header: 'A puppy for you!',
 55+ header: 'A beer for you!',
5656 text: '[[$3|left|150px]]\n$1\n\n~~~~\n<br style="clear: both"/>', // custom text
5757 gallery: {
5858 // right now we can only query the local wiki (not e.g. commons)
59 - category: 'Category:Puppies',
 59+ category: 'Category:Beer',
6060 total: 100, // total number of pictures to retrieve, and to randomise
6161 num: 3, // number of pictures to show from the randomised set
6262 width: 145 // width of each picture in pixels in the interface (not in the template)
63 - }
 63+ },
 64+ icon: mw.config.get( 'wgServer' ) + mw.config.get( 'wgScriptPath' ) + '/extensions/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-beer.png' // icon for left-side menu
6465 },
6566 'kitten': {
6667 name: 'Kitten',
@@ -69,7 +70,8 @@
7071 gallery: {
7172 imageList: ['File:Cucciolo gatto Bibo.jpg','File:Kitten (06) by Ron.jpg','File:Kitten-stare.jpg'],
7273 width: 145
73 - }
 74+ },
 75+ icon: mw.config.get( 'wgServer' ) + mw.config.get( 'wgScriptPath' ) + '/extensions/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-kitten.png' // icon for left-side menu
7476 },
7577 // default type, nice to leave this one in place when adding other types
7678 'makeyourown': {

Status & tagging log