Template:MediaWiki SVN

From Wikisource
Jump to: navigation, search

{{{2}}}

[edit] [history] [purge] Documentation icon Template documentation

Usage [edit]

This template is for linking to files in the MediaWiki SVN repository.

Parameters [edit]

  • {{{ext}}} (1): The extension you want to view, eg. "ProofreadPage"
  • {{{file}}} (2): The file, eg. "ApiQueryProofread.php"
  • {{{rev}}} (3): The revision, eg. "99814". Leave blank to give the head revision.
  • {{{rev}}} (4): A specific starting line number. Defaults to Line 1.

Examples [edit]

Head revision
{{MediaWiki SVN|ProofreadPage|ApiQueryProofread.php}}

ApiQueryProofread.php

With revision
{{MediaWiki SVN|ProofreadPage|ApiQueryProofread.php|99814}}

ApiQueryProofread.php (rev. 99814)

With revision and line number
{{MediaWiki SVN|ProofreadPage|ApiQueryProofread.php|99814|45}}

ApiQueryProofread.php (rev. 99814)