1
edit
Changes
quick summary of how to update
* Use transclusion for VTLUUG portal
* See [[:Category:Needs restoration]]
== Updating the wiki ==
This is more for sysadmins than contributors but below are the steps laid out to update this and [https://gobblerpedia.org/wiki/Main_page Gobblerpedia] ([https://www.mediawiki.org/wiki/MediaWiki MediaWiki]). This has been taken from [https://www.mediawiki.org/wiki/Manual:Upgrading the MediaWiki's Upgrade Guide].
# Run pending jobs
#: <pre>php maintenance/runJobs.php</pre>
# Back up the database, settings, and content
#: [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki Basic Instructions]
#: <pre>mysqldump --user=wikidb_user --password=wikidb_userpassword wikidb > file.sql </pre>
#: <pre>mysqldump --user=wikidb_user --password=wikidb_userpassword wikidb --xml > file.xml</pre>
#: or if MariaDB is used (which I think it might be)
#: <pre>mariadb-dump --user=wikidb_user --password=wikidb_userpassword wikidb > file.sql </pre>
#: <pre>mariadb-dump --user=wikidb_user --password=wikidb_userpassword wikidb --xml > file.xml</pre>
#: Since this is dockerized, there should be nothing essential to backup from inside the container.
# Need to create a new image with the new MediaWiki version
# Upgrade extensions (if any)
# Adapt LocalSettings.php
#: This might be harder due to VTLUUG using such an old version of MediaWiki
## This includes removing the renameUser Extension
##: <pre>wfLoadExtension( 'Renameuser' );</pre>
# Run the upgrade script
#: <pre>php maintenance/update.php</pre>
[[Category:VTLUUG:Projects]]
[[Category:Infrastructure]]
[[Category:Howtos]]