j
k
j a
j l
aaron@svn.wikimedia.org wrote:
$limit = $wgRequest->getInt( 'limit', 50 ); global $wgFeedLimit; if( $limit > $wgFeedLimit ) { $limit = $wgFeedLimit; }
$limit = $wgRequest->getInt( 'limit', 50 );
global $wgFeedLimit;
if( $limit > $wgFeedLimit ) {
$limit = $wgFeedLimit;
}
This is a good candidate for refactoring into a common function...
-- brion
Back to the thread
Back to the list