Page MenuHomePhabricator

Breadcrumbs feature from Help FAQ breaks
Closed, InvalidPublic

Description

Author: katharine_clark

Description:
Hi. I know next to nothing about PHP but have successfully installed, edited and
customized a wiki database. However, when I tried the "Breadcrumbs" feature from
the http://www.mediawiki.org/wiki/Help:FAQ page, I get a "non-object" error for
every page save the main page. Can someone tell me in clear terms how I can fix
this, or perhaps how this fix is incompatible with my version?
I am not the administrator of the server and have to put up with PHP 4.4.3 and
therefore had to install an older version of mediawiki.


Version: 1.6.x
Severity: normal
OS: Linux
Platform: Other
URL: http://www.ocf.berkeley.edu/~katclark/wiki2/index.php?title=Main_Page

Details

Reference
bz7170

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:25 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz7170.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

Code posted at [[mw:Help:FAQ]] is not supported, except for modifications to
LocalSettings.php. The breadcrumbs code was added by [[mw:User:Barrylb]], who
is not a developer, and who knows what version he was using, what else he forgot
to add, etc. I suggest you ask him if you have any problems with his code.
Meanwhile, I think I'll be removing that from the FAQ.

http://www.mediawiki.org/w/index.php?title=Help:FAQ&diff=32953&oldid=32949

robchur wrote:

(sigh) Some idiot posted an untested, official hack on our FAQ and made it look
like it had our official support. This is the reason documentation writing
should be made more accountable than the ruddy Wikipedia.

MediaWiki contains limited "breadcrumb" support when using subpages; further
documentation about this SHOULD be available with a little bit of web searching
(though watch out for the false positive of the aforementioned hack) - if not, a
note dropped on one of the help pages on MediaWiki.org will elicit a response.

I've removed the offending misinformation from the FAQ.

robchur wrote:

(In reply to comment #2)

(sigh) Some idiot posted an untested, official hack on our FAQ and made it look

That's "untested, unofficial", even.