Difference between revisions of "Mediawiki subversion (SVN) to git migration"

From Biowikifarm Metawiki
Jump to: navigation, search
 
(63 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''This is a planning document'''
+
'''The history of this page contains the details of the migration from mediawiki 1.18 svn to 1.20 git. The permanently relevant information has now been migrated to '''[[Mediawiki installation]]''' and '''[[Mediawiki maintenance]]'''.
 +
 
 +
----
  
 
How-to is here: https://www.mediawiki.org/wiki/Download_from_Git . Checking extensions: Which extensions previously obtained from WMF-Subversion (i.e. excluding those we have in local SVN) are Not in the following list of git-migrated mediawiki extensions? https://gerrit.wikimedia.org/r/#/admin/projects/
 
How-to is here: https://www.mediawiki.org/wiki/Download_from_Git . Checking extensions: Which extensions previously obtained from WMF-Subversion (i.e. excluding those we have in local SVN) are Not in the following list of git-migrated mediawiki extensions? https://gerrit.wikimedia.org/r/#/admin/projects/
  
===Extensions missing on the gerrit list===
+
Useful resources for understanding git checkout, head, detached head, --track:
 
+
* http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html
== Comparing 1.20 git-extensions with 1.18 and above, Sept. 2012==
+
* http://developer.imagej.net/using-git
''' THESE STILL NEED FURTHER WORK!'''
+
 
+
* Lockdown - installed on all wikis.
+
* MultipleUpload (also called MultiUpload) - only installed on OpenMedia, KeytoNature and OroWiki
+
* MediaFunctions - installed on all wikis, and probably used for height/width of images!
+
  
* jQueryMsg - installed on all wikis, probably obsolete in v.1.20!!
+
==Finding tags and branches==
  
 +
HINT: to see available branches/tags:
 +
<syntaxhighlight lang="bash">
 +
git branch -r | sort --version-sort
 +
git tag -l | sort --version-sort
 +
</syntaxhighlight>
  
Manually copied, i.e. now available in the 1.20git extension folder:
+
OR: Example "Thanks" extension:
# SMWAskAPI - only installed on offene-naturfuehrer
+
* https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Thanks.git;a=heads
 +
* https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Thanks.git;a=tags
  
Missing but no longer used = no problem
+
----
* AddMediaWizard (no longer found by find/grep)
+
* ArrayExtension replaced by extension: Arrays (all seem to be updated)
+
* SyntaxHighlight (no longer used, all occurrences refer to SyntaxHighlight_GeSHi)
+
  
Missing, disabled in common/local settings:
+
<!-- internal memo: the command shell 1-line update loop was:
* Disabling MassEditRegex - Installed on all wikis, but not used because the currently installed version (r4) is not compatible with MediaWiki 1.18. We have tested this extension on 1.19 where it works. For some wikis this extension would be very useful.
+
cd /usr/share/mediawiki20; sudo git pull; cd extensions; (for f in *; do cd "$f" && sudo git pull origin/master && cd ..; done); /usr/bin/svn update;
* Disabling MathStatFunctions - probably never used.
+
-->
* Disabling DynamicPageList - only installed 4 wiki, was deprecated a long time; all pages checked and function removed.
+

Latest revision as of 06:05, 15 April 2013

The history of this page contains the details of the migration from mediawiki 1.18 svn to 1.20 git. The permanently relevant information has now been migrated to Mediawiki installation and Mediawiki maintenance.


How-to is here: https://www.mediawiki.org/wiki/Download_from_Git . Checking extensions: Which extensions previously obtained from WMF-Subversion (i.e. excluding those we have in local SVN) are Not in the following list of git-migrated mediawiki extensions? https://gerrit.wikimedia.org/r/#/admin/projects/

Useful resources for understanding git checkout, head, detached head, --track:

Finding tags and branches

HINT: to see available branches/tags:

 git branch -r | sort --version-sort
 git tag -l | sort --version-sort

OR: Example "Thanks" extension: