r103378 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103377‎ | r103378 | r103379 >
Date:20:41, 16 November 2011
Author:ckepper
Status:ok
Tags:
Comment:
fixed JavaScript Tooltips for adding or removing books from a collection
Modified paths:
  • /trunk/extensions/Collection/js/bookcreator.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/js/bookcreator.js
@@ -166,7 +166,7 @@
167167 var prefix = wgArticlePath.replace(/\$1/, '');
168168 $('#bodyContent '
169169 + 'a[href^=' + prefix + ']' // URL starts with prefix of wgArticlePath
170 - + ':not(a[href~=index.php])' // URL doesn't contain index.php (simplification!)
 170+ + ':not(a[href~="index.php"])' // URL doesn't contain index.php (simplification!)
171171 + '[title!=]' // title attribute is not empty
172172 + '[rel!=nofollow]'
173173 + ':not(.external)'

Follow-up revisions

RevisionCommit summaryAuthorDate
r107970MFT r100516, r103260, r103315, r103378, r103382, r104862reedy00:08, 4 January 2012

Status & tagging log