Index: trunk/extensions/Collection/js/bookcreator.js |
— | — | @@ -166,7 +166,7 @@ |
167 | 167 | var prefix = wgArticlePath.replace(/\$1/, ''); |
168 | 168 | $('#bodyContent ' |
169 | 169 | + '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!) |
171 | 171 | + '[title!=]' // title attribute is not empty |
172 | 172 | + '[rel!=nofollow]' |
173 | 173 | + ':not(.external)' |