r88160 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88159‎ | r88160 | r88161 >
Date:12:24, 15 May 2011
Author:kaldari
Status:resolved (Comments)
Tags:
Comment:
allow local configuration
Modified paths:
  • /trunk/extensions/WikiLove/wikiLove.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiLove/wikiLove.js
@@ -60,6 +60,9 @@
6161 */
6262 openDialog: function() {
6363 if ( $.wikiLove.$dialog === null ) {
 64+ // Load local configuration
 65+ var wikiLoveConfigUrl = wgServer + wgScript + '?' + $.param( { 'title': 'MediaWiki:WikiLove.js', 'action': 'raw', 'ctype': 'text/javascript' } );
 66+ mw.loader.load( wikiLoveConfigUrl );
6467 // Find out if we can email the user
6568 $.wikiLove.getEmailable();
6669 // Build a type list like this:

Comments

#Comment by Krinkle (talk | contribs)   23:29, 31 May 2011

Marking resolved since this was problematic but has been fixed after the review.

Status & tagging log