Index: trunk/phase3/includes/Linker.php |
— | — | @@ -318,7 +318,7 @@ |
319 | 319 | /** |
320 | 320 | * Make a red link to the edit page of a given title. |
321 | 321 | * |
322 | | - * @param $title String: The text of the title |
| 322 | + * @param $nt Title object of the target page |
323 | 323 | * @param $text String: Link text |
324 | 324 | * @param $query String: Optional query part |
325 | 325 | * @param $trail String: Optional trail. Alphabetic characters at the start of this string will |
— | — | @@ -360,7 +360,7 @@ |
361 | 361 | * |
362 | 362 | * Make a brown link to a short article. |
363 | 363 | * |
364 | | - * @param $title String: the text of the title |
| 364 | + * @param $nt Title object of the target page |
365 | 365 | * @param $text String: link text |
366 | 366 | * @param $query String: optional query part |
367 | 367 | * @param $trail String: optional trail. Alphabetic characters at the start of this string will |
— | — | @@ -374,7 +374,7 @@ |
375 | 375 | /** |
376 | 376 | * Make a coloured link. |
377 | 377 | * |
378 | | - * @param $title String: the text of the title |
| 378 | + * @param $nt Title object of the target page |
379 | 379 | * @param $colour Integer: colour of the link |
380 | 380 | * @param $text String: link text |
381 | 381 | * @param $query String: optional query part |
— | — | @@ -490,24 +490,24 @@ |
491 | 491 | * @param Title $title Title object |
492 | 492 | * @param File $file File object, or false if it doesn't exist |
493 | 493 | * |
494 | | - * @param array $frameParams Associative array of parameters external to the media handler. |
495 | | - * Boolean parameters are indicated by presence or absence, the value is arbitrary and |
496 | | - * will often be false. |
497 | | - * thumbnail If present, downscale and frame |
498 | | - * manualthumb Image name to use as a thumbnail, instead of automatic scaling |
499 | | - * framed Shows image in original size in a frame |
500 | | - * frameless Downscale but don't frame |
501 | | - * upright If present, tweak default sizes for portrait orientation |
502 | | - * upright_factor Fudge factor for "upright" tweak (default 0.75) |
503 | | - * border If present, show a border around the image |
504 | | - * align Horizontal alignment (left, right, center, none) |
505 | | - * valign Vertical alignment (baseline, sub, super, top, text-top, middle, |
506 | | - * bottom, text-bottom) |
507 | | - * alt Alternate text for image (i.e. alt attribute). Plain text. |
508 | | - * caption HTML for image caption. |
| 494 | + * @param array $frameParams Associative array of parameters external to the media handler. |
| 495 | + * Boolean parameters are indicated by presence or absence, the value is arbitrary and |
| 496 | + * will often be false. |
| 497 | + * thumbnail If present, downscale and frame |
| 498 | + * manualthumb Image name to use as a thumbnail, instead of automatic scaling |
| 499 | + * framed Shows image in original size in a frame |
| 500 | + * frameless Downscale but don't frame |
| 501 | + * upright If present, tweak default sizes for portrait orientation |
| 502 | + * upright_factor Fudge factor for "upright" tweak (default 0.75) |
| 503 | + * border If present, show a border around the image |
| 504 | + * align Horizontal alignment (left, right, center, none) |
| 505 | + * valign Vertical alignment (baseline, sub, super, top, text-top, middle, |
| 506 | + * bottom, text-bottom) |
| 507 | + * alt Alternate text for image (i.e. alt attribute). Plain text. |
| 508 | + * caption HTML for image caption. |
509 | 509 | * |
510 | | - * @param array $handlerParams Associative array of media handler parameters, to be passed |
511 | | - * to transform(). Typical keys are "width" and "page". |
| 510 | + * @param array $handlerParams Associative array of media handler parameters, to be passed |
| 511 | + * to transform(). Typical keys are "width" and "page". |
512 | 512 | */ |
513 | 513 | function makeImageLink2( Title $title, $file, $frameParams = array(), $handlerParams = array() ) { |
514 | 514 | global $wgContLang, $wgUser, $wgThumbLimits, $wgThumbUpright; |