Jump to content

Topic on Talk:MwExtUpgrader

Foreclosurepedia (talkcontribs)

Do I simply download this into the Extensions Folder and then call the script within the Extensions Folder? Thanks!

星耀晨曦 (talkcontribs)

MwExtUpgrader can be placed in any location. It does not depend on the current working directory.

Foreclosurepedia (talkcontribs)

Just figured it out but thanks for the answer. For others like me here is what I did: I put the code into the Extensions folder and it requested my absolute path. Then it was cool as it asked what version I wanted to go to and it did include MW 1.35. It did tell me: ExtensionDistributor unsupported Maps, ExtensionDistributor unsupported Purge, ExtensionDistributor unsupported EmbedVideo, ExtensionDistributor unsupported Validator.

It also said: "In UpgradeTask.php line 163:

 file_get_contents(/home/iafstghq/digitalmatrixgroup.com/extensions/Wikibase/extension.json): failed to open stream: No such file or directory"

I presume this is something I have to go find as I am upgrading and have errors anyway.

Foreclosurepedia (talkcontribs)

Got it all resolved. It dealt with I copied the old composer.json over. Great script my friend!!!!

星耀晨曦 (talkcontribs)

Thanks report. This is a bug that not check if extension.json exists before reading it.

星耀晨曦 (talkcontribs)

Thanks report. This is a bug that not check if extension.json exists before reading it.