Extension talk:MetaTags

Blacklist?
Even though there seems some protection by permissions, perhaps some things should be black-listed: http-equiv="set-cookie" comes to mind, and http-equiv="refresh" may be problematic too - and there are probably more.
 * Thanks for the excellent suggestions. I'll add them to the issue list on Issue #11.

Regarding the permissions: if an admin adds a meta tag to an unprotected page, and the page is the edited by a non-admins, the meta-tag will no longer be executed, right?
 * true.

This seems a bit counter-intuitive and tricky to maintain, especially since there seems to be no way to see that problem... -- Duesentrieb ⇌ 10:39, 5 January 2008 (UTC)
 * I see your point. The reason I put this sort of functionality is because on the wikis I administer I only admit editing of the talk pages and I can be bothered to protect the normal pages all the time. Jean-Lou Dupont 18:45, 5 January 2008 (UTC)

XHTML
Only a small thing, please add the /> at the end of the Metatag to make it fit into XHTML. 77.182.28.2 01:51, 3 February 2008 (UTC)


 * XHTML kompatibel Version

--77.182.24.247 22:16, 14 March 2008 (UTC)

Description
I tried to make the description a little more user friendly:


 * Allows users to add META and LINK tags to an individual page's HEAD coding. This extension still allows the mediawiki page to be parser cached.

Odessaukrain 01:55, 4 May 2008 (UTC)

Turning off Protections?
Is there a way to turn off the requirement to have the pages with meta tags to have protections? This restriction makes our implementation very difficult, but we need to have embedded metadata to ensure that our search engine properly catagorizes the content. The other extensions only allow additions to descriptions and keywords, which doesn't help. Prodoom 18:39, 6 January 2011 (UTC)


 * Try  —Emufarmers(T 22:59, 6 January 2011 (UTC)

work within templates?
Does this work within a template? i.e. can I write a template which injects meta tags into the pages that use the template? For example, if we want to add  to prevent some pages from being indexed by a search engine?

Fix for access to protected member $rev->mUser
Mediawiki's Revision source code has been tightened and MetaTags will throw an error when displaying a page with a tag. To fix this, change this line in checkExecuteRight (MetaTags.body.php): $user = User::newFromId( $rev->mUser ); to $user = User::newFromId( $rev->getRawUser ); GreenReaper (talk) 20:47, 2 June 2014 (UTC)