https://bugzilla.wikimedia.org/show_bug.cgi?id=39403
Bawolff <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Bawolff <[email protected]> 2012-08-16 18:06:17 UTC --- >If $wgCapitalLinks is false and the given title was created from a >non-capitalized string, only subpages starting with a non-capitalized string >should be returned I guess. Yes. Is that not the case? The code in question: 2724 $dbr = wfGetDB( DB_SLAVE ); 2725 $conds['page_namespace'] = $this->getNamespace(); 2726 $conds[] = 'page_title ' . $dbr->buildLike( $this->getDBkey() . '/', $dbr->anyString() ); getDBkey will return the title name with the first letter lowercase in the situation you describe above. Title::getUserCaseDBKey() is a really useless function that I'm not sure what the point of is. It will only differ from Title::getDBkey() in the case that $wgCapitalLinks is set to true. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
