# wordpress-seo/trunk/src/user-meta/framework/additional-contactmethods/wikipedia.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version trunk. 31 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/user-meta/framework/additional-contactmethods/wikipedia.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/user-meta/framework/additional-contactmethods/wikipedia.php
- Modified: 2024-04-16T09:09:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/user-meta/framework/additional-contactmethods/wikipedia.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong
namespace Yoast\WP\SEO\User_Meta\Framework\Additional_Contactmethods;

use Yoast\WP\SEO\User_Meta\Domain\Additional_Contactmethod_Interface;

/**
 * The Wikipedia contactmethod.
 */
class Wikipedia implements Additional_Contactmethod_Interface {

	/**
	 * Returns the key of the Wikipedia contactmethod.
	 *
	 * @return string The key of the Wikipedia contactmethod.
	 */
	public function get_key(): string {
		return 'wikipedia';
	}

	/**
	 * Returns the label of the Wikipedia field.
	 *
	 * @return string The label of the Wikipedia field.
	 */
	public function get_label(): string {
		return \__( 'Wikipedia page about you', 'wordpress-seo' ) . '<br/><small>' . \__( '(if one exists)', 'wordpress-seo' ) . '</small>';
	}
}

```
