User talk:Conrad.Irwin/MetaKeywords.php

Hello, you have come here looking for the meaning of the word User talk:Conrad.Irwin/MetaKeywords.php. In DICTIOUS you will not only get to know all the dictionary meanings for the word User talk:Conrad.Irwin/MetaKeywords.php, but we will also tell you about its etymology, its characteristics and you will know how to say User talk:Conrad.Irwin/MetaKeywords.php in singular and plural. Everything you need to know about the word User talk:Conrad.Irwin/MetaKeywords.php you have here. The definition of the word User talk:Conrad.Irwin/MetaKeywords.php will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser talk:Conrad.Irwin/MetaKeywords.php, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This extension allows the addition of <meta keywords=""> and <meta description=""> tags based on namespace. To configure it, you would need to edit Mediawiki:Metakeywords and Mediawiki:Metadescription according to the following format.

The keywords provided are added into the metatag keyword that is automatically generated after the first term, which is the page title, and before the nine other auto-generated words. Both the (all) keywords and the namespace keywords are included.

The description is a new meta-tag, which has a value of either the Namespace specific line OR the (all) line. You can use $1 to represent the page title.

namespace_name|content to add to tag

For example.

 //]
(all)|Wiktionary,free,dictionary,online
(main)|definition,translation,define
Talk|discussion,about
 //]
(all)|Wiktionary, a GFDL dictionary, thesaurus and general word forum.
(main)|Free definition of $1 from Wiktionary.
Wiktionary|Discussion about the leading online GFDL dictionary

PHP notices: please fix

If I just configure the extension as below, I get some PHP notices when viewing Special:Version.

Config:

require_once( "$IP/extensions/MetaKeywords/MetaKeywords.php" );

Notices:

Notice:  Undefined offset:  -1 in phase3\extensions\MetaKeywords\MetaKeywords.php on line 51
Notice:  Undefined index:  * in phase3\extensions\MetaKeywords\MetaKeywords.php on line 53
Notice:  Undefined offset:  -1 in phase3\extensions\MetaKeywords\MetaKeywords.php on line 65
Notice:  Undefined index:  * in phase3\extensions\MetaKeywords\MetaKeywords.php on line 67

Can you please provide a patch to the latest SVN version to fix this in bugzilla: (in the process of being updated a bit)? Possibly by adding some defaults in MetaKeywords.i18n.php. Cheers! Siebrand 12:01, 11 August 2008 (UTC)Reply