Mises à jour
|
cd /usr/share/webapps/mediawiki/extensions/MobileFrontend
git pull origin master
|
Erreurs
Class 'HtmlFormatter\HtmlFormatter' not found
PHP Fatal error: Class 'HtmlFormatter\HtmlFormatter' not found in
/usr/share/webapps/mediawiki/extensions/MobileFrontend/includes/MobileFormatter.php on line 11
extensions/MobileFrontend/includes/MobileFormatter.php
|
|
wgMFDefaultSkinClass is not setup correctly
Ne pas oublier de charger le skin.
LocalSettings.php
|
wfLoadSkin( 'Vector' );
$wgMFDefaultSkinClass = "SkinVector";
|
|
cd /usr/share/webapps/mediawiki/extensions
git clone https://github.com/wikimedia/mediawiki-extensions-MobileFrontend MobileFrontend
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend.git
wget https://extdist.wmflabs.org/dist/skins/MinervaNeue-REL1_31-2e70e79.tar.gz
tar -xzf MinervaNeue-REL1_31-2e70e79.tar.gz -C /usr/share/webapps/mediawiki/skins
|
LocalSettings.php
|
wfLoadExtension( 'MobileFrontend' );
$wgMFAutodetectMobileView = true;
$wgUseFileCache = false;
wfLoadSkin( 'MinervaNeue' );
$wgDefaultSkin = 'minerva';
$wgMFNoMobilePages = array( 'Accueil' );
|