r89018 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89017‎ | r89018 | r89019 >
Date:03:59, 28 May 2011
Author:yuvipanda
Status:ok
Tags:
Comment:
Followup to make js conform to mw coding standards
Modified paths:
  • /trunk/extensions/ShortUrl/js/ext.shortUrl.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ShortUrl/js/ext.shortUrl.js
@@ -1,5 +1,5 @@
2 -$(document).ready(function() {
3 - if( $("#t-shorturl").length ) {
 2+jQuery( function ( $ ) {
 3+ if( $("#t-shorturl").length ) {
44 var url = $("#t-shorturl a").attr("href");
55 $("#firstHeading").append('<a class="title-shortlink" href="' + url + '">' + url + '</a>');
66 }

Status & tagging log