Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MediaWiki guide #1758

Merged
merged 4 commits into from
Jul 2, 2024
Merged

Add MediaWiki guide #1758

merged 4 commits into from
Jul 2, 2024

Conversation

DougInAMug
Copy link
Contributor

@DougInAMug DougInAMug commented May 5, 2024

This is an initial draft for a MediaWiki installation. I see now the contributing guidelines suggest opening an issue first... sorry I didn't do that. (There is now #1759 😅)

I wrote it as I puzzled my way through, but then went through from the beginning again to check it all worked.

Advanced configuration, updates and backups not included.

@DougInAMug DougInAMug changed the title add initial MediaWiki guide Add MediaWiki guide May 5, 2024
@nichtmax nichtmax self-assigned this May 29, 2024
Copy link
Member

@nichtmax nichtmax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the guide! Just a few things:

@nichtmax nichtmax marked this pull request as draft May 29, 2024 11:17
@nichtmax nichtmax removed their assignment May 29, 2024
@DougInAMug
Copy link
Contributor Author

@nichtmax I corrected one broken link, but couldn't see any others! What am I missing? 🙈

I don't understand your second point. The guide asked users to change into the document root, and install to there.

Copy link
Member

@nichtmax nichtmax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't edit your commit directly, otherwise I would have made the small changes by myself ☺️
With installation into the document root we mean no /mediawiki-1.41.1 in the URL.


[isabell@stardust ~]$ cd html
[isabell@stardust html]$ wget https://releases.wikimedia.org/mediawiki/1.41/mediawiki-1.41.1.tar.gz
[isabell@stardust html]$ tar -xzvf mediawiki-*.tar.gz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add --strip-components=1 to your tar command, then the installation will be in the document root without any sub folder like /mediawiki-1.41.1.

[isabell@stardust html]$ tar -xzvf mediawiki-*.tar.gz
[isabell@stardust html]$ rm mediawiki-*.tar.gz

At this point, the wiki installer should be available at ``https://<UberspaceUsername>.uber.space/mediawiki-1.41.1/``, click *"complete the installation"* to start the graphical `configuration <https://www.mediawiki.org/wiki/Manual:Config_script>`_. Leave default values or change as desired. On the "Connect to database" page:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove mediawiki-1.41.1.

* Database username: ``<UberspaceUsername>``
* Database password: find out using ``my_print_defaults client``

When the graphical installation completes, locally download the ``LocalSettings.php`` that should have been automatically generated and transfer it to ``~/html/mediawiki-1.41.1`` on your Uberspace. This can be achieved using one of the tools suggested on :manual:`SFTP <basics-SFTP>` with host ``sftp://<UberspaceUsername>.uber.space`` and your Uberspace credentials.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove mediawiki-1.41.1.


When the graphical installation completes, locally download the ``LocalSettings.php`` that should have been automatically generated and transfer it to ``~/html/mediawiki-1.41.1`` on your Uberspace. This can be achieved using one of the tools suggested on :manual:`SFTP <basics-SFTP>` with host ``sftp://<UberspaceUsername>.uber.space`` and your Uberspace credentials.

After this, the installed wiki should be available under ``https://<UberspaceUsername>.uber.space/mediawiki-1.41.1``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove mediawiki-1.41.1.

@DougInAMug
Copy link
Contributor Author

Hey @nichtmax I hope that's OK now!

@nichtmax nichtmax marked this pull request as ready for review July 2, 2024 14:23
@nichtmax
Copy link
Member

nichtmax commented Jul 2, 2024

Thank you! please get in touch via hallo@uberspace.de for your goodie from goddies.uberspace.de

@nichtmax nichtmax merged commit 863b280 into Uberspace:main Jul 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants