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
This commit is contained in:
MatmaRex 2013-06-15 19:33:00 +02:00
parent df4e191020
commit 704440eb56

View file

@ -986,7 +986,7 @@ ve.init.mw.ViewPageTarget.prototype.setupSkinTabs = function () {
*/ */
ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks = function () { ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks = function () {
var veEditUri = this.veEditUri, 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 ) { if ( this.isViewPage ) {
$links.click( ve.bind( this.onEditSectionLinkClick, this ) ); $links.click( ve.bind( this.onEditSectionLinkClick, this ) );
} else { } else {