Template:Patch

patch
file {{{file}}}
function {{{function}}}
description {{{description}}}
author(s) {{{authors}}}
source {{{source}}}
date {{{date}}}
MediaWiki version {{{mediawiki_version}}}
{{{code}}}
Template documentation

Purpose

This template can be used to format the code an meta-information of provided patches.

Usage

Cut and paste:

{{Patch
| file = 
| function = 
| description = 
| authors = 
| source = 
| date = 
| mediawiki_version = 
| language = 
| code = 
}}

For help with parameter values, see below.

Content parameters

This section describes parameters that govern template content.

parameter optional value default value description
file Yes none provided patch has to be applied to this file
function Yes none provided patch has to be applied to this function
description Yes none what does the provided patch do?
authors Yes none who has provided this patch?
source Yes none where has this patch been published?
date Yes none when has this patch been provided?
mediawiki_version Yes none provided patch has to be applied to this MediaWiki version
language Yes diff format the code by default as "diff" or chose one of the supported languages for syntax highlighting
code No none code of the provided patch