Closed CXuesong closed 5 years ago
Thank you for discovering this bug. I want to ask a few questions:
As a temporary solution, I recommend that you use a tool that is also written by me.
- How many extensions and skins does your wiki have?
~200 I suppose π
- How many are downloaded from mediawiki.org?
I'm not pretty sure, but I'm sure the number is way less than 50. I used the official .tar.gz MediaWiki package in the beginning and it may already contain some extensions. Later I used .zip files downloaded from GitHub image repo to upgrade the core.
Thanks for your kit! I will try it out.
Actually I'm writing yet another updater with C# just now and the progress is ~50% I suppose π
To use this kit, you have to use Composer to install the dependencies of this kit. If you don't know how to do it, please tell me, I can post a pre-release with the dependencies.
Tried out your script but got stuck π
RazeSoldier/MWUpdateKit#1
Anyway, there is no rush on this. I'm only running this on a home-made Wikibase siteβ¦
MWUpdateKit works! Thanks a lot π
Except that it will fail on the extensions that exists but does not have specified version, such as JADE without mw 1.33.0.
And though it seems that there are a lot of extension folders in my installation, most of them are empty inside, including JADE. Actually I have never go to that folder and check inside, nor have I enabled it. Perhaps I need to clean them up.
3D CollaborationKit FileExporter JsonConfig PageTriage SecurePoll UserMerge
AbuseFilter Collection FileImporter Kartographer PageViewInfo Sentry VipsScaler
ActiveAbstract CommonsMetadata FlaggedRevs LabeledSectionTransclusion PagedTiffHandler ShortUrl VisualEditor
AdvancedSearch ConfirmAccount Flow LabeledSectionTransclusion.old ParserFunctions SiteMatrix WikiEditor
AntiSpoof ConfirmEdit FundraiserLandingPage LandingCheck ParserMigration SkinPerPage WikiLove
ApiFeatureUsage CongressLookup FundraisingTranslateWorkflow LdapAuthentication ParsoidBatchAPI SpamBlacklist Wikibase
ArticleCreationWorkflow ContactPage GWToolset Linter PdfHandler SubPageList3 WikibaseCirrusSearch
ArticlePlaceholder ContentTranslation Gadgets LiquidThreads PerformanceInspector SubpageSortkey WikibaseLexeme
Babel ContributionTracking GeoCrumbs Listings Petition SyntaxHighlight_GeSHi WikibaseLexemeCirrusSearch
BetaFeatures CreditsSource GeoData LocalisationUpdate Poem TemplateData WikibaseMediaInfo
BounceHandler Dashiki GettingStarted LoginNotify PoolCounter TemplateSandbox WikibaseQualityConstraints
Calendar DataTypes GlobalBlocking MachineVision.inv Popups TemplateStyles Wikidata
Campaigns DisableAccount GlobalCssJs MapSources ProofreadPage TemplateWizard Wikidata.org
Capiunto Disambiguator GlobalPreferences MassMessage PropertySuggester TextExtracts WikidataPageBanner
CategoryTree DismissableSiteNotice GlobalUsage Math QuickSurveys Thanks WikimediaBadges
CentralAuth DonationInterface GlobalUserPage MobileApp Quiz TheWikipediaLibrary WikimediaEditorTasks
CentralNotice DoubleWiki GoogleNewsSitemap MobileFrontend README TimedMediaHandler WikimediaEvents
CharInsert DynamicSidebar Graph MultimediaViewer RSS TitleBlacklist WikimediaIncubator
CheckUser EUCopyrightCampaign GrowthExperiments MwEmbedSupport ReadingLists TocTree WikimediaMaintenance
CirrusSearch Echo GuidedTour NavigationTiming RelatedArticles TorBlock WikimediaMessages
Cite EducationProgram HeadScript NewUserMessage RelatedSites Translate XAnalytics
CiteThisPage Elastica ImageMap Newsletter Renameuser TranslationNotifications ZeroBanner
Citoid ElectronPdfService InputBox Nuke ReplaceText TrustedXFF ZeroPortal
Cldr EntitySchema.inv Insider OATHAuth RevisionSlider TwoColConflict cldr
CleanChanges EventBus Interwiki OAuth SandboxLink UnicodeConverter intersection
CodeEditor EventLogging InterwikiSorting ORES Score UniversalLanguageSelector timeline
CodeMirror ExtensionDistributor JADE OpenStackManager Scribunto UploadWizard wikihiero
CodeReview ExternalGuidance Jade PageAssessments SearchExtraNS UploadsLink
Cognate FeaturedFeeds Josa PageImages SecureLinkFixer UrlShortener
I tried to use the master branch to upgrade the extensions. However, there seems to be error downloading them. I got this MW API response upgrading the extensions:
The request is sent here https://github.com/RazeSoldier/mwExtUpgrader/blob/5269b2d589d81695a040be6d76f47b00dca259ee/includes/ExtensionRepo.php#L72-L74
I'm using this script on MediaWiki 1.34.0-wmf20.