Extension talk:MetaDescriptionTag
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Updates for 1.18 | 0 | 01:33, 14 January 2012 |
| Doesn't work with 1.16.1 | 1 | 05:26, 13 January 2012 |
| Searchability | 4 | 05:26, 13 January 2012 |
| Extension used in a template | 4 | 05:24, 13 January 2012 |
I used Choshi's modification of this extension successfully in my installation of v1.18.0. Went looking for another extension that could do meta keyword tags and wound up adapting Choshi's version to come up with a new version of MetaKeywordsTag that works in MW 1.18.0 too.
I swear this was working in the beta versions, but in 1.16.1 I don't get this extension to work. There are no errors and <metadesc>blah blah</metadesc> doesn't show up as wiki code or anything so it is being parsed. However, the source never shows it as a meta description tag.
Seems to work fine for me with MW 1.16.2 :)
This Extension is a very nice one. Tried it before couldn't get it working. Actually it's very simple. There's only one thing i would like to have a workarount for. The searchability for meta tags. I can do it with another Extension, RigorousSearch, making it the default searchengine on my Wiki, but that one is taking lots of recourses of the server and can take some time depending on the Wiki size. But the RigorousSearch finds the Meta tags without problem.
Not quite sure what you mean.
The Meta description you can give with this extension is not found by the MediaWiki built in searchengine. It can only be found if you replace the built in searchengine by RigorousSearch. That is what i've done now to search for the Meta description. Another thing i'm interested in: hoe can i add more than 1 Meta description? It's not with a seperating comma (,) because that makes a weird page.
If you search for <metadesc, it should come up in RigorousSearch, but I am not an expert on that extension. Also, only one meta description allowed per page.
You can put more than one meta description on one page, the only rule is that you put every description in it's own tags. Sypie
Is there some way to use this extension on a template and insert a template variable into the page description:
- <metadesc content="Extract from the article {{{title}}}" />
I would love to know how to do this.
Me three! Would really be very useful.
See Extension:MetaDescriptionTag#Example_using_template.2C_variable_substitution. Requires upgrading to version 0.2 of the extension, as well as installing Extension:TagParser (if you're not already running MediaWiki 1.12+).
Thank you! It's working very well