From dec59439b9a05c3c1c463aff5d2a9307d140aa7d Mon Sep 17 00:00:00 2001 From: Igor Kushnir Date: Mon, 23 Nov 2020 18:43:50 +0200 Subject: [PATCH] MediaWiki: remove the /wiki/ prefix from links w/o regexp This string replacement is 3-5 times faster than the QRegularExpression replacement in "The United States" and "Paris" English Wikipedia articles on my GNU/Linux system. Before fe39fc8a05ad0e9caeb84cb42d23c1ad24b28b1e the pattern started with "= QT_VERSION_CHECK( 5, 0, 0 ) - articleString.replace( QRegularExpression( "= QT_VERSION_CHECK( 5, 0, 0 )