Closed Bug 291160 Opened 20 years ago Closed 19 years ago

breadcrumb extension seems to break if there's a slash in a page name

Categories

(developer.mozilla.org Graveyard :: General, defect)

Other
Other
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: deb, Assigned: alex)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 StumbleUpon/1.9994
Build Identifier: 

Example:
http://developer-test.mozilla.org/docs/DHTML_Demonstrations_Using_DOM/Style:Stock_Ticker

The problem there is the root "Home" element...it's not pointing in the correct
location.


Reproducible: Always
Assignee: deb → shaver
Status: UNCONFIRMED → NEW
Ever confirmed: true
So the problem here is that I just emit a link directly, instead of having the
wiki parser find the right link for me.  I'd _thought_ that
$parent_title->getLocalURL() would do the right thing for me there, but clearly
I was not correct.  You might say that I was wrong, even.

Maybe I should just start emitting wikitext for the breadcrumbs, and popping
through the parser again.  That sounds like pain, but it might be the most
robust thing to do.
Changing QA contact to the default QA so interested parties can watch bugs filed
before the default QA was changed.  Only bugs in an unfixed state have been
changed; fixed bugs are unlikely to be reopened, and more bugspam is always a
bad thing.  Sorry for the bugspam - filter it into your Junk folder by searching
for 'WhyDoesMediaWikiHaveToBeEvilAndNotAcceptArbitraryCharactersInTitlesAndLinks'.
QA Contact: deb → qa
Just upgrading this a little bit because the XSLT/XPath Reference navigation is
currently broken.  If this isn't going to be fixed soonish, I'll move the pages
so they no longer have a slash in the name.  Just let me know.
Severity: normal → major
Fixed by revision 1.3 of Breadcrumbs.php, turning over to polvi for update of
extension.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Fixed by revision 1.3 of Breadcrumbs.php, turning over to polvi for update of
extension.
Assignee: shaver → polvi
Sigh, reopening so it shows up for Alex.  I'm such a noob.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I applied the patch and it broke all of the developer wikis. 

Parse error: parse error, unexpected T_OBJECT_OPERATOR in
/data/devmo-dev/ca/docs/extensions/mozilla-extensions/Breadcrumbs.php on line 69
fixed and installed.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
Component: developer.mozilla.org → Infrastructure
Product: mozilla.org → Mozilla Developer Center
QA Contact: qa → infrastructure
Version: other → unspecified
Component: Deki Infrastructure → Other
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.