and multiple servers
* (bug 14572) Redirects listed on file links on image pages no longer redirect.
* (bug 14537) Change interwiki name for Old Church Slavonic (cu)
+* (bug 14583) Fix regression in recent changes "limit to certain categories."
=== API changes in 1.13 ===
}
function rcFilterByCategories ( &$rows, FormOptions $opts ) {
- $categories = array_map( 'trim', explode( "|" , $categories ) );
+ $categories = array_map( 'trim', explode( "|" , $opts['categories'] ) );
if( empty($categories) ) {
return;
# Filter categories
$cats = array();
- foreach ( $opts['categories'] AS $cat ) {
+ foreach ( $categories as $cat ) {
$cat = trim( $cat );
if ( $cat == "" ) continue;
$cats[] = $cat;