Author: twinchic
Description:
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.
Version: 1.22.0
Severity: normal
URL: мит
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=36233