Bug 12439 - Enable breadcrumbs in the wiki (miniature-chess.org)
: Enable breadcrumbs in the wiki (miniature-chess.org)
Status: NEW
Product: Miniature
General
: master
: All All
: Medium enhancement (vote)
: ---
Assigned To: Quim Gil
: general
:
:
:
:
  Show dependency tree
 
Reported: 2011-09-24 21:07 UTC by Uwe Kaminski
Modified: 2014-03-08 10:28 UTC (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Uwe Kaminski (reporter) 2011-09-24 21:07:21 UTC
EXACT STEPS LEADING TO PROBLEM: 
1. edit the main page: add an internal ling beginning with a "/". E.g.:
[[/subpage]]
2. click onto the red link to enter and edit "/subpage"
3. write somthing and save

EXPECTED OUTCOME: 
The page contains the stuff written in step 3. and on top of the page there is
a link back to the main page. A breadcrumb. 

ACTUAL OUTCOME: 


Here is a description how to enable this in media wiki:
(from
http://www.gossamer-threads.com/lists/maemo/community/48640?search_string=breadcrumbs;#48640
)
---
In LocalSettings.php:

# Enable subpages in all namespaces
$wgNamespacesWithSubpages = array_fill(0, 200, true);

and in the skin, I have:

<div id="breadcrumb"><?php $this->html('subtitle') ?></div>
---

I did it several times in media wikis I'm administrating and it works fine.
Comment 1 Quim Gil 2011-09-26 22:04:11 UTC
Taking.
Comment 2 Michael Hasselmann 2011-10-31 03:59:48 UTC
Any update?
Comment 3 Quim Gil 2011-10-31 17:42:51 UTC
I tried one day making http://www.mediawiki.org/wiki/Extension:BreadCrumbs2
work with not much luck. I'll trying again with more time to do a proper step
by step.

I think it is better to go for a maintained extension as opposed to editing the
template, but if I have problems again I will try that route.