-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sidebar to all Glossary pages #16942
Labels
l10n-ja
Issues related to Japanese content.
l10n-ko
Issues related to Korean content.
l10n-pt-br
Issues related to Brazilian Portuguese
Comments
yin1999
added
l10n-ja
Issues related to Japanese content.
l10n-ko
Issues related to Korean content.
l10n-pt-br
Issues related to Brazilian Portuguese
labels
Nov 13, 2023
leon-win
added a commit
to leon-win/mdn_translated-content
that referenced
this issue
Nov 14, 2023
leon-win
added a commit
to leon-win/mdn_translated-content
that referenced
this issue
Nov 15, 2023
leon-win
added a commit
to leon-win/mdn_translated-content
that referenced
this issue
Nov 15, 2023
leon-win
added a commit
to leon-win/mdn_translated-content
that referenced
this issue
Nov 15, 2023
leon-win
added a commit
to leon-win/mdn_translated-content
that referenced
this issue
Nov 15, 2023
leon-win
added a commit
to leon-win/mdn_translated-content
that referenced
this issue
Nov 15, 2023
leon-win
added a commit
to leon-win/mdn_translated-content
that referenced
this issue
Nov 15, 2023
leon-win
added a commit
to leon-win/mdn_translated-content
that referenced
this issue
Nov 15, 2023
josielrocha
added a commit
that referenced
this issue
Nov 19, 2023
* [pt-br]: add sidebar to Glossary index page, set short-title (#16942) * [pt-br]: add sidebar to all Glossary pages (#16942) * [pt-br] fix duplication {{GlossarySidebar}} macro on Glossary main page Co-authored-by: Josiel Rocha <[email protected]> --------- Co-authored-by: Josiel Rocha <[email protected]>
This was referenced Nov 19, 2023
This issues has become closed, although in fact it has not yet been completed. Therefore, if anyone has the opportunity, please re-open this issue. |
hochan222
pushed a commit
that referenced
this issue
Dec 11, 2023
[ko]: add sidebar to all Glossary pages (#16942)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
l10n-ja
Issues related to Japanese content.
l10n-ko
Issues related to Korean content.
l10n-pt-br
Issues related to Brazilian Portuguese
What is the new suggestion?
I recently noticed that many Glossary pages were missing a sidebar with a list of terms.
Examples of pages that do not have a sidebar:
https://developer.mozilla.org/es/docs/Glossary/Abstraction
https://developer.mozilla.org/ja/docs/Glossary/Abstraction
https://developer.mozilla.org/ko/docs/Glossary/Accessible_name
https://developer.mozilla.org/pt-BR/docs/Glossary/Abstraction
I already fixed it for
ru
locale (#16863).And I think it will be useful to do this in other locales:
es
([es]: add sidebar to all Glossary pages #16943)ja
([ja] add sidebar to Glossary pages (part 1) #17031, [ja] add sidebar to Glossary pages (part 2) #17032, [ja] add sidebar to Glossary pages (part 3) #17033, [ja] add sidebar to Glossary pages (part 4) #17034, [ja] add sidebar to Glossary pages (part 5) #17035, [ja] add sidebar to Glossary pages (part 6) #17036)ko
([ko]: add sidebar to all Glossary pages #16970)pt-BR
([pt-br]: add sidebar to all Glossary pages #16986)Why is it important or useful?
Sidebar is useful for navigation in Glossary, so this change will improve user experience.
Other supporting information
Initial works was in #16848.
To add a sidebar we need to do the following on each page (using the Spanish locale as an example):
{{GlossarySidebar}}
macro at the beginning of the page{{MDNSidebar}}
macro if present{{QuickLinksWithSubpages("/es/docs/Glossary")}}
macro if present{{ListSubpagesForSidebar("/es/docs/Glossary", 1)}}
macro if presentwith regular markup with the heading "See also":
The text was updated successfully, but these errors were encountered: