Build precise queries to find exactly what you need
Press ESC to close
@daiviermarquez
Favorites0
Views
Projects0
Besides changing the protocol form http to https in the following part of the script: my $mw_dl_url = "https://www.mediawiki.org/wiki/Download"; There must be added an elsif to handle the change from tar.gz to zip in the format available for download, like this: if ( $latest_url =~ m/.*mediawiki-(.*).tar.gz/ ) { $mw_latest_version = $1; } elsif ( $latest_url =~ m/.*mediawiki-(.*).zip/ ) { $mw_latest_version = $1; }
Reviewed 3 years ago