r93285 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93284‎ | r93285 | r93286 >
Date:16:56, 27 July 2011
Author:diebuche
Status:reverted
Tags:
Comment:
r93284 : Update rightClickEdit.js
Modified paths:
  • /trunk/phase3/resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js
@@ -3,12 +3,12 @@
44 */
55 jQuery( function( $ ) {
66 // Select all h1-h6 elements that contain editsection links
7 - $( 'h1:has(.editsection a), ' +
8 - 'h2:has(.editsection a), ' +
9 - 'h3:has(.editsection a), ' +
10 - 'h4:has(.editsection a), ' +
11 - 'h5:has(.editsection a), ' +
12 - 'h6:has(.editsection a)'
 7+ $( '.mw-h1:has(.editsection a), ' +
 8+ '.mw-h2:has(.editsection a), ' +
 9+ '.mw-h3:has(.editsection a), ' +
 10+ '.mw-h4:has(.editsection a), ' +
 11+ '.mw-h5:has(.editsection a), ' +
 12+ '.mw-h6:has(.editsection a)'
1313 ).live( 'contextmenu', function( e ) {
1414 // Get href of the [edit] link
1515 var href = $(this).find( '.editsection a' ).attr( 'href' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r93299revert r93284 and follow up r93285...hashar19:24, 27 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93284Fix Bug 11270 & Bug 11555 : Make editsection link more understandable by posi...diebuche16:43, 27 July 2011

Status & tagging log