'Foo/.../Sandbox',
'Sandbox/...',
'A~~',
+ ':A',
// Length is 256 total, but only title part matters
'Category:' . str_repeat( 'x', 248 ),
str_repeat( 'x', 252 ),
// interwiki prefix
'localtestiw: #anchor',
+ 'localtestiw:',
'localtestiw:foo',
'localtestiw: foo # anchor',
'localtestiw: Talk: Sandbox # anchor',
'Category: ',
'Category: #bar',
// interwiki prefix
- 'localtestiw:',
'localtestiw: Talk: # anchor',
'localtestiw: Talk:'
) as $text ) {