Service/wiki: Difference between revisions

Undo revision 103729 by Bernie (talk)
Tag: Undo
Account Creation: update link
 
(4 intermediate revisions by 2 users not shown)
Line 21: Line 21:


* See https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation
* See https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation
* Create account page: https://wiki.sugarlabs.org/index.php?title=Special:UserLogin&type=signup
* Create account page: https://wiki.sugarlabs.org/go/Special:CreateAccount


== Local Labs contacts ==
== Local Labs contacts ==
Line 31: Line 31:
* [[Wiki Team/Contacts]] for wiki content and user accounts
* [[Wiki Team/Contacts]] for wiki content and user accounts
* [[User:Bernie|Bernie Innocenti]] for hosting issues - '''EMERITUS - PLEASE DON'T EXPECT SUPPORT'''
* [[User:Bernie|Bernie Innocenti]] for hosting issues - '''EMERITUS - PLEASE DON'T EXPECT SUPPORT'''
* [[User:Srevin03|Srevin Saju]] ('''srevinsaju''' on #sugar) for MediaWiki issues
* [[User:Sebastian|Sebastian Silva]] for the Local Labs wikis
* [[User:Sebastian|Sebastian Silva]] for the Local Labs wikis


Line 41: Line 42:
{{Highlight|'''Note:''' The devel wiki has an out of date snapshot of the DB and a slightly different LocalConfig.php.}}
{{Highlight|'''Note:''' The devel wiki has an out of date snapshot of the DB and a slightly different LocalConfig.php.}}


{{Highlight|'''Note:''' Often, the devel instance contains changes performed by various wiki admins to test extensions and configuration options. Do not sync LocalConfig.php blindly to the production wiki! Use vimdiff.
{{Highlight|'''Note:''' Often, the devel instance contains changes performed by various wiki admins to test extensions and configuration options. Do not sync LocalConfig.php blindly to the production wiki! Use vimdiff.}}


Before overwriting the page database, please
Before overwriting the page database, please
Line 66: Line 67:
   git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/$i extensions-all/$i --branch REL1_34;
   git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/$i extensions-all/$i --branch REL1_34;
   (cd extensions && ln -s ../extensions-all/$i);
   (cd extensions && ln -s ../extensions-all/$i);
  composer update --no-dev
  done
  done


Line 78: Line 80:
  git branch -a | grep REL | sort -V
  git branch -a | grep REL | sort -V
  git checkout -b REL1_XX origin/REL1_XX
  git checkout -b REL1_XX origin/REL1_XX
  git submodule update --init
  git submodule update --init --recursive


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 85: Line 87:
  cd extensions-all
  cd extensions-all
  for ext in *; do (cd $ext && git fetch && git checkout -b REL1_XX origin/REL1_XX); done
  for ext in *; do (cd $ext && git fetch && git checkout -b REL1_XX origin/REL1_XX); done
Along with the extensions, we would also need to update the skins to the latest release. We officially use Vector (fro Desktop) and Minerva Neue (for Mobiles, v1.35+, Minerva Neue is the official responsive theme used by Wikipedia).
cd skins
for skin in *; do (cd $skin && git fetch && git checkout -b REL1_XX origin/REL1_XX); done
Please revise if the following steps are still needed:


You also need to update some dependencies using a PHP manager called 'composer':
You also need to update some dependencies using a PHP manager called 'composer':