Swap order of exists() and isAlwaysKnown() checks, as the latter is generally less...
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 9 Aug 2010 15:35:36 +0000 (15:35 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 9 Aug 2010 15:35:36 +0000 (15:35 +0000)
commit9f1573f4923dfa4ccc706ad84350ccd827898204
tree7f13793946153598a1b3fd8686de18a55a6d409e
parent8affbc7fca1bb2fd6acbd115091be9f7d190f891
Swap order of exists() and isAlwaysKnown() checks, as the latter is generally less expensive. Could not reproduce a case where Linker::link() actually caused an existence check to be ran for an always-known title, though.
includes/Title.php