From 261e45a5d79f9df2fbc050292410bed0f4ef3132 Mon Sep 17 00:00:00 2001 From: Igor Kushnir Date: Fri, 27 Nov 2020 19:22:59 +0200 Subject: [PATCH] MediaWiki: remove the obsolete "fix audio" replacement I have searched for the "= QT_VERSION_CHECK( 5, 0, 0 ) - articleString.replace( QRegularExpression( "]*(upload\\.wikimedia\\.org/wikipedia/commons/[^\"'&]*\\.ogg)[^>]*>\\s*<[^<]*" ), -#else - articleString.replace( QRegExp( "]*(upload\\.wikimedia\\.org/wikipedia/commons/[^\"'&]*\\.ogg)[^>]*>\\s*<[^<]*"), -#endif - QString::fromStdString(addAudioLink( string( "\"" ) + wikiUrl.scheme().toStdString() + "://\\1\"", this->dictPtr->getId() ) + - "\"Play\"" ) ); // In those strings, change any underscores to spaces #if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 ) QRegularExpression rxLink( "#]+" );