will not send a rel=canonical pointing to a variant-neutral page, however
we will send rel=alternate.
* $wgResourceLoaderLESSFunctions has been deprecated and will be removed in the future.
+* $wgGoToEdit has been removed. Use the SpecialSearchNogomatch hook for similar
+ functionality.
=== New features in 1.24 ===
* Added new hook WatchlistEditorBeforeFormRender, allowing subscribers to
NS_CATEGORY => true
);
-/**
- * Go button goes straight to the edit screen if the article doesn't exist.
- */
-$wgGoToEdit = false;
-
/**
* Enable the UniversalEditButton for browsers that support it
* (currently only Firefox with an extension)
$title = Title::newFromText( $term );
if ( !is_null( $title ) ) {
wfRunHooks( 'SpecialSearchNogomatch', array( &$title ) );
- wfDebugLog( 'nogomatch', $title->getFullText(), 'private' );
-
- # If the feature is enabled, go straight to the edit page
- if ( $this->getConfig()->get( 'GoToEdit' ) ) {
- $this->getOutput()->redirect( $title->getFullURL( array( 'action' => 'edit' ) ) );
-
- return;
- }
}
$this->showResults( $term );
}