Extension talk:MetaDescriptionTag

About this board

Wirthi (talkcontribs)

I love this extension, helping me a lot, thanks!

One remaining problem I have to solve: can I automatically remove wiki markup before providing it as description?

As I use several levels of templates on some pages to automatically provide the description text in many situations, this often leads to situations where the description contains wiki-formatting (mostly links, but also others). This, however, results in e.g. brackets to land in the description, and at least Google accepts that and displays brackets in the search results.

I have looked through Templates, Parser functions, magic words, etc, but have found no possibility to do that (a function that transforms an input wiki-text to plain text, or at least formatted html code).

Reply to "Remove wiki markup"

Is there any possibility to add it to all pages of wiki?

2
PrometheusAla (talkcontribs)

Extension working very well! Thank you! Is there any way to add it automatically to all published pages and for the every new page?

FreedomFighterSparrow (talkcontribs)
Reply to "Is there any possibility to add it to all pages of wiki?"

Does not work with 1.19

2
Craig131 (talkcontribs)

Gives horrible system error upon loading of your wiki after installation. However, Description2 works beautifully for changing the meta description on 1.19. Craig131 (talk) 07:13, 5 August 2012 (UTC)

Frug~mediawikiwiki (talkcontribs)

I'm using this fine with 1.21.2 so either there was something specific to 1.19 or there was a problem with your setup.

This post was posted by Frug~mediawikiwiki, but signed as Frug.

Reply to "Does not work with 1.19"
Peachey88 (Flood) (talkcontribs)

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.

This post was posted by Peachey88 (Flood), but signed as Brted.

109.77.118.88 (talkcontribs)

I am trying to make it work with the latest Mediawiki (1.18.1) but the it doesn't seem working.

Somebody else tried? Any luck? I need it quite urgently because I have an error showing "Tag "metadesc"" not recognized on all the pages that use this tag.

Thanks....

Dantman (talkcontribs)
Brted (talkcontribs)

Did you use the code on Choshi's version of the page? That one worked for me. Follow the link on the main page for the extension and then copy that code.Brted (talk) 01:56, 14 March 2012 (UTC)

209.29.183.172 (talkcontribs)

Use Choshi's version. I've tested it on 1.19 with no problems.

Reply to "Updates for 1.18"

Doesn't work with 1.16.1

2
Peachey88 (Flood) (talkcontribs)

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.

This post was posted by Peachey88 (Flood), but signed as Ciovala.

Peachey88 (Flood) (talkcontribs)
Reply to "Doesn't work with 1.16.1"
Peachey88 (Flood) (talkcontribs)

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.

Peachey88 (Flood) (talkcontribs)
Peachey88 (Flood) (talkcontribs)

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.

Peachey88 (Flood) (talkcontribs)

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.

This post was posted by Peachey88 (Flood), but signed as Jlerner.

Peachey88 (Flood) (talkcontribs)

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

Reply to "Searchability"

Extension used in a template

5
Peachey88 (Flood) (talkcontribs)

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}}}" />
Peachey88 (Flood) (talkcontribs)
Peachey88 (Flood) (talkcontribs)
Peachey88 (Flood) (talkcontribs)
Peachey88 (Flood) (talkcontribs)
Reply to "Extension used in a template"
There are no older topics