Closed Bug 914332 Opened 13 years ago Closed 10 years ago

Add KumaScript support for detecting if a page was "included" in a zone and if so, which

Categories

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

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sheppy, Unassigned)

Details

(Whiteboard: [specification][type:feature])

What problems would this solve? =============================== This is similar to bug 914330, except this would let pages that are not children of a zone detect cases in which they're being displayed due to being included in a zone, and if so, which zone that is. Who would use this? =================== The main use cases for this involve support for in-content links back to the zone landing page from which the user arrived (we have a number of macros that provide a link back to the landing page; these will need to support linking back to the zone if accessed from one). What would users see? ===================== No difference other than the added awesomeness KumaScript macros gain from this. What would users do? What would happen as a result? =================================================== I suggest this look very much like the implementation of bug 914330, but with a different name. Perhaps page.includedByZone or something. Is there anything else we should know? ======================================
This probably doesn't need to happen before zones launch; it would be useful in that we could fix up certain macros to do a better job of routing people to where they should be when using "back to menu" type buttons, but we can live without it for the time being.
Zones will go away.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.