r77189 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77188‎ | r77189 | r77190 >
Date:21:57, 23 November 2010
Author:tparscal
Status:ok
Tags:
Comment:
Added some initial resources for one of the prototypes.
Modified paths:
  • /trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php
@@ -38,6 +38,11 @@
3939 ),
4040 'dependencies' => array( 'jquery.ui.dialog', 'jquery.tipsy', 'jquery.stars' ),
4141 ),
 42+ 'ext.articleFeedback-beta' => array(
 43+ 'scripts' => 'ext.articleFeedback-beta/ext.articleFeedback-beta.js',
 44+ 'styles' => 'ext.articleFeedback-beta/ext.articleFeedback-beta.css',
 45+ 'dependencies' => array( 'jquery.tipsy' ),
 46+ ),
4247 'jquery.stars' => array(
4348 'scripts' => 'jquery.stars/jquery.stars.js',
4449 'styles' => 'jquery.stars/jquery.stars.css',
@@ -104,7 +109,8 @@
105110 && count( $wgArticleFeedbackCategories )
106111 && self::isInCategories( $title->getArticleId(), $wgArticleFeedbackCategories )
107112 ) {
108 - $out->addModules( 'ext.articleFeedback-alpha' );
 113+ //$out->addModules( 'ext.articleFeedback-alpha' );
 114+ $out->addModules( 'ext.articleFeedback-beta' );
109115 }
110116 return true;
111117 }

Status & tagging log