Extension talk:Semantic Glossary
- [History↑]
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Glossary items in links and properties | 3 | 19:09, 8 April 2013 |
| handling synonymous terms in Semantic Glossary | 1 | 08:43, 28 February 2013 |
| Plans of development | 0 | 16:36, 6 November 2012 |
| Semantic Glossary conflicts with Semantic Forms | 5 | 22:22, 27 October 2012 |
| Glossary-Term as a text in a Forme | 1 | 10:52, 30 August 2012 |
| Weird Liquid Threads behavior | 2 | 14:05, 13 May 2012 |
| How do I enter terms? | 6 | 21:16, 7 December 2011 |
| blank Mediawiki after installing Semantic Glossary | 2 | 11:40, 16 June 2011 |
first off, really good idea to use SMW for glossary items, makes them very reusable.
If I define a glossary term A1, and have these:
[[A1 testing]], [[Property::A1 testing]]
I end up with this:
[[A1 testing]] where the brackets are visible, A1 is a glossary item but there's no link, and [[:A1 testing|A1 testing]], same condition with no assignment.
Any way to fix this?
thanks!
Fixed in 0.4.2. Alas, if you have an MW pre1.20 installation now the annotation of terms between nowiki-tags is back. No way to fix this, i'm afraid.
sorry, but where do I get 0.4.2? I've just found 0.1.
Sorry, I meant Extension:Lingo 0.4.2. Here is a direct link: http://code.google.com/p/lingo-extension/downloads/list There is a small bug left, Lingo 0.4.2 will still report being 0.4.1 on Special:Version. Will fix that soonish.
How do I handle synonyms in Semantic Glossary? In Lingo you can specify synonyms in the following way:
- TERM ACRONYM
- term
- Term definition
Thanks!
Anna
Hi Anna, good question. I thought it would be as easy as specifying a second Glossary-Terms for one definition. But I just tried it and it does not work. So right now the only way to do this is to actually define the two synonyms separately. I will fix the extension so this should be easier in future versions.
Cheers
I love this extension! How are you planning to further improve it? What about supporting the word forms like "fox - foxes".
First of all, thank you for this extension!
I've tried this extension, but it seems it conflicts with Semantic Forms extension. My observation is the following: When the property name (eg.CSS property name) contains a term (eg. CSS) from a glossary, the "Edit with form" option will not work anymore. Is there any workaround for this problem?
Thank you,
Ndrew
Hi Andrew,
I was not aware of this problem until now, so alas I do not know a workaround. Maybe you could try to exclude the form from markup by including the magic word __NOGLOSSARY__ anywhere in that form's text.
Hi Stephan, I don't really remember but I thought I had the same problem and fixed this excluding formedit from text parsing
class LingoParser
protected function realParse( &$parser, &$text ) {
...
if ( $text == null ||
...
$action == 'formedit' ||
...
First of all: great extension! :-)
I have "hopefully a short" challenge:
For example, I define the properties Glossary-Term::CSS and Glossary-Definition::Cascading Style Sheet in a Glossary-page. And I'm using "CSS" as an fixtext in a Forme. Somthing like: "CSS: NameCSS". Now I open a Page with this Forms and get "CSSCascading Style Sheet" (term and definition concatenated) with no question mark. I expected only the term CSS. May you can help? Thanks!
I have the Glossary disabled on Talk pages and am using LQ on the site. If a discussion uses a term in the Glossary, the definition is inserted in the text of the message???
Is there a way to disable the Glossary by Application/Extension in localsettings or some other way to turn off the Glossary by Extension in addition to Namespace? Thanks DaveL (talk) 23:15, 12 May 2012 (UTC)
Sorry for the Noob question but I've installed the extension as well as Lingo on my SMW site. I've created the properties and now I'm stuck to figure out how to start creating Pages/terms for the Glossary? I'm new to SMW and just figuring out the structure of properties, types, categories, forms, templates and all. Glossary was my go-button and I LOVE the idea of it, but where the heck do I find some step-by-step instructs on how to start using it? Thanks, Dave L
Ok, lets build a simple structure of pages:
- Create a page 'Hypertext Markup Language' and insert the following text (taken from wikipedia):
HTML is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages. Web browsers can refer to CSS to define the appearance and layout of text and other material. The W3C, maintainer of both the HTML and the CSS standards, encourages the use of CSS over explicitly presentational HTML markup. In 1980, physicist Tim Berners-Lee, who was a contractor at CERN, proposed and prototyped ENQUIRE, a system for CERN researchers to use and share documents. Berners-Lee considered HTML to be an application of SGML. It was formally defined as such by the IETF with the mid-1993 publication of the first proposal for an HTML specification.
- Create a page 'Cascading Style Sheet' and insert the following text:
* Abbreviation: [[Glossary-Term::CSS]] * Definition: [[Glossary-Definition::Cascading Style Sheet]]
- Create similar pages for 'CERN', 'ENQUIRE', 'SGML', 'IETF'
- Go back to the page 'Hypertext Markup Language'. The abbreviations should be underlined and when you hover over them the Definition should appear.
- To provide links with the tooltips, define the Glossary-Link property for the pages, e.g. go to 'Cascading Style Sheet' and modify it so it looks like this:
* Abbreviation: [[Glossary-Term::CSS]] * Definition: [[Glossary-Definition::Cascading Style Sheet]] * Link: [[Glossary-Link::Cascading Style Sheet]]
- Go back to the page 'Hypertext Markup Language' to see the effect
- You can also provide interwiki links, e.g. on the 'Cascading Style Sheet' try replacing the line with the link by
* Link: [[Glossary-Link::wikipedia:Cascading Style Sheet]]
- If you want, create a page 'Glossary' and put the following query in it:
{{#ask:[[Glossary-Term::+]]
|?Glossary-Term
|?Glossary-Definition
|?Glossary-Link
|mainlabel=-
|format=table
}}
- Finally, if it worked, improve these instructions, put them on Extension:Semantic Glossary/Example and link to this page from the main page of the extension. Thanks! :)
Cheers,
Beautiful - Thank You so much! (and I posted the example)
I looked at your Extension:Semantic Glossary/Example and made a general overhaul. Please also note that you should use <nowiki></nowiki> for any documentation purpose where you reference to internal declarations such as [[Glossary:: ... ]] otherwise the documentation will contain red links.
Hi James,
thanks for that. The screenshots especially are awesome, I am always to lazy to do them. One thing though - the original example was meant for somebody completely new to SMW (and maybe not too experienced with MW, either), hence the detailed step-by-step instructions. Should we get back into that direction? I like the idea of the Semantic Glossary as a starting point for an SMW experience, because it gives useful results almost immediately.
Cheers,
I have installed Semantic Glossary the way it is described. I also have Lingo 0.2 and Semantic Mediawiki (1.5) But once I install Semantic Glossary, I get a blank Wiki page. That means: nothing works. Not error message, nothing. The extension page says that Semantic Mediawiki 1.6 is required, but the official latest version is 1.5 So what could be wrong? Any help is greatly appreciated. Anja