https://bugzilla.wikimedia.org/show_bug.cgi?id=29680

--- Comment #11 from Subfader <subfa...@gmail.com> 2011-07-09 22:37:03 UTC ---
Thanks for adding the hook. I downloaded the latest dump (r91785, including
GetDefaultSortkey() in Title.php), added

$wgHooks['GetDefaultSortkey'][] = 'wfFixSortorder';
function wfFixSortorder( $title, &$sortkey ) {
 $sortkey = $title->getPrefixedText();
 return true;
}

to LocalSetting.php and ran "updateCollation.php --force".

But I can't get it working. Pages in the Chart namespace still sort under C,
even after editing them (to be sure sorting is updated).

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to