Last modified: 2014-07-08 02:43:36 UTC
When Title::newFromText() called, $text variable used as key for $titleCache array. But every title can created from many text variants. For example "tEST", "Test" and "TEST" direct to one canonical title key "Test". However result of calling Title::newFromText() will different for this three variants because new Title instance will create for each variant and stored to $titleCache. Property $mDbkeyform will the same. Continue work with system with this wrong $titleCache state create unexpected behaviour (Article::exists() results for example) when develop complicated extensions.
(In reply to Sergey Nevmerzhitsky from comment #0) > "tEST", "Test" and "TEST" direct to one canonical title key "Test". This isn't the case. "tEST" and "TEST" are the same, but "Test" isn't, since titles are case-sensitive except for the first letter.