Index: trunk/extensions/VisualEditor/tests/parser/parserTests.js |
— | — | @@ -305,6 +305,8 @@ |
306 | 306 | // a few things we ignore for now.. |
307 | 307 | .replace(/\/wiki\/Main_Page/g, 'Main Page') |
308 | 308 | .replace(/(title|class|rel)="[^"]+"/g, '') |
| 309 | + // strip red link markup, we do not check if a page exists yet |
| 310 | + .replace(/\/index.php\?title=|&action=edit&redlink=1/g, '') |
309 | 311 | // the expected html has some extra space in tags, strip it |
310 | 312 | .replace(/<a +href/g, '<a href') |
311 | 313 | .replace(/" +>/g, '">'); |