Last modified: 2011-05-23 18:46:04 UTC
mw.util.getTitleFrom('http://translatewiki.net/wiki/Special:Contributions/Krinkle') returns 'Special:Contributions/Krinkle' though it should return 'Special:Contributions' only as mw.util.getTitleFrom('http://translatewiki.net/w/index.php?title=Special:Contributions&target=Krinkle') does.
Looks like it should indeed return 'Special:Contributions/Krinkle', so it's working as intended. The second URL you give is not equivalent, because the overall wiki system has no way of knowing how Special:Contributions will interpret a subpage parameter; the second URL does not use a subpage parameter, but rather a separate GET parameter that's *not* part of the title. The one problem I see here is that getTitleFrom is documented to return a Title object since r88276, but it seems to return a string. Will mark that on CR.