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

From Biowikifarm Metawiki
Jump to: navigation, search
(Updating mediawiki to specific versions)
 
(46 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/
Line 7: Line 9:
 
* http://developer.imagej.net/using-git
 
* http://developer.imagej.net/using-git
  
 +
==Finding tags and branches==
  
===Comparing 1.20 git-extensions with 1.18 and above, Nov. 2012===
+
HINT: to see available branches/tags:
''' Local SVN are now in same folder as git checkout = OK'''
+
<syntaxhighlight lang="bash">
 
+
  git branch -r | sort --version-sort
'''Manually copied''' i.e. now available in the 1.20git extension folder:
+
  git tag -l | sort --version-sort
* SMWAskAPI - only installed on offene-naturfuehrer = OK
+
</syntaxhighlight>
 
+
'''Missing but no longer used = OK'''
+
* 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, now disabled in common/local settings = OK'''
+
* 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.
+
* Disabling MathStatFunctions - probably never used.
+
* Disabling DynamicPageList - only installed 4 wiki, was deprecated a long time; all pages checked and function removed.
+
* Disabling '''FileAttach:''' Used only as testing in testwikis, now removed there.
+
 
+
 
+
''' THE FOLLOWING probably may have to be disabled when migrating:'''
+
* MultipleUpload (also called MultiUpload) - only installed on OpenMedia, KeytoNature and OroWiki
+
* jQueryMsg - installed on all wikis, but obsolete in v.1.20!!
+
** http://www.mediawiki.org/wiki/Git/Conversion/Extensions_still_in_svn says "jQueryMsg - Abandoned - Available in Core"
+
 
+
 
+
==New mediawiki git notes - LATER MOVE TO MW Maintenance!==
+
 
+
Main source: [http://www.mediawiki.org/wiki/Download_from_Git mediawiki.org: Download from Git]. See also [https://gerrit.wikimedia.org/r/#/admin/projects/ overview of wikimedia projects in Git].
+
 
+
'''IMPORTANT CHANGE in comparison to earlier subversion setup: we directly clone all extensions into the /extension folder, instead of cloning elsewhere and then symlinking.'''
+
 
+
Background: git creates a full copy of the repository. Since we need several parallel branches, we clone once into mediawiki-git, and from there locally into further repose. Local repos use hardlinks, so they do not need much additional hard drive space (Note: git uses hardlinks inside .git, see ls -l: hardlink number is col. before owner; the checkout is NOT hardlinked and requires additional space.).
+
 
+
# 1. FIRST create a local git-clone for mediawiki-core (bare) and mw-extensions (submodules, cannot be bare):
+
cd /usr/share; sudo mkdir mediawiki-git; cd /usr/share/mediawiki-git
+
sudo git clone --bare https://gerrit.wikimedia.org/r/p/mediawiki/core.git core
+
sudo git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions.git extensions
+
cd /usr/share/mediawiki-git/extensions; sudo git submodule update --init --recursive
+
 
+
# 2. THEN Create LOCAL git-clones (with hardlinks to mediawiki-git!)
+
cd /usr/share; sudo git clone --local /usr/share/mediawiki-git/core mediawiki20
+
# NOW clone individual desired extensions from LOCAL:
+
# (When cloning extension as submodules, no hardlinks would be used.)
+
# Note: extensions are cloned not parallel to core, but inside core/extensions folder
+
cd /usr/share/mediawiki20/extensions;
+
sudo git clone --local /usr/share/mediawiki-git/extensions/AccessControl
+
sudo git clone --local /usr/share/mediawiki-git/extensions/AdminLinks
+
sudo git clone --local /usr/share/mediawiki-git/extensions/APC
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Arrays
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ArticleFeedback
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ArticleFeedbackv5
+
sudo git clone --local /usr/share/mediawiki-git/extensions/AssertEdit
+
sudo git clone --local /usr/share/mediawiki-git/extensions/CategoryTree
+
sudo git clone --local /usr/share/mediawiki-git/extensions/CentralAuth
+
sudo git clone --local /usr/share/mediawiki-git/extensions/CentralNotice
+
sudo git clone --local /usr/share/mediawiki-git/extensions/CharInsert
+
sudo git clone --local /usr/share/mediawiki-git/extensions/CheckUser
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Cite
+
sudo git clone --local /usr/share/mediawiki-git/extensions/cldr
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ClickTracking
+
sudo git clone --local /usr/share/mediawiki-git/extensions/CodeEditor
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Collection
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ConditionalShowSection
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Configure
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ConfirmAccount
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ConfirmEdit
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ContactPage
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Contest
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ContributionReporting
+
sudo git clone --local /usr/share/mediawiki-git/extensions/DataTransfer
+
sudo git clone --local /usr/share/mediawiki-git/extensions/DiscussionThreading
+
sudo git clone --local /usr/share/mediawiki-git/extensions/DismissableSiteNotice
+
sudo git clone --local /usr/share/mediawiki-git/extensions/DoubleWiki
+
sudo git clone --local /usr/share/mediawiki-git/extensions/DumpHTML
+
sudo git clone --local /usr/share/mediawiki-git/extensions/DynamicPageList
+
sudo git clone --local /usr/share/mediawiki-git/extensions/EmailCapture
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ExpandTemplates
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ExternalData
+
sudo git clone --local /usr/share/mediawiki-git/extensions/FlaggedRevs
+
sudo git clone --local /usr/share/mediawiki-git/extensions/FormPreloadPostCache
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Gadgets
+
sudo git clone --local /usr/share/mediawiki-git/extensions/GlobalBlocking
+
sudo git clone --local /usr/share/mediawiki-git/extensions/GlobalUsage
+
sudo git clone --local /usr/share/mediawiki-git/extensions/GlobalUserGroups
+
sudo git clone --local /usr/share/mediawiki-git/extensions/GraphViz
+
sudo git clone --local /usr/share/mediawiki-git/extensions/HeaderTabs
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ImageMap
+
sudo git clone --local /usr/share/mediawiki-git/extensions/InputBox
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Interlanguage
+
sudo git clone --local /usr/share/mediawiki-git/extensions/intersection
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Interwiki
+
sudo git clone --local /usr/share/mediawiki-git/extensions/LabeledSectionTransclusion
+
sudo git clone --local /usr/share/mediawiki-git/extensions/LiquidThreads
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Lockdown
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Loops
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Maintenance
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Maps
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Math
+
sudo git clone --local /usr/share/mediawiki-git/extensions/MediaFunctions
+
sudo git clone --local /usr/share/mediawiki-git/extensions/MobileFrontend
+
sudo git clone --local /usr/share/mediawiki-git/extensions/MoodBar
+
sudo git clone --local /usr/share/mediawiki-git/extensions/MWSearch
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Nuke
+
sudo git clone --local /usr/share/mediawiki-git/extensions/OAI
+
sudo git clone --local /usr/share/mediawiki-git/extensions/OggHandler
+
sudo git clone --local /usr/share/mediawiki-git/extensions/OpenID
+
sudo git clone --local /usr/share/mediawiki-git/extensions/OpenSearchXml
+
sudo git clone --local /usr/share/mediawiki-git/extensions/PagedTiffHandler
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ParserFunctions
+
sudo git clone --local /usr/share/mediawiki-git/extensions/PdfHandler
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Persona
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Poem
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ProofreadPage
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Quiz
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Renameuser
+
sudo git clone --local /usr/share/mediawiki-git/extensions/ReplaceText
+
sudo git clone --local /usr/share/mediawiki-git/extensions/RSS
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Scribunto
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticCompoundQueries
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticDrilldown
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticForms
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticFormsInputs
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticImageInput
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticInternalObjects
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticMaps
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticMediaWiki
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticResultFormats
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticSignup
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticWatchlist
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SimpleSurvey
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SocialProfile
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SpamBlacklist
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Sudo
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Suhosin
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SwiftCloudFiles
+
sudo git clone --local /usr/share/mediawiki-git/extensions/SyntaxHighlight_GeSHi
+
sudo git clone --local /usr/share/mediawiki-git/extensions/TimedMediaHandler
+
sudo git clone --local /usr/share/mediawiki-git/extensions/TitleKey
+
sudo git clone --local /usr/share/mediawiki-git/extensions/UploadLocal
+
sudo git clone --local /usr/share/mediawiki-git/extensions/UploadWizard
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Validator
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Variables
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Vector
+
sudo git clone --local /usr/share/mediawiki-git/extensions/VipsScaler
+
sudo git clone --local /usr/share/mediawiki-git/extensions/VisualEditor
+
sudo git clone --local /usr/share/mediawiki-git/extensions/WebFonts
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Widgets
+
sudo git clone --local /usr/share/mediawiki-git/extensions/Wikibase
+
sudo git clone --local /usr/share/mediawiki-git/extensions/WikibaseSolr
+
sudo git clone --local /usr/share/mediawiki-git/extensions/WikiEditor
+
sudo git clone --local /usr/share/mediawiki-git/extensions/WikiLove
+
sudo git clone --local /usr/share/mediawiki-git/extensions/WikimediaMessages
+
 
+
# 3. Also insert the local-svn-managed extensions into the same folder:
+
# Note: www-data cannot create the folders, but must be able to write the updates (svn-post-commit hook) -> temp folder
+
# Remaining Problem: when a new svn folder is added after this initial setup to the local subversion repo,
+
#  that folder must manually chown to www-data; else svn co post-commit errors will occur.
+
cd /usr/share/mediawiki20/
+
sudo mkdir TEMP-LOCAL-svn; ## temp folder
+
sudo svn checkout file:///var/lib/svn/LocalSVNextensions ./TEMP-LOCAL-svn
+
sudo chown -R  www-data.www-data ./TEMP-LOCAL-svn
+
sudo mv ./TEMP-LOCAL-svn/* ./extensions; sudo mv ./TEMP-LOCAL-svn/.svn ./extensions
+
sudo rm ./TEMP-LOCAL-svn -r
+
 
+
# 4. Finishing touches. Widgets needs a writable folder:
+
cd /usr/share/mediawiki20/
+
sudo chown -R  www-data.www-data ./extensions/Widgets/compiled_templates;
+
# And widgets does not contain the necessary code:
+
# (Warning: require_once(/usr/share/mediawiki20/phase3/extensions/Widgets/smarty/Smarty.class.php): failed to open stream: No such file or directory in /usr/share/mediawiki20/phase3/extensions/Widgets/Widgets.php on line 53 etc.)
+
# In the absence of installation instructions, using the previous 1.18 code:
+
cp -r /usr/share/mediawikistaging/ext-tagged-release/Widgets/smarty ./extensions/Widgets
+
cp -r /usr/share/mediawikistaging/ext-tagged-release/Widgets/googlecode ./extensions/Widgets
+
 
+
# UNUSED extension (listed here so they can be easily added to above):
+
# (List as of 30. Oct. 2012 in WMF)
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AbsenteeLandlord
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AbuseFilter
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ActiveAbstract
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AddThis
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AdManager
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Agora
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AJAXPoll
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AkismetKlik
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AllTimeZones
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AntiBot
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AntiSpoof
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ApiExplorer
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ApiSandbox
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ApiSVGProxy
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ApprovedRevs
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ArticleCreationWorkflow
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ArticleIndex
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ArticleRatings
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AuthorProtect
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Auth_remoteuser
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AutomaticBoardWelcome
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/AutoProxyBlock
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Awesomeness
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Babel
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/BatchUserRights
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/BiblioPlus
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/BibManager
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Blackout
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/BlameMaps
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/BlogPage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/BookManager
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/BreadCrumbs
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Calendar
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Carp
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CategorySortHeaders
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CategoryTests
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Checkpoint
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CleanChanges
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ClientSide
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CodeReview
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Commentbox
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CommentPages
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Comments
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CommunityApplications
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CommunityHiring
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CommunityVoice
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CongressLookup
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ContactPageFundraiser
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ContributionScores
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ContributionTracking
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ConventionExtension
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CopyToClipboard
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CreatePage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CreateRedirect
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CreditSource
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CreditsSource
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CreditTab
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CSS
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CustomData
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CustomMagic
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/CustomUserSignup
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DataValues
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DebianISOCodes
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DeleteBatch
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Description2
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DeviceMapLogCapture
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Diagnosis
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Dice
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DidYouKnow
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DidYouMean
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Diff
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DisableAccount
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DonationInterface
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Drafts
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/DynamicSidebar
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/E3Experiments
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Echo
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/EditPageTracking
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/EditSubpages
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/EducationProgram
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ELearnware
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/EnhanceContactForm
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ErrorHandler
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/EtherEditor
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/EtherpadLite
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/EventLogging
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/examples
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ExtensionDistributor
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ExtTab
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FacebookOpenGraph
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FanBoxes
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FeaturedFeeds
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FeedsFromPrivateWikis
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FilterListUsers
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ForcePreview
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FormatDates
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FormatNum
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FormelApplet
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/FundraiserLandingPage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Genderize
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GeoCrumbs
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GeoData
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GeoGebra
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GeoMath
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GerritTools
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Gitweb
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GlobalNotice
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GoogleAdSense
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GoogleCustomWikiSearch
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GoogleDocs4MW
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GoogleNewsSitemap
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/GroupsSidebar
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Hanp
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/HashTables
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/HelpCommons
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/HidePrefix
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/HTMLets
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/I18nTags
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Insider
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/InteractiveBlockMessage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/InterwikiMagic
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ISO3166
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ISO639
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Josa
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/JSBreadCrumbs
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LandingCheck
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LanguageSelector
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LastModified
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LdapAuthentication
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LightweightRDFa
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Lingo
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LinkedWiki
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LinkFilter
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LinkSuggest
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Listings
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LiveTranslate
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LocalisationUpdate
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LockDownEnglishPages
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LogEntry
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/LookupUser
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/MapSources
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/MarkAsHelpful
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/MathSearch
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Memento
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/MirrorTools
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Mpdf
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/MSSQLBackCompat
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/MwEmbedSupport
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NamespacePaths
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Narayam
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NaturalLanguageList
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Negref
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NewSignupPage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NewUserMessage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NewUserNotif
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NewUsersList
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Nonlinear
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/normal
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NSFileRepo
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NumberFormat
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/NumberOfWikis
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/OATHAuth
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Offline
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/OfflineImportLexicon
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/OnlineStatus
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/OnlineStatusBar
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/OpenGraphMeta
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/OpenStackManager
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/OpenStreetMapSlippyMap
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Oversight
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PageCredits
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PageImages
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PageInCat
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PageNotice
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PageSchemas
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PageTriage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PanScroll
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ParserFun
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Parsoid
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PdfExport
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Phalanx
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PhpHighlight
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PictureGame
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PlaceNewSection
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Poll
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PollNY
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PoolCounter
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PostEdit
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PrefixExport
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PrefStats
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PrefSwitch
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Premoderation
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PrivateDomains
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ProtectedTitles
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ProtectSite
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ProxyListDb
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/PurgeClickThrough
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Push
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Quantcast
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/quick-update
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/QuizGame
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RandomFeaturedUser
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RandomGameUnit
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RandomImageByCategory
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RandomInCategory
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RandomRootPage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RandomUsersWithAvatars
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Ratings
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ReaderFeedback
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ReassignEdits
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RefreshSpecial
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RegexFun
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RegexFunctions
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RelatedArticles
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RelatedSites
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RelationLinks
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ReplaceSet
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RevisionCommentSupplement
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RightFunctions
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/RT
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ScanSet
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Score
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SearchExtraNS
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SecureHTML
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SecurePasswords
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SecurePoll
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SelectTag
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticACL
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticBundle
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticExpressiveness
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticGenealogy
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticGlossary
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticPageMaker
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticPageSeries
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticTasks
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticTitle
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SemanticUpdateOnPurge
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SharedCssJs
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ShortUrl
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ShoutBox
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ShoutWikiAds
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SidebarDonateBox
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SideBarMenu
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SignupAPI
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SignWritingMediaWikiPlugin
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SimpleAntiSpam
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SimpleFarm
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SimpleSecurity
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SiteMatrix
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SiteMetrics
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SkelJS
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SkinPerNamespace
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SkinPerPage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/skins
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SlimboxThumbs
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SlippyMap
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SmoothGallery
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SocialLogin
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SoftwareVersion
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Solarium
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SolrStore
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SoundManager2Button
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Spark
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Special404
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SpecialNamespaces
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SphinxSearch
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SSLClientAuthentication
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/StalkerLog
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/StarterWiki
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/StickToThatLanguage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/StrategyWiki
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/StringFunctionsEscaped
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SubpageFun
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SubPageList
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SubPageList3
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SubpageSortkey
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Survey
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SVGEdit
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/SwarmExport
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Tabber
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TemplateDocumentation
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TemplateInfo
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Theme
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ThemeDesigner
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ThumbParser
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/timeline
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TitleBlacklist
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TocTree
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TorBlock
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Translate
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TranslateSvg
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TranslationNotifications
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Transliterator
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TrustedXFF
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TweetANew
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/TwoFactorAuthentication
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UnicodeConverter
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UnitTest
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UniversalLanguageSelector
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UploadBlacklist
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UrlGetParameters
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/URNames
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UserDailyContribs
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UserFunctions
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UserMerge
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UserOptionStats
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/UserThrottle
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/Video
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ViewFiles
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/VisualWiki
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/VoteNY
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WebChat
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WhitelistPages
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WhiteSpace
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikiArticleFeeds
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikiCategoryTagCloud
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/wikidiff2
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikiFarm
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikiForum
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/wikihiero
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikiLovesMonuments
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikimediaIncubator
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikimediaMaintenance
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikimediaShopLink
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikiObjectModel
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikiShare
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikiTextLoggedInOut
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikivoteMapsYandex
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WikivoyageMessages
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WindowsAzureSDK
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/WindowsAzureStorage
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/YouTube
+
# sudo git clone --local /usr/share/mediawiki-git/extensions/ZeroRatedMobileAccess
+
 
+
# A second clone:
+
cd /usr/share; sudo git clone --local /usr/share/mediawiki-git/core mediawikiPP
+
cd /usr/share/mediawikiPP/extensions;
+
## (EXECUTE EXTENSION CLONE-COMMANDS, SVN, AND FINISHING FROM ABOVE with modified path HERE AS WELL)
+
 
+
 
+
----
+
 
+
 
+
==Updating mediawiki (git+svn)==
+
 
+
# 1. Update LOCAL-git core and extensions from WMF-git:
+
cd /usr/share/mediawiki-git/core; sudo git fetch; cd ../extensions; sudo git pull; sudo git submodule update --init --recursive;
+
# 2. Reset local mediawiki installations prior to the update:
+
# (Note: HEAD is head of current branch i.e. head after checkout REL1_20 is 1.20, not master.
+
# (Use "git branch" or "git branch -a" to check which branch is active.)
+
  cd /usr/share/mediawikiPP; sudo git checkout origin/master; cd extensions; (for f in *; do cd $f && sudo git checkout origin/master && cd ..; done);
+
cd /usr/share/mediawiki20; sudo git checkout origin/master; cd extensions; (for f in *; do cd $f && sudo git checkout origin/master && cd ..; done);
+
# 3. Update local mediawiki20, mediawikiPP from LOCAL-git and LOCAL-svn with:
+
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;
+
cd /usr/share/mediawikiPP; sudo git pull; cd extensions; (for f in *; do cd $f && sudo git pull origin master && cd ..; done); /usr/bin/svn update;
+
## Note: LATER check whether the git pull commands above are really necessary. It always reports "already up-to-date" - perhaps due to the hardlinks?
+
 
+
# 4. switch to the desired version again (AFTER UPDATING), see next section...
+
 
+
==Updating mediawiki to specific versions==
+
 
+
'''SWITCH INSTALLATIONS TO SPECIFIC TAGS:'''<br>
+
Note: to see all branches/tags do: git branch -r | sort -V
+
 
+
# Mediawiki core:
+
cd /usr/share/mediawikiPP; sudo git checkout origin/REL1_19
+
cd /usr/share/mediawiki20; sudo git checkout origin/REL1_20
+
# SMW extensions:
+
# To find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticMediaWiki.git;a=tags
+
cd /usr/share/mediawiki20/extensions/SemanticMediaWiki; sudo git checkout tags/1.8
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticCompoundQueries.git;a=tags
+
cd /usr/share/mediawiki20/extensions/SemanticCompoundQueries; sudo git checkout tags/0.3.4
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticDrilldown.git;a=tags
+
cd /usr/share/mediawiki20/extensions/SemanticDrilldown; sudo git checkout tags/1.2.4
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticForms.git;a=tags
+
cd /usr/share/mediawiki20/extensions/SemanticForms; sudo git checkout tags/2.5.1
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticFormsInputs.git;a=tags
+
# cd /usr/share/mediawiki20/extensions/SemanticFormsInputs; sudo git checkout tags/DOES NOT EXIST YET
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticMaps.git;a=tags
+
cd /usr/share/mediawiki20/extensions/SemanticMaps; sudo git checkout tags/2.0
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticInternalObjects.git;a=tags
+
cd /usr/share/mediawiki20/extensions/SemanticInternalObjects; sudo git checkout tags/0.7
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticResultFormats.git;a=tags
+
cd /usr/share/mediawiki20/extensions/SemanticResultFormats; sudo git checkout tags/1.8
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Maps.git;a=tags
+
cd /usr/share/mediawiki20/extensions/Maps; sudo git checkout tags/2.0
+
# find tags: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Validator.git;a=tags
+
cd /usr/share/mediawiki20/extensions/Validator; sudo git checkout tags/0.5.1
+
 
+
 
+
cd /var/www/testwiki_v20;        sudo -u www-data php ./maintenance/update.php  --quick --conf ./LocalSettings.php
+
  cd /var/www/v-practicalplants/w; sudo -u www-data php ./maintenance/update.php  --quick --conf ./LocalSettings.php
+
sudo /usr/sbin/apache2ctl -k graceful  && sudo /etc/init.d/nginx restart
+
 
+
 
+
------
+
 
+
 
+
After this:
+
cd /var/www/testwiki_v20; sudo -u www-data php ./maintenance/update.php  --quick --conf ./LocalSettings.php
+
started to run, but terminated with error: "Database returned error "1170: BLOB/TEXT column 'acr_email' used in key specification without a key length (localhost)""
+
* creating a new db with all shared tables locally and a setting in LocalSettings: $wgSharedTables = array("interwiki"); did not help.
+
* Changed field type, see [http://www.mediawiki.org/w/index.php?title=Extension_talk:ConfirmAccount&oldid=586787#SQL_Error_1170:_BLOB.2FTEXT_column_.27acr_email.27_used_in_key_specification_without_a_key_length_.28localhost.29]* ./maintenance/update.php running through.
+
 
+
Main page loads, but Special pages cause error (in biowikifarm.net-error.log):
+
2012/10/13 00:55:52 [error] 1546#0: *723661 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class 'SMWSQLStore2' not found in /usr/share/mediawiki20/phase3/extensions/SemanticInternalObjects/SemanticInternalObjects_body.php on line 56" while reading response header from upstream, client...
+
 
+
Source are SemanticForms and SemanticInternalObjects.
+
  
TESTING: http://biowikifarm.net/test_v20/Main_Page versus http://biowikifarm.net/test_v18/Main_Page (test with normal staging version, just for identical web server setup)
+
OR: Example "Thanks" extension:
 +
* 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
  
 
----
 
----
  
After waiting several weeks, the bug did not go away. Submitted bug reports:
+
<!-- internal memo: the command shell 1-line update loop was:
https://bugzilla.wikimedia.org/show_bug.cgi?id=41640
+
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;
https://bugzilla.wikimedia.org/show_bug.cgi?id=41641
+
-->

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: