lucaswerkmeister/Set up MediaWiki
Install MediaWiki, optionally with skins and/or extensions, and serve it on localhost.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | The version of MediaWiki (and skins and/or extensions) to check out. Must be a valid ref in mediawiki/core.git, such as master (dev branch), REL1_43 (release branch), or 1.43.0 (tag). | — | master |
| extensions | Extensions to clone and install, if any. One per line (#-comments and blank lines allowed). Each extension may be a plain name, in which case it is cloned from Wikimedia Gerrit below mediawiki/extensions/, or a full Git URL to clone. | — | "" |
| skins | Skins to clone and install, if any. One per line (#-comments and blank lines allowed). Each skin may be a plain name, in which case it is cloned from Wikimedia Gerrit below mediawiki/skins/, or a full Git URL to clone. | — | Vector |
| local-settings | Additional settings to append to LocalSettings.php. | — | "" |
| admin-username | The user name of the initial MediaWiki admin user. Also exposed as the admin-username output. | — | CI Wiki Admin |
| admin-password | The password of the initial MediaWiki admin user. If blank, a random password is generated. Also exposed as the admin-password output. | — | "" |
| port | The HTTP port under which to serve MediaWiki. | — | 80 |
Outputs
| name | description |
|---|---|
| admin-username | The user name of the initial MediaWiki admin user. |
| admin-password | The password of the initial MediaWiki admin user. |
| server | The $wgServer variable, i.e. the protocol, hostname and port (origin) of the MediaWiki install. May be used to form URLs, though most of the time you probably want one of the other outputs instead. |
| script-path | The $wgScriptPath variable, i.e. the URL path below $wgServer to api.php and other entry points. May be used to form URLs, though most of the time you probably want one of the other outputs instead. |
| article-path | The $wgArticlePath variable, i.e. the URL pattern below $wgServer (with $1 replaced by the title) used for internal wiki links. May be used to form URLs. |
| index-url | The full URL to the index.php (web) entry point. |
| api-url | The full URL of the api.php (Action API) entry point. |
| rest-url | The full URL of the rest.php (REST API) entry point. |
| install-directory | The absolute file path on the server of the MediaWiki install directory. May be used to run further maintenance scripts from inside it. |