Community glossary?

Hi everyone, I’m interested in creating a community glossary w/in discourse. Something like this:

I understand that this functionality isn’t part of the core, but is there a plugin that already exists? Or has anyone come up with a creative way to get this done in their forum?

To clarify, I want to add a glossary to my forum – I don’t want to turn a forum into a glossary.

Thanks!

إعجابَين (2)

Would making it a wiki post so what you want?

إعجاب واحد (1)

A wiki post (for the content) with DiscoTOC (for the navigation between letters) would be a pretty good combo

I wonder if this plugin might help in some way

5 إعجابات

It could get the job done-ish, but not exactly what I’m thinking. With a glossary page, each word would then be a link to it’s definition, or could have the definition right below the word (maybe accordian to see definition). In the former case, linkifying throughout the site could route a user to the word’s definition page, and in the latter case, to the open accordian.

The above could be done with wikis and a planned framework, but ease of community use would increase if there was a more straightforward way to add a word, rather than a topic. Also, the alphabetical sorter on the top of the page is a nice feature.

إعجابَين (2)

I haven’t worked with DiscoTOC. That might be the way to make this work. Knowledge Explorer plugin is fantastic, but I have to think about how to make it work with the glossary and rest of the site.

إعجاب واحد (1)

There is a linkify theme component. It could do what you want if it’s just a few words. If you are going to have dozens of hundreds you’ll want a plugin

5 إعجابات

Just played around with that a little bit and added some CSS to my theme to make glossary links appear in the standard text color with a dotted underline.

a.linkify-word { 
  text-decoration-line: underline; 
  text-decoration-style: dotted; 
  color: $primary; 
  text-underline-offset: 0.1em; 
}

(Browser-compatibility for text-underline-offset is not great yet, but at least on Firefox (Desktop) and Safari it makes this look a little nicer.)

Examples:

4 إعجابات

لقد كنت أعمل على قسم مسرد للمنتدى https://discourse.igkt.net/، وقمت بذلك بالطريقة التالية:

  • إنشاء فئة لإدخالات المسرد (في حالتي #glossary)

  • البدء في إنشاء مواضيع المسرد، في حالتي قمت بإنشاء موضوع واحد لكل مفهوم في المسرد، ولكن طريقة أخرى للقيام بذلك هي استخدام عدد أقل من المواضيع، واستخدام عناوين Markdown حتى تتمكن من استخدام روابط بأسلوب المرساة (anchor-style links) إليها. أي شيء له رابط فريد سيعمل.

  • استخدام ميزة الكلمات المراقبة المضمنة لربط كلمة المسرد (وأي مرادفات لها) بالموضوع ذي الصلة. (للأسف يجب القيام بذلك يدويًا، ما لم أتوصل إلى أتمتة لذلك)

هذه ميزة جديدة لهذا المنتدى، لذا أنا متأكد من أن الملاحظات ستصل حول ما إذا كانت مفيدة وما إذا كنا سنحصل على تغطية كافية للمسرد، وما إذا كانت تتعارض مع قدرة المستخدم على إضافة روابطه الخاصة إلى هذه الكلمات.

أود أن أسمع من الآخرين الذين قاموا بتنفيذ مسرد وكيف قاموا بذلك.

3 إعجابات

لقد حاولت أنا أيضاً، ومن المدهش مدى صعوبة جعل الأمر ينجح لأسباب تقنية واجتماعية على حد سواء.

نصائحي:

  1. عند استخدام الكلمات المراقبة، استخدم تعابير نمطية (Regex) مقيدة - وإلا فسيتم تطبيقها في أوقات غير مفيدة
  2. يمكن لقوالب المواضيع أن تكون مفيدة جداً لتشجيع هيكل جيد للمساهمات
  3. ستحتاج إلى بطل. أو كن مستعداً لتكون أنت البطل بنفسك. عمل شاق!
إعجاب واحد (1)

قد تجد مكون السمة (theme-component) هذين مفيدين.
إن إدراج مسرد للمصطلحات كجزء من وثائق الموقع فكرة جيدة. ولتحقيق هذه الغاية، يعد المكون الإضافي Doc Categories مفيدًا للغاية. عادةً ما أقوم بنسخ بعض مواضيع التوثيق المختلفة المتعلقة بواجهة المستخدم وما شابه ذلك كدليل إرشادي (Hot-to).

https://meta.discourse.org/t/auto-linkify-words/82193

https://meta.discourse.org/t/add-abbr-tags-to-words-in-posts/88394

إعجاب واحد (1)