Open rtanglao opened 1 month ago
The 11 articles can also be fixed by fixing the capitalization error [[Image:Fx57menu]] in each article... to make it [[Image:Fx57Menu]] - the correct title shown in https://support.mozilla.org/en-US/gallery/image/29075
Another possible solution is to create and upload a new image with the title Fx57menu ... which I did just now. See https://support.mozilla.org/en-US/gallery/image/52732
It didn't seem to work though (unless it takes awhile) since the new image doesn't show any articles that use it. If it doesn't work without additional steps (such as an "empty edit" in each affected article to make the new image display) then the 11 articles should be updated to fix the capitalization error.
@AliceWyman The best solution is to get rid of the image in each article and use the unicode character
≡
, correct? I don't see how using an image is better, if it is what am I missing Alice?
The 11 articles can also be fixed by fixing the capitalization error [[Image:Fx57menu]] in each article... to make it [[Image:Fx57Menu]] - the correct title shown in https://support.mozilla.org/en-US/gallery/image/29075
Another possible solution is to create and upload a new image with the title Fx57menu ... which I did just now. See https://support.mozilla.org/en-US/gallery/image/52732
@AliceWyman The best solution is to get rid of the image in each article and use the unicode character
≡
, correct? I don't see how using an image is better, if it is what am I missing Alice?I don't know (and others also might not know) how to enter a unicode character for the hamburger menu or other icons/symbols used in KB articles. (I did a google search and found this code for the hamburger menu symbol:
☰
which displays as ☰ What is the code you used?) Can you edit one of the 11 articles and use the unicode character you want to use but don't approve it? I think using an image would be easier for most editors but that's my opinion (You could check with SUMO staff).
@AliceWyman i copy/paste ≡
(which I think is https://www.compart.com/en/unicode/U+2261 )from https://support.mozilla.org/en-US/kb/new-thunderbird-115-supernova/,; not sure what the hex code is. it's way easier than dealing with a unicode character than an image. because it's just a glyph i.e. a normal character and doesn't require SUMO image markup.
☰
or something else?From #sumo-team slack (link will break in 6 months as per data retention policies_ which of course requires an NDA:
☰
unicode character instead of using the image!I was proposing it just for hamburger because a) the hamburger icon is everywhere and b) we have an exact equivalent. The other icons I would suggest to use images for now unless somebody has time to search for unicode equivalents (and if Unicode characters for those icons exist) for the other icons!
I don't have access to Slack but if a decision was made to use the code ☰
for the hamburger menu icon ☰ instead of an image, I think that this should be mentioned by Abby or another staff member on the SUMO KB article discussion forum, https://support.mozilla.org/en-US/forums/knowledge-base-articles/. I would also consider adding a note about using code instead of an image for common icons, (or just for the hamburger icon) to some contributor articles related to KB markup (e.g., https://support.mozilla.org/en-US/kb/markup-chart). By the way, I think that the code I'm using is referred to as HTML code. Ref: https://www.compart.com/en/unicode/html.
P.S. I think your unicode U+2261 symbol ≡ code ≡
is better than the one I found, symbol ☰ code ☰
Your symbol is smaller and looks closer to the current hamburger menu we're using in Firefox, [[Image:Fx89menuButton]] - see https://support.mozilla.org/en-US/gallery/image/41988
The one I found, symbol ☰ code ☰
is closer to the old [[Image:Fx57Menu]] - see https://support.mozilla.org/en-US/gallery/image/29075
thanks for your excellent comments @AliceWyman
☰
The term “HTML entity” refers specifically to the named character reference, like ˙
.
In HTML and XML, a numeric character reference refers to a character by its Universal Character Set/Unicode code point, and uses the format:
&#xhhhh;
or
&#nnnn;
where the
x
must be lowercase in XML documents, hhhh is the code point in hexadecimal form, and nnnn is the code point in decimal form. […] In contrast, a character entity reference refers to a sequence of one or more characters by the name of an entity which has the desired characters as its replacement text. […] HTML Entity Sets Early versions of HTML built in small subsets of these, relating to characters found in three Western 8-bit fonts. […] XML Entity Sets The W3C MathML Working Group took over maintenance of the ISO public entity sets, combined with the MathML and documents them in XML Entity Definitions for Characters. This set can support the requirements of XHTML, MathML and as an input to future versions of HTML. HTML5 HTML5 adopts the XML entities as named character references, however it restates them without reference to their sources and does not group them into sets. The HTML5 specification additionally provides mappings from the names to Unicode character sequences using JSON.Numerous other entity sets have been developed for special requirements, and for major and minority scripts. However, the advent of Unicode has largely superseded them.
ROFL it's not an HTML entity
it's an Numeric character reference
I stand corrected thanks @AliceWyman :-) !
≡
is the hexadecimal numeric character reference, and the HTML entity is ≡
.
I knew the answer because I had done some research to use the right expression in the summary of a revision on SUMO.
Some unicode characters may not display for eveyone so I would rethink using them. See https://support.mozilla.org/en-US/kb/tab-overview-menu/discuss/12381 Close a tab: {button 🞩} icon doesn't display for everyone? ... and the reply from moz_contrib
Updated the SUMO KB article: [Markup Chart](https://support.mozilla.org/en-US/kb/markup-chart/compare?locale=en-US&to=283339&from=278304) and [posted in the Knowledge Base Forum](https://support.mozilla.org/en-US/forums/knowledge-base-articles/717097)
I have a revision pending review to edit the Markup chart article to remove the {button } markup. The Menu button ☰ HTML unicode ☰
should be used by itself, as we currently do for articles that use the Menu button image. See https://support.mozilla.org/en-US/kb/markup-chart/discuss/12386 Use of HTML unicode for Menu button and {button } markup
I also posted a comment to https://support.mozilla.org/en-US/forums/knowledge-base-articles/717097 Decision: Please use {button ☰}
for hamburger menu instead an image for Thunderbird and Firefox desktop articles
Checklist:
Fx57Menu
and fix themDetails
(hat tip @AliceWyman and @ artist )
11 articles which should be edited to use ≡ instead of [[Image:Fx57menu]]
≡
instead of[[Image:Fx57menu]]