From 704440eb56baf88b2f7bd9c572ac1c7ff5f3f4a6 Mon Sep 17 00:00:00 2001 From: MatmaRex Date: Sat, 15 Jun 2013 19:33:00 +0200 Subject: [PATCH] Remove handling of old 'editsection' class It's been replaced with 'mw-editsection' and all cached renders on Wikimedia wikis have expired by now. All backwards-compatibility occurences have been removed from MediaWiki core already. Change-Id: Id3731222445b588de8aec0e86892879ac4472636 --- modules/ve/init/mw/targets/ve.init.mw.ViewPageTarget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve/init/mw/targets/ve.init.mw.ViewPageTarget.js b/modules/ve/init/mw/targets/ve.init.mw.ViewPageTarget.js index ddde3f45b7..acd1984b76 100644 --- a/modules/ve/init/mw/targets/ve.init.mw.ViewPageTarget.js +++ b/modules/ve/init/mw/targets/ve.init.mw.ViewPageTarget.js @@ -986,7 +986,7 @@ ve.init.mw.ViewPageTarget.prototype.setupSkinTabs = function () { */ ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks = function () { var veEditUri = this.veEditUri, - $links = $( '#mw-content-text .mw-editsection a, #mw-content-text .editsection a' ); + $links = $( '#mw-content-text .mw-editsection a' ); if ( this.isViewPage ) { $links.click( ve.bind( this.onEditSectionLinkClick, this ) ); } else {