Topic on Extension talk:BreadCrumbs/Archive 2

[SOLVED] Make Bread Crumb UPO appear in Special:Preferences#mw-prefsection-rendering

3
Summary by Wikinaut
79.98.163.245 (talkcontribs)

I have recently installed this extension and I found that it was necessary to make a single character change, to add an ampersand, in order for the preferences to be shown.

I downloaded the "Git master" snapshot on 2013-03-22 and it was necessary to change, in BreadCrumbs.php:

function fnBreadCrumbsAddPreferences( $user, $defaultPreferences ) {

to:

function fnBreadCrumbsAddPreferences( $user, &$defaultPreferences ) {

I don't know enough about the GetPreferences hook to know if the requirement to add the & is a peculiarity of my installation, or the way that things should be. --79.98.163.245 10:55, 25 March 2013 (UTC)

AABoyles (talkcontribs)

No, that's definitely a bug. I'll be sure it gets fixed in the upcoming, super-charged, latest-and-greatest BreadCrumbs, powered by Javascript. Thanks for the tip!

Reply to "[SOLVED] Make Bread Crumb UPO appear in Special:Preferences#mw-prefsection-rendering"