PSMWUpdater.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <!-- Cmdlet: Get-MwExtension --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-MwExtension</command:name> <command:verb>Get</command:verb> <command:noun>MwExtension</command:noun> <maml:description> <maml:para>Gets a list of extensions either from a local MediaWiki installation or from WMF-registered MediaWiki extensions.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Local --> <command:syntaxItem> <maml:name>Get-MwExtension</maml:name> <!-- Parameter: InstallationPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InstallationPath</maml:name> <maml:description> <maml:para>If specified, gets all the extensions from the local MediaWiki installation in the specified path, instead of retrieving known extensions from server.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Type --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Type</maml:name> <maml:description> <maml:para>Only list extensions of this type.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: LocalName --> <command:syntaxItem> <maml:name>Get-MwExtension</maml:name> <!-- Parameter: InstallationPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InstallationPath</maml:name> <maml:description> <maml:para>If specified, gets all the extensions from the local MediaWiki installation in the specified path, instead of retrieving known extensions from server.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: BareName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>BareName</maml:name> <maml:description> <maml:para>Return bare ExtensionName instead of LocalExtensionInfo-derived class.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Type --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Type</maml:name> <maml:description> <maml:para>Only list extensions of this type.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: RemoteName --> <command:syntaxItem> <maml:name>Get-MwExtension</maml:name> <!-- Parameter: BareName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>BareName</maml:name> <maml:description> <maml:para>Return bare ExtensionName instead of LocalExtensionInfo-derived class.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Type --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Type</maml:name> <maml:description> <maml:para>Only list extensions of this type.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Remote --> <command:syntaxItem> <maml:name>Get-MwExtension</maml:name> <!-- Parameter: Type --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Type</maml:name> <maml:description> <maml:para>Only list extensions of this type.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InstallationPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InstallationPath</maml:name> <maml:description> <maml:para>If specified, gets all the extensions from the local MediaWiki installation in the specified path, instead of retrieving known extensions from server.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: BareName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>BareName</maml:name> <maml:description> <maml:para>Return bare ExtensionName instead of LocalExtensionInfo-derived class.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Type --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Type</maml:name> <maml:description> <maml:para>Only list extensions of this type.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: ExtensionInfo --> <command:returnValue> <dev:type> <maml:name>PSMWUpdater.ExtensionInfo</maml:name> <maml:uri /> </dev:type> </command:returnValue> <!-- OutputType: ExtensionName --> <command:returnValue> <dev:type> <maml:name>PSMWUpdater.ExtensionName</maml:name> <maml:uri /> </dev:type> </command:returnValue> <!-- OutputType: LocalExtensionInfo --> <command:returnValue> <dev:type> <maml:name>PSMWUpdater.LocalExtensionInfo</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> <!-- Cmdlet: Get-MwExtensionBranch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-MwExtensionBranch</command:name> <command:verb>Get</command:verb> <command:noun>MwExtensionBranch</command:noun> <maml:description> <maml:para>Gets the branch information about one or more MediaWiki extensions, including their download URLs.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-MwExtensionBranch</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more names of the extensions to fetch information.</maml:para> <maml:para>If there is ambiguity on whether the extension is a skin, prefix the extension name with `Extension:` or `Skin:`.</maml:para> </maml:description> <command:parameterValue required="true">ExtensionName[]</command:parameterValue> <dev:type> <maml:name>PSMWUpdater.ExtensionName[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AllBranches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllBranches</maml:name> <maml:description> <maml:para>Return all the matching branches instead of only the first matching branch.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Branch --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Branch</maml:name> <maml:description> <maml:para>One or more version branches for the extension (e.g. "REL1_32", or "master").</maml:para> <maml:para>If `AllBranches` is not specified, the first matching branch is fetched. Otherwise, all the matching branches are fetched.</maml:para> <maml:para>If `AllBranches` is not specified and this parameter is neglected, the cmdlet will return the latest REL branch.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SuppressRedirect --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SuppressRedirect</maml:name> <maml:description> <maml:para>Whether to suppress the attempt to look for extension redirects (e.g. SyntaxHighlight --> SyntaxHighlight GeSHi).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more names of the extensions to fetch information.</maml:para> <maml:para>If there is ambiguity on whether the extension is a skin, prefix the extension name with `Extension:` or `Skin:`.</maml:para> </maml:description> <command:parameterValue required="true">ExtensionName[]</command:parameterValue> <dev:type> <maml:name>PSMWUpdater.ExtensionName[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Branch --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Branch</maml:name> <maml:description> <maml:para>One or more version branches for the extension (e.g. "REL1_32", or "master").</maml:para> <maml:para>If `AllBranches` is not specified, the first matching branch is fetched. Otherwise, all the matching branches are fetched.</maml:para> <maml:para>If `AllBranches` is not specified and this parameter is neglected, the cmdlet will return the latest REL branch.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AllBranches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllBranches</maml:name> <maml:description> <maml:para>Return all the matching branches instead of only the first matching branch.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SuppressRedirect --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SuppressRedirect</maml:name> <maml:description> <maml:para>Whether to suppress the attempt to look for extension redirects (e.g. SyntaxHighlight --> SyntaxHighlight GeSHi).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PSMWUpdater.ExtensionName[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>One or more names of the extensions to fetch information.</maml:para> <maml:para>If there is ambiguity on whether the extension is a skin, prefix the extension name with `Extension:` or `Skin:`.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: ExtensionBranchInfo --> <command:returnValue> <dev:type> <maml:name>PSMWUpdater.ExtensionBranchInfo</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Ask for the latest `REL` branch.</maml:para> <maml:para></maml:para> </maml:introduction> <dev:code>PS> Get-MwExtensionBranch -Name Vector, Echo ExtensionName BranchName Url ------------- ---------- --- Extension:Echo REL1_33 https://extdist.wmflabs.org/dist/extensions/Echo-REL1_33-f106596.tar.gz Skin:Vector REL1_33 https://extdist.wmflabs.org/dist/skins/Vector-REL1_33-878c1e8.tar.gz</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Ask for a specific branch instead of latest `REL` branch.</maml:para> <maml:para></maml:para> </maml:introduction> <dev:code>PS> Get-MwExtensionBranch -Name Vector, Echo ExtensionName BranchName Url ------------- ---------- --- Extension:Echo REL1_33 https://extdist.wmflabs.org/dist/extensions/Echo-REL1_33-f106596.tar.gz Skin:Vector REL1_33 https://extdist.wmflabs.org/dist/skins/Vector-REL1_33-878c1e8.tar.gz</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Ask for all the known branches.</maml:para> <maml:para></maml:para> </maml:introduction> <dev:code>PS> Get-MwExtensionBranch -Name Vector, Echo -AllBranches ExtensionName BranchName Url ------------- ---------- --- Extension:Echo REL1_31 https://extdist.wmflabs.org/dist/extensions/Echo-REL1_31-b56ec9b.tar.gz Extension:Echo REL1_32 https://extdist.wmflabs.org/dist/extensions/Echo-REL1_32-335389f.tar.gz Extension:Echo REL1_33 https://extdist.wmflabs.org/dist/extensions/Echo-REL1_33-f106596.tar.gz Extension:Echo master https://extdist.wmflabs.org/dist/extensions/Echo-master-4c991af.tar.gz Extension:Echo source https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo.git Skin:Vector REL1_31 https://extdist.wmflabs.org/dist/skins/Vector-REL1_31-f0327dc.tar.gz Skin:Vector REL1_32 https://extdist.wmflabs.org/dist/skins/Vector-REL1_32-d3ed21a.tar.gz Skin:Vector REL1_33 https://extdist.wmflabs.org/dist/skins/Vector-REL1_33-878c1e8.tar.gz Skin:Vector master https://extdist.wmflabs.org/dist/skins/Vector-master-bf365aa.tar.gz Skin:Vector source https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-MwSiteInfo --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-MwSiteInfo</command:name> <command:verb>Get</command:verb> <command:noun>MwSiteInfo</command:noun> <maml:description> <maml:para>Gets the basic information of a MediaWiki installation.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-MwSiteInfo</maml:name> <!-- Parameter: InstallationPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InstallationPath</maml:name> <maml:description> <maml:para>Specify the root of a local MediaWiki installation.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InstallationPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InstallationPath</maml:name> <maml:description> <maml:para>Specify the root of a local MediaWiki installation.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Specify the root of a local MediaWiki installation.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: LocalSiteInfo --> <command:returnValue> <dev:type> <maml:name>PSMWUpdater.LocalSiteInfo</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> </helpItems> |