r108643 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108642‎ | r108643 | r108644 >
Date:18:00, 11 January 2012
Author:rmoen
Status:ok
Tags:
Comment:
remove concurrency resource per revert. follow up r108600
Modified paths:
  • /trunk/phase3/resources/Resources.php (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.concurrency.js (deleted) (history)

Diff [purge]

Index: trunk/phase3/resources/jquery/jquery.concurrency.js
@@ -1,42 +0,0 @@
2 -/**
3 - * Base jQuery plugin for Concurrency
4 - *
5 - * @author Rob Moen
6 - */
7 -
8 -(function ( $ ) {
9 - $.concurrency = {
10 - /*
11 - * Checkin our checkout an object via API
12 - * @param ccaction: checkout, checkin
13 - * @param resourcetype: extension specific type (string)
14 - * @param record: resource id (int)
15 - * @param callback: function to handle response
16 - */
17 - check: function( params, callback ) {
18 - params = $.extend({
19 - action: 'concurrency',
20 - token: mw.user.tokens.get( 'editToken' ),
21 - format: 'json'
22 - }, params);
23 -
24 - return $.ajax( {
25 - type: 'POST',
26 - url: mw.util.wikiScript( 'api' ),
27 - data: params,
28 - success: function( data ){
29 - if ( typeof callback == 'function' ){
30 - callback(data);
31 - }
32 - },
33 - error: function( data ){
34 - if ( typeof callback == 'function' ){
35 - callback(data);
36 - }
37 - },
38 - dataType: 'json'
39 - } );
40 - }
41 - };
42 -
43 -})( jQuery );
\ No newline at end of file
Index: trunk/phase3/resources/Resources.php
@@ -112,9 +112,6 @@
113113 'jquery.colorUtil' => array(
114114 'scripts' => 'resources/jquery/jquery.colorUtil.js',
115115 ),
116 - 'jquery.concurrency' => array(
117 - 'scripts' => 'resources/jquery/jquery.concurrency.js',
118 - ),
119116 'jquery.cookie' => array(
120117 'scripts' => 'resources/jquery/jquery.cookie.js',
121118 ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108600Add some top padding to avoid text with large font size not touching the tool...santhosh08:31, 11 January 2012

Status & tagging log