Extension talk:Description2/Archive

Inclusion of PAGENAME
Hi there, when I try to include within  it does not parse it. Is there a way out?

Thanks!

Am i missing something else. On 1.17 PHP 5.3 i installed the extension and also enabled $wgEnableMetaDescriptionFunctions = true; however, using the parser   does not appear to do anything and in fact appears on the page as any text. Why is it showing up when it's a parser and why is it not working to set teh meta description. ANy help would be great.

Thanks Wikimanz 16:33, 23 October 2011 (UTC)
 * Link to the wiki please. Daniel Friesen (Dantman) 21:33, 23 October 2011 (UTC)

Never Mind, I apologize, downloaded and installed latest version from subversion and It works, perhaps I was dealing with an older version of this extension. Thanks for the extension and fast response.

Wikimanz

I can't make it work!
I've added the extension together with OpenGraphMeta some time ago and I think that it worked with Mediawiki 1.21, though I couldn't make the correct image to appear on Facebook.

It stopped working after an upgrade, I think. http://wikitranslate.org/wiki/Special:Version You can google the pages of the wiki to check! I'm not sure that I am doing it all correct! With many thanks for your work! Natkabrown (talk) 17:37, 15 February 2014 (UTC)

Thanks -- Working with 1.17
I got this extension to work properly with v1.17, but I had to download the "trunk" version, and go in and change the $wgEnableMetaDescriptionFunctions = true; inside the php code (it didn't seem to work properly if I just set it inside to true in LocalSetting.php). The website is http://wheretosee.org/wildlife/Main_Page


 * You shouldn't need to edit it at all. Did you make sure to set the $wg variable after your require_once line?
 * The REL1_17 code is a bit old yeah, it's 0.1.1 while the current is 0.2. We do need a better extension deployment system, most extension authors don't bother to update the versions of extensions in the old REL branches. The REL branches are mostly there for a guarantee of "This was what was around when this release was released, if you can't get the current version working, then this version has a better chance of being compatible." Daniel Friesen (Dantman) 19:22, 3 November 2011 (UTC)

Extra options
Hi I'm in the process of setting up a MediaWiki 1.16.5 WIP at www.financial-jargon.co.uk

Your extension is fantastic with auto descriptions but I couldn't get the override description to work I added $wgEnableMetaDescriptionFunctions = true; to localsettings.php as per the guidance However, the parser extensions (I've tried all 3) just show up as text on the page.

The only thing I can think of is that there as only an extension for 1.17.x and I'm using media wiki 1.16.5

Any help appreciated thank you


 * Did you make sure to download the trunk version of the extension and that the $wg was set after the require_once instead of before? Daniel Friesen (Dantman) 18:43, 10 November 2011 (UTC)

---

Thanks Daniel. The trunk version (vs. 1.17x) worked a treat. Many thanks for your help. Stuart 23:54 16 November 2011 (UTC)

Two Feature Requests
Description2 works great on our site on the first try. There are two minor improvements that would be nice.


 * 1) If the paragraph that becomes the description or the block contains an HTML entity like "&amp;reg;", this becomes "&amp;amp;reg;" in the description, which seems incorrect.
 * 2) If a block is placed on a line by itself, it behaves like an extra blank line from the wikitext perspective, adding extra vertical whitespace. So if I put a right after the first heading, I end up with extra space between the first heading and the first paragraph. It would be nice if I could add and maybe even a blank line before it, without affecting the final layout.

Ncrutcher (Nat) 03:13, 24 May 2012 (UTC)

Works perfectly with 1.19! Thank you so much!
I'm so glad that I am finally able to edit my meta description. I tried so many other extensions that gave me horrible errors upon loading my site after installation. The worst thing is that some of them claimed to work with 1.19, yet failed miserably. This is the most teeth grinding I've done yet as a wiki webmaster. Oh well, thank you for this beautiful extension. Craig131 (talk) 07:06, 5 August 2012 (UTC)

<meta property="og:description" content="{{#description2:...
The "{{#description2:" prefix is not stripped out when the open graph header is created. --Hendrik Brummermann (talk) 17:04, 8 October 2012 (UTC)


 * Description2 operates on the parsed HTML, not the WikiText. And the parserfunction is supposed to replace the description entirely. So what you're describing sounds like you're using it wrong, not a bug. Daniel Friesen (Dantman) (talk) 17:56, 8 October 2012 (UTC)

SEO Optimization
Excellent Extension!!!! Been having some trouble getting seen on the search engines, this might do it. Greatly appreciated.