Sjabloon

Mediawiki Functies:Update: verschil tussen versies

Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(24 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
{{sys:blockfloat|top=Update Mediawiki van 1.43.0 naar 1.45.1<br><br>Dit stappenplan gaat er vanuit dat het runnen van shell scripts mogelijk is.
{{sys:blockfloat|top=Update Mediawiki van 1.45.1 naar 1.46.0<br><br>Dit stappenplan gaat er vanuit dat het runnen van shell scripts mogelijk is.
}}
}}
{{#tag:easytree|
{{#tag:easytree|
Regel 29: Regel 29:
:14 Type in <tt>{{Sys:copyclipboard|label=cd}}</tt> en het juiste pad en druk op enter.
:14 Type in <tt>{{Sys:copyclipboard|label=cd}}</tt> en het juiste pad en druk op enter.
:15 Type <tt>{{Sys:copyclipboard|label=ls}}</tt> en druk op enter.(De root van de website wordt getoond)
:15 Type <tt>{{Sys:copyclipboard|label=ls}}</tt> en druk op enter.(De root van de website wordt getoond)
:15a Fouten mediawiki 1.4.5.1
:16 Voer in <tt>{{Sys:copyclipboard|label=curl -sS https://getcomposer.org/installer &vert; php}}</tt><ref name="Dreamhost">informatie afkomstig van [https://help.dreamhost.com/hc/en-us/articles/214899037-Installing-Composer-overview Dreamhost]</ref> <em>vergeet de pipe met daarachter php niet</em>  
::Niet goed upgedate versies
:17 Voer in <tt>{{Sys:copyclipboard|label=php composer.phar install}}</tt>
::: error paragonie/sodium_compat_ext_sodium: <tt>{{Sys:copyclipboard|label=composer require paragonie/sodium_compat_ext_sodium}}<ref name="sodium">Informatie afkomstig van [https://github.com/paragonie/sodium_compat_ext_sodium Composer Meta-Package: ext-sodium provided by sodium_compat]</ref>
:16 Ontbrekende modules mediawiki 1.46.0
::: error johnkary/phpunit-speedtrap: <tt>{{Sys:copyclipboard|label=composer require johnkary/phpunit-speedtrap ^4.0}}</tt>
::<tt>{{Sys:copyclipboard|label=composer require paragonie/sodium_compat_ext_sodium}}<ref name="sodium">Informatie afkomstig van [https://github.com/paragonie/sodium_compat_ext_sodium Composer Meta-Package: ext-sodium provided by sodium_compat]</ref>
::: error phpunit/phpunit: <tt>{{Sys:copyclipboard|label=composer require phpunit/phpunit ^9.6.21}}<ref name="phpunit">Informatie afkomstig van [https://phpunit.de/getting-started/phpunit-13.html phpunit]</ref>
::<tt>{{Sys:copyclipboard|label=composer require lcobucci/jwt 5.6.0}}<ref name="lcobucci">Informatie afkomstig van [https://lcobucci-jwt.readthedocs.io/en/4.3.x/upgrading/ lcobucci]</ref>
::: error lcobucci/jwt: <tt>{{Sys:copyclipboard|label=composer require lcobucci/jwt 4.1.5}}<ref name="lcobucci">Informatie afkomstig van [https://lcobucci-jwt.readthedocs.io/en/4.3.x/upgrading/ lcobucci]</ref>
::OATHAuth<ref name="OATHAuth">Informatie afkomstig van [https://www.mediawiki.org/wiki/Extension:OATHAuth mediawiki]</ref>
::Foutieve versie extension
:::De module jakobo\HOTP\HOTP ontbreekt. Installatie van de gedownloade OATHAuth met de geinstalleerde modules werkt
::: error OATHAuth<ref name="google">Informatie afkomstig van [https://www.google.com/search?q=mediawiki+1.45.1+OATHAut+Class+%22jakobo%5CHOTP%5CHOTP%22+not+found&sca_esv=c4070a523a16bc8a&ei=Wg63aePfNNiWi-gP4oyq4QI&biw=1920&bih=1055&ved=0ahUKEwjj9Ke216KTAxVYywIHHWKGKiwQ4dUDCBE&uact=5&oq=mediawiki+1.45.1+OATHAut+Class+%22jakobo%5CHOTP%5CHOTP%22+not+found&gs_lp=Egxnd3Mtd2l6LXNlcnAiO21lZGlhd2lraSAxLjQ1LjEgT0FUSEF1dCBDbGFzcyAiamFrb2JvXEhPVFBcSE9UUCIgbm90IGZvdW5kMgoQIRigARjDBBgKSJyAAVC3BFiHPnABeAGQAQCYAaEBoAGCCqoBAzEuObgBA8gBAPgBAfgBApgCC6ACxQrCAgoQABiwAxjWBBhHwgIFEAAY7wXCAggQABiABBiiBJgDAIgGAZAGCJIHAzIuOaAHkTKyBwMxLjm4B7wKwgcFMC40LjfIByWACAA&sclient=gws-wiz-serp  Google]</ref>
::: 1. Ga naar https://www.mediawiki.org/wiki/Extension:OATHAuth
:::: voer uit <tt>{{Sys:copyclipboard|label=cd extensions/OATHAuth}}</tt>
::: 2. Download OATHAuth
:::: voer uit <tt>{{Sys:copyclipboard|label=composer update --no-dev}}
::: 3. Ga naar extensions verwijder OATHAuth van 1.46.0
:16 Opnemen van Semantic Mediawiki
::: 4. Upload OATHAuth
::1 Type in <tt>{{Sys:copyclipboard|label=composer require mediawiki/semantic-media-wiki:^6.0}}</tt>
::: 5. Voer uit <tt>{{Sys:copyclipboard|label=composer update --no-dev}}
::2 Type in <tt>{{Sys:copyclipboard|label=COMPOSER=composer.local.json composer require --no-update professional-wiki/modern-timeline:~1.0}}</tt><ref name=Modern timeline">informatie afkomstig van [https://professional.wiki/en/extension/modern-timeline Modern timeline]</ref>
:17 Opnemen van Semantic Mediawiki
::1 Type in <tt>{{Sys:copyclipboard|label=COMPOSER=composer.local.json php composer.phar require --no-update mediawiki/semantic-media-wiki}}</tt>
::2 Type in <tt>{{Sys:copyclipboard|label=COMPOSER=composer.local.json composer require --no-update professional-wiki/modern-timeline:~2.0}}</tt><ref name=Modern timeline">informatie afkomstig van [https://professional.wiki/en/extension/modern-timeline Modern timeline]</ref>
:: 3 Type in <tt>{{Sys:copyclipboard|label=cd extensions/ModernTimeline}}
:: 3 Type in <tt>{{Sys:copyclipboard|label=cd extensions/ModernTimeline}}
:: 4 Type in <tt>{{Sys:copyclipboard|label=composer update}}
:: 4 Type in <tt>{{Sys:copyclipboard|label=composer update}}
:18 Voer in <tt>{{Sys:copyclipboard|label=curl -sS https://getcomposer.org/installer &vert; php}}</tt><ref name="Dreamhost">informatie afkomstig van [https://help.dreamhost.com/hc/en-us/articles/214899037-Installing-Composer-overview Dreamhost]</ref> <em>vergeet de pipe met daarachter php niet</em>
:19 Voer in <tt>{{Sys:copyclipboard|label=php composer.phar install}}</tt>
:20 Voer in <tt>{{Sys:copyclipboard|label=php composer.phar update --no-dev --optimize-autoloader}}</tt>
:20 Voer in <tt>{{Sys:copyclipboard|label=php composer.phar update --no-dev --optimize-autoloader}}</tt>
:21 Type in <tt>{{Sys:copyclipboard|label=php composer.phar require wikimedia/composer-merge-plugin}}</tt><ref name="packagist">Informatie afkomstig van [https://packagist.org/packages/wikimedia/composer-merge-plugin#:~:text=Composer%20Merge%20Plugin%20is%20intended,the%20application's%20top%20level%20composer. packagist]</ref>
:21 Type in <tt>{{Sys:copyclipboard|label=php composer.phar require wikimedia/composer-merge-plugin}}</tt><ref name="packagist">Informatie afkomstig van [https://packagist.org/packages/wikimedia/composer-merge-plugin#:~:text=Composer%20Merge%20Plugin%20is%20intended,the%20application's%20top%20level%20composer. packagist]</ref>
Regel 51: Regel 51:
:23 Semantic Mediawiki
:23 Semantic Mediawiki
::1 Neem in Localsettings.php<br><tt>wfLoadExtension('SemanticMediaWiki');</tt><br><tt>enableSemantics('xxx');</tt> xxx website
::1 Neem in Localsettings.php<br><tt>wfLoadExtension('SemanticMediaWiki');</tt><br><tt>enableSemantics('xxx');</tt> xxx website
::2 Opbouwen dataabase: <tt>{{Sys:copyclipboard|label=php extensions/SemanticMediaWiki/maintenance/rebuildData.php -v}}</tt>
::2 Opbouwen database: <tt>{{Sys:copyclipboard|label=php extensions/SemanticMediaWiki/maintenance/rebuildData.php -v}}</tt>
::2 Voer in <tt>{{Sys:copyclipboard|label=php extensions/SemanticMediaWiki/maintenance/setupStore.php}}</tt>
::3 Voer in <tt>{{Sys:copyclipboard|label=php extensions/SemanticMediaWiki/maintenance/setupStore.php}}</tt>
::3 Voer in <tt>{{Sys:copyclipboard|label=php extensions/SemanticMediaWiki/maintenance/updateEntityCountMap.php}}</tt>
::4 Voer in <tt>{{Sys:copyclipboard|label=php extensions/SemanticMediaWiki/maintenance/updateEntityCountMap.php}}</tt>
:24 Voer in <tt>{{Sys:copyclipboard|label=php maintenance/run.php runJobs.php}}</tt>
:24 Voer in <tt>{{Sys:copyclipboard|label=php maintenance/run.php runJobs.php}}</tt>
:25 Copieer de database en bestanden naar de nieuwe omgeving en zorg voor de juiste PHP versie
:25 Copieer de database en bestanden naar de nieuwe omgeving en zorg voor de juiste PHP versie

Huidige versie van 15 aug 2026 om 17:36

Update Mediawiki van 1.45.1 naar 1.46.0

Dit stappenplan gaat er vanuit dat het runnen van shell scripts mogelijk is.

  1. informatie afkomstig van Dreamhost
  2. Informatie afkomstig van Composer Meta-Package: ext-sodium provided by sodium_compat
  3. Informatie afkomstig van lcobucci
  4. Informatie afkomstig van mediawiki
  5. informatie afkomstig van Modern timeline
  6. Informatie afkomstig van packagist