=== New features in 1.20 ===
* Added TitleIsKnown hook which gets called when determining if a page exists.
* (bug 32341) Add upload by URL domain limitation.
-* wfLoadExtensionMessages() was removed. Deprecated in 1.16, removed in 1.20.
=== Bug fixes in 1.20 ===
* (bug 30245) Use the correct way to construct a log page title.
return $value ? 'true' : 'false';
}
+/**
+ * Load an extension messages file
+ *
+ * @deprecated since 1.16, warnings in 1.18, remove in 1.20
+ * @codeCoverageIgnore
+ */
+function wfLoadExtensionMessages() {
+ wfDeprecated( __FUNCTION__, '1.16' );
+}
+
/**
* Get a platform-independent path to the null file, e.g. /dev/null
*
* @ingroup SpecialPage
*/
abstract class PageQueryPage extends QueryPage {
+
/**
* Format the result as a simple link to the page
*
*/
public function formatResult( $skin, $row ) {
global $wgContLang;
-
$title = Title::makeTitleSafe( $row->namespace, $row->title );
$text = $row->title;
-
if ( $title instanceof Title ) {
$text = $wgContLang->convert( $title->getPrefixedText() );
}
-
return Linker::linkKnown( $title, htmlspecialchars( $text ) );
}
}