Last modified: 2014-05-04 12:13:52 UTC
Transcluding a non-existing redirect does not yield a clear error message: 1) transcluding a page P with contents #REDIRECT[[non-existing-page]] will give a link to P, 2) transcluding a page P with contents #REDIRECT[[P]] will return an empty result, 3) transcluding a page P with contents #REDIRECT[[P2]], where P2 is again a redirect, will return an empty result. See the parser tests added in: https://gerrit.wikimedia.org/r/#/q/I74efc76e81ef044232d5bc629e42d5ac83681560,n,z
Tests documenting this (incorrect) behavior have been merged in https://gerrit.wikimedia.org/r/#/c/38628/