93a94,113 > > /* > * if a {{listings}} template exists, feed tag name and parameter list to template verbatim and exit > */ > $ltemplate=''; > if ( !wfMessage( 'listings-template' )->inContentLanguage()->isDisabled() ) > $ltemplate = wfMessage( 'listings-template' )->inContentLanguage()->text(); > if ( $ltemplate != '' ) { > $inputtext = '{{' . $ltemplate . '|type=' . $aType; > foreach ($args as $key => $value) > $inputtext .= '|' . $key . '=' . $value; > $inputtext .= '|' . $input . '}}'; > $out .= $parser->internalParse( $inputtext ); > return $out; > } > > /* > * if no pre-defined template exists, generate listing from parameters normally > */ >