temporary variable during the migration period, deprecated since 1.29.
* $wgLogoHD has been updated to support svg images and uses $wgLogo where
possible for fallback images such as png.
+* (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does
+ not have the right to mark things patrolled.
* …
=== New features in 1.31 ===
/**
* Use RC Patrolling to check for vandalism (from recent changes and watchlists)
* New pages and new files are included.
+ *
+ * @note If you disable all patrolling features, you probably also want to
+ * remove 'patrol' from $wgFilterLogTypes so a show/hide link isn't shown on
+ * Special:Log.
*/
$wgUseRCPatrol = true;
/**
* Use new page patrolling to check new pages on Special:Newpages
+ *
+ * @note If you disable all patrolling features, you probably also want to
+ * remove 'patrol' from $wgFilterLogTypes so a show/hide link isn't shown on
+ * Special:Log.
*/
$wgUseNPPatrol = true;
/**
* Use file patrolling to check new files on Special:Newfiles
*
+ * @note If you disable all patrolling features, you probably also want to
+ * remove 'patrol' from $wgFilterLogTypes so a show/hide link isn't shown on
+ * Special:Log.
+ *
* @since 1.27
*/
$wgUseFilePatrol = true;
return $filters;
}
foreach ( $wgFilterLogTypes as $type => $default ) {
- // Avoid silly filtering
- if ( $type !== 'patrol' || $this->getUser()->useNPPatrol() ) {
- $hide = $this->getRequest()->getInt( "hide_{$type}_log", $default );
- $filters[$type] = $hide;
- if ( $hide ) {
- $this->mConds[] = 'log_type != ' . $this->mDb->addQuotes( $type );
- }
+ $hide = $this->getRequest()->getInt( "hide_{$type}_log", $default );
+
+ $filters[$type] = $hide;
+ if ( $hide ) {
+ $this->mConds[] = 'log_type != ' . $this->mDb->addQuotes( $type );
}
}