User:A.allison/DynamicPageList Changes
DynamicPagesList.php
Starting line 554 now reads: <syntaxhighlight lang="php"> if ( $dbr->numRows( $res ) == 0 ) { if ( $suppressErrors == false ) { global $wgTitle; $ns = $wgTitle->getNamespace(); if( $ns == 102){ // NS_VVH return htmlspecialchars( wfMsgForContent( 'intersection_noresultsVVH' ) ); }else{ return htmlspecialchars( wfMsgForContent( 'intersection_noresults' ) ); } } else { return ; } }
</syntaxhighlight>
DynamicPageList.i18n.php
Added line: <syntaxhighlight lang="css"> 'intersection_noresultsVVH' => 'Currently no cases',
</syntaxhighlight>