Small documentation and whitespace fixes
This commit is contained in:
parent
875dcbb34a
commit
2cee6e3392
1 changed files with 20 additions and 20 deletions
|
|
@ -318,7 +318,7 @@ class Linker {
|
||||||
/**
|
/**
|
||||||
* Make a red link to the edit page of a given title.
|
* Make a red link to the edit page of a given title.
|
||||||
*
|
*
|
||||||
* @param $title String: The text of the title
|
* @param $nt Title object of the target page
|
||||||
* @param $text String: Link text
|
* @param $text String: Link text
|
||||||
* @param $query String: Optional query part
|
* @param $query String: Optional query part
|
||||||
* @param $trail String: Optional trail. Alphabetic characters at the start of this string will
|
* @param $trail String: Optional trail. Alphabetic characters at the start of this string will
|
||||||
|
|
@ -360,7 +360,7 @@ class Linker {
|
||||||
*
|
*
|
||||||
* Make a brown link to a short article.
|
* Make a brown link to a short article.
|
||||||
*
|
*
|
||||||
* @param $title String: the text of the title
|
* @param $nt Title object of the target page
|
||||||
* @param $text String: link text
|
* @param $text String: link text
|
||||||
* @param $query String: optional query part
|
* @param $query String: optional query part
|
||||||
* @param $trail String: optional trail. Alphabetic characters at the start of this string will
|
* @param $trail String: optional trail. Alphabetic characters at the start of this string will
|
||||||
|
|
@ -374,7 +374,7 @@ class Linker {
|
||||||
/**
|
/**
|
||||||
* Make a coloured link.
|
* Make a coloured link.
|
||||||
*
|
*
|
||||||
* @param $title String: the text of the title
|
* @param $nt Title object of the target page
|
||||||
* @param $colour Integer: colour of the link
|
* @param $colour Integer: colour of the link
|
||||||
* @param $text String: link text
|
* @param $text String: link text
|
||||||
* @param $query String: optional query part
|
* @param $query String: optional query part
|
||||||
|
|
@ -490,24 +490,24 @@ class Linker {
|
||||||
* @param Title $title Title object
|
* @param Title $title Title object
|
||||||
* @param File $file File object, or false if it doesn't exist
|
* @param File $file File object, or false if it doesn't exist
|
||||||
*
|
*
|
||||||
* @param array $frameParams Associative array of parameters external to the media handler.
|
* @param array $frameParams Associative array of parameters external to the media handler.
|
||||||
* Boolean parameters are indicated by presence or absence, the value is arbitrary and
|
* Boolean parameters are indicated by presence or absence, the value is arbitrary and
|
||||||
* will often be false.
|
* will often be false.
|
||||||
* thumbnail If present, downscale and frame
|
* thumbnail If present, downscale and frame
|
||||||
* manualthumb Image name to use as a thumbnail, instead of automatic scaling
|
* manualthumb Image name to use as a thumbnail, instead of automatic scaling
|
||||||
* framed Shows image in original size in a frame
|
* framed Shows image in original size in a frame
|
||||||
* frameless Downscale but don't frame
|
* frameless Downscale but don't frame
|
||||||
* upright If present, tweak default sizes for portrait orientation
|
* upright If present, tweak default sizes for portrait orientation
|
||||||
* upright_factor Fudge factor for "upright" tweak (default 0.75)
|
* upright_factor Fudge factor for "upright" tweak (default 0.75)
|
||||||
* border If present, show a border around the image
|
* border If present, show a border around the image
|
||||||
* align Horizontal alignment (left, right, center, none)
|
* align Horizontal alignment (left, right, center, none)
|
||||||
* valign Vertical alignment (baseline, sub, super, top, text-top, middle,
|
* valign Vertical alignment (baseline, sub, super, top, text-top, middle,
|
||||||
* bottom, text-bottom)
|
* bottom, text-bottom)
|
||||||
* alt Alternate text for image (i.e. alt attribute). Plain text.
|
* alt Alternate text for image (i.e. alt attribute). Plain text.
|
||||||
* caption HTML for image caption.
|
* caption HTML for image caption.
|
||||||
*
|
*
|
||||||
* @param array $handlerParams Associative array of media handler parameters, to be passed
|
* @param array $handlerParams Associative array of media handler parameters, to be passed
|
||||||
* to transform(). Typical keys are "width" and "page".
|
* to transform(). Typical keys are "width" and "page".
|
||||||
*/
|
*/
|
||||||
function makeImageLink2( Title $title, $file, $frameParams = array(), $handlerParams = array() ) {
|
function makeImageLink2( Title $title, $file, $frameParams = array(), $handlerParams = array() ) {
|
||||||
global $wgContLang, $wgUser, $wgThumbLimits, $wgThumbUpright;
|
global $wgContLang, $wgUser, $wgThumbLimits, $wgThumbUpright;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue