X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRecentchanges.php;h=cd3299c210e4fd27b5593ce990e03364825f696f;hb=caf78241e130deb2fb562d8dc563afcd1f3e486c;hp=d4fb72ca983a14db4a897392f92843ba3315fe5c;hpb=50edcecda979520d28ffc5bd3d980724a66b2e18;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index d4fb72ca98..cd3299c210 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -159,6 +159,9 @@ class SpecialRecentChanges extends ChangesListSpecialPage { if ( preg_match( '/^namespace=(\d+)$/', $bit, $m ) ) { $opts['namespace'] = $m[1]; } + if ( preg_match( '/^tagfilter=(.*)$/', $bit, $m ) ) { + $opts['tagfilter'] = $m[1]; + } } } @@ -281,7 +284,7 @@ class SpecialRecentChanges extends ChangesListSpecialPage { } protected function getDB() { - return wfGetDB( DB_SLAVE, 'recentchanges' ); + return wfGetDB( DB_REPLICA, 'recentchanges' ); } public function outputFeedLinks() {