r52875 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52874‎ | r52875 | r52876 >
Date:23:37, 7 July 2009
Author:catrope
Status:deferred
Tags:
Comment:
EditWarning: Add hack so EditWarning only works for Vector
Modified paths:
  • /trunk/extensions/UsabilityInitiative/EditWarning/EditWarning.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/EditWarning/EditWarning.js
@@ -1,6 +1,9 @@
22 /* JavaScript for EditWarning extension */
33
44 $( document ).ready( function() {
 5+ if( skin != 'vector' )
 6+ return;
 7+
58 $( '#wpTextbox1, #wpSummary' ).each( function() {
69 $(this).data( 'origtext', $(this).val() );
710 });

Status & tagging log