Index: trunk/extensions/Collection/js/bookcreator.js |
— | — | @@ -157,7 +157,6 @@ |
158 | 158 | + 'a[href^=' + prefix + ']' // URL starts with prefix of wgArticlePath |
159 | 159 | + ':not(a[href~=index.php])' // URL doesn't contain index.php (simplification!) |
160 | 160 | + '[title!=]' // title attribute is not empty |
161 | | - + ':not([title~=:])' // title doesn't contain a ':' (simplification!) |
162 | 161 | + '[rel!=nofollow]' |
163 | 162 | + ':not(.external)' |
164 | 163 | + ':not(.sortheader)' |
— | — | @@ -168,6 +167,9 @@ |
169 | 168 | return; |
170 | 169 | } |
171 | 170 | var $this = $(this); |
| 171 | + if ($this.attr('title').indexOf(':') != -1) { // title doesn't contain ":" (simplification!) |
| 172 | + return; |
| 173 | + } |
172 | 174 | if ($this.parents('.nopopups').length) { |
173 | 175 | return; |
174 | 176 | } |