Remove MSSQL support

Bug: T283021
Change-Id: I27a55958cb8bb25cf6dafbc4dcd4054113bb5fd8
This commit is contained in:
Umherirrender 2021-05-29 20:29:10 +02:00
parent 0d65a6b322
commit 22b1fc0725

View file

@ -458,11 +458,11 @@ class SpecialReplaceText extends SpecialPage {
);
$out->addHTML( '</td></tr></table>' );
// MSSQL/SQLServer and SQLite unfortunately lack a REGEXP
// SQLite unfortunately lack a REGEXP
// function or operator by default, so disable regex(p)
// searches for both these DB types.
// searches that DB type.
$dbr = wfGetDB( DB_REPLICA );
if ( $dbr->getType() != 'sqlite' && $dbr->getType() != 'mssql' ) {
if ( $dbr->getType() != 'sqlite' ) {
$out->addHTML( Xml::tags( 'p', null,
Xml::checkLabel(
$this->msg( 'replacetext_useregex' )->text(),