Extension talk:MetaDescriptionTag

From MediaWiki.org
Jump to: navigation, search
Start a new discussion

Contents

Thread titleRepliesLast modified
Updates for 1.18001:33, 14 January 2012
Doesn't work with 1.16.1105:26, 13 January 2012
Searchability405:26, 13 January 2012
Extension used in a template405:24, 13 January 2012

Updates for 1.18

Edited by 2 users.
Last edit: 02:13, 22 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.

Brted 04:41, 13 January 2012 (UTC)05:27, 13 January 2012

Doesn't work with 1.16.1

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.

--Ciovala 23:31, 13 January 2011 (UTC)05:26, 13 January 2012

Seems to work fine for me with MW 1.16.2 :)

--Mitchelln 12:53, 16 September 2011 (UTC)05:26, 13 January 2012
 

Searchability

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.

—The preceding unsigned comment was added by an unknown user on a unknown date.05:24, 13 January 2012

Not quite sure what you mean.

-Jlerner 02:32, 1 July 2008 (UTC)05:25, 13 January 2012

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.

—The preceding unsigned comment was added by an unknown user on a unknown date.05:25, 13 January 2012

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.

-Jlerner 21:14, 2 July 2008 (UTC)05:25, 13 January 2012
 

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

—The preceding unsigned comment was added by an unknown user on a unknown date.05:26, 13 January 2012
 
 
 

Extension used in a template

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}}}" />
—The preceding unsigned comment was added by an unknown user on a unknown date.05:23, 13 January 2012

I would love to know how to do this.

--Brian of London 18:00, 30 July 2008 (UTC)05:23, 13 January 2012

Me three! Would really be very useful.

--85.225.75.179 06:11, 24 August 2008 (UTC)05:23, 13 January 2012

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+).

-Jlerner 15:32, 24 August 2008 (UTC)05:23, 13 January 2012

Thank you! It's working very well

Brian of London 20:40, 5 September 2008 (UTC)05:24, 13 January 2012
 
 
 
 
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox