* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Addshore
*/
namespace MediaWiki\Linker;
* @return string
*/
public function getInterwiki();
+
+ /**
+ * Returns an informative human readable representation of the link target,
+ * for use in logging and debugging. There is no requirement for the return
+ * value to have any relationship with the input of TitleParser.
+ * @since 1.31
+ *
+ * @return string
+ */
+ public function __toString();
+
}