Changes

Jump to navigation Jump to search
39 bytes added ,  12:20, 6 June 2020
Deprecate skins
Line 84: Line 84:  
  git checkout -b REL1_XX origin/REL1_XX
 
  git checkout -b REL1_XX origin/REL1_XX
 
  git submodule update --init
 
  git submodule update --init
  −
The skins also need to be updated from time to time (particularly after a major release). Instead of checking out hundreds od skins with the official process, we can update only the skins we have installed:
  −
  −
cd skins
  −
for i in MonoBook Timeless Vector; do
  −
  (cd $i && git fetch && git checkout -b REL1_34 origin/REL1_34)
  −
done
  −
  −
As of this writing, only Vector is enabled in LocalSettings.php, but it's always best to keep the skins in sync in case we want to test them.
      
The "extensions-all" directory contains a bunch of git repositories stitched together with 'git submodule'.
 
The "extensions-all" directory contains a bunch of git repositories stitched together with 'git submodule'.
Line 112: Line 103:  
  php maintenance/update.php --conf /srv/www-sugarlabs/pe.sugarlabs.org/wiki/LocalSettings.php
 
  php maintenance/update.php --conf /srv/www-sugarlabs/pe.sugarlabs.org/wiki/LocalSettings.php
 
  (replace pe.sugarlabs.org for the correct path for your local lab)
 
  (replace pe.sugarlabs.org for the correct path for your local lab)
 +
 +
== Obsolete documentation ==
 +
 +
=== SemanticMediaWiki ===
    
If the SemanticMediaWiki extension is enabled (we don't use it), also refresh its tables:
 
If the SemanticMediaWiki extension is enabled (we don't use it), also refresh its tables:
Line 117: Line 112:  
  cd extensions/SemanticMediaWiki/maintenance
 
  cd extensions/SemanticMediaWiki/maintenance
 
  php SMW_setup.php
 
  php SMW_setup.php
 +
 +
=== Skins ===
 +
 +
As of this writing, the default skin vector is integrated into MediaWiki, and we don't load other skins in LocalSettings.php.
 +
 +
The skins also need to be updated from time to time (particularly after a major release). Instead of checking out hundreds od skins using the official process, we refresh only the skins that are installed:
 +
 +
cd skins
 +
for i in MonoBook Timeless; do
 +
  (cd $i && git fetch && git checkout -b REL1_34 origin/REL1_34)
 +
done
      −
== Creating a Local Labs wiki (OBSOLETE) ==
+
=== Creating a Local Labs wiki ===
    
* Add a group for the wiki (vigr)
 
* Add a group for the wiki (vigr)

Navigation menu