Content deleted Content added
→Missing error check: reply |
reply |
||
Line 9:
:::::What would be an example of an "incorrectly formatted interwiki prefix" that was also an invalid title? Any "invalid namespace" is still a valid title, e.g., I can create [[User chat:John Green]], which is still a valid mainspace title. And if I put an "invalid interwiki prefix" on it, e.g., [[mega:User chat:John Green]], it's still a valid, albeit unlikely, title. [[User:Wbm1058|Wbm1058]] ([[User talk:Wbm1058|talk]]) 17:35, 30 April 2014 (UTC)
::::::That would be something like [[C:\Windows]] or ''[[Meatball: The Italian Food]]'', as "C:" and "Meatball:" are reserved for interwiki prefixes. I suppose that means they are "valid" interwiki prefixes rather than "invalid" - what's the best way to word this? — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 21:39, 30 April 2014 (UTC)
:::::::I see. Interesting. I just updated [https://en.wikipedia.org/w/index.php?title=Wikipedia%3ANamespace&diff=606551642&oldid=605608737 Wikipedia:Namespace] and [https://en.wikipedia.org/w/index.php?title=Wikipedia%3APage_name&diff=606556062&oldid=600932872 Wikipedia:Page name]. C: and meatball: still don't throw errors. To get an error you would need to find them on the list at [[m:Special:Interwiki]]. Looking at a practical example, [[Q: Are We Not Men? A: We Are Devo!]] doesn't give an error either (see [[Are We Not Men? We Are Devo!]]). If it isn't easy to check the interwiki table then it's probably not worth the trouble as this scenario is quite rare. Maybe just omit the part about "incorrectly formatted interwiki prefix" as it might just confuse people. Actually with the new check '''<nowiki>invalidChar = page:match('[#<>%[%]|{}]')</nowiki>''' I'm wondering what still falls through to get caught by the next check "for invalid titles that aren't covered by the previous check." I haven't found any examples that trigger that error yet. – [[User:Wbm1058|Wbm1058]] ([[User talk:Wbm1058|talk]]) 02:17, 1 May 2014 (UTC)
== Moving over a disambiguation page implies that a multi-move request should be submitted ==
|