Can you install MediaWiki 1.36.2 on the following devices:
- Phone: Alcatel 1S (2021) (3 GB of RAM)
- Tablet: iPad (7th generation) (3 GB of RAM)
- Laptop: Dell Chromebook 11 3189 (4 GB of RAM)
Can you install MediaWiki 1.36.2 on the following devices:
You can, as long as you meet the requirements. You need at least a webserver and PHP. I don't think you can install and run a webserver and PHP on a phone or tablet.
As far as I know has the mdoule php-fileinfo been incorporated in the PHP 7.2 version of php-common.
This may very well be true. Did all major distros do this or are there differences in roll out?
It's indicated on this page that PHP version 7.0.13 or later is required
But on the Compatibility page it's indicated that MediaWiki is not fully compatible with PHP 7.3 yet. [1]
Docu was updated.
Just a heads up. I spent several hours trying to troubleshoot an upgrade only to find out that 1.31 now requires PostgreSQL 9.2+. The neither this page or the upgrade page does not specifically call it out and still shows that 8.3+ is the minimal requirement. I recommend updating the both this page and the Upgrading page to reflect this change.
Good luck.
Is there a roadmap that explains how database requirements are likely to evolve in the future? Primary concerns:
Is php required to run scripts indepedently from webserver, meaning do we need to run any scripts (such as module installation php scripts or updating php scripts) without starting the webserver?
Can php that is installed in the system be different from the one used from the webserver that comes with apachefriends' xampp?
Is strongly recommended to have PHP as a binary to run scripts, if you ever need to run them.
Yes, the php cli can be different, but must be a version compatible with MediaWiki, and should have the required extensions to run MediaWiki (mbstring, database drivers...)
Thanks for the answer but I am still confused. Which scripts will ever be needed to run from cli? Are those scripts (that must be run from command line), required to run (start, stop, config) the server or are scripts that run from a page inside site, thus can safely use server's php?
If they are required by extensions in order to be installed or to run some kind of modifications or for parametrization (outside of the webserver, from command line) then this is an extension's requirement and should be extension's reliability to check if it is safe to run.
Is it sure that there is nothing to worry having a version of php inside server (ex. Apache) and use a second version of php to run (from inside or outside Apache) any script that affects mediawiki site (even if compatible)?
Any script you may need to run are described in Manual:Maintenance scripts. The most usual are update.php during upgrades (although you can use the web installer), and runJobs.php in case you need to manually clear the Manual:job queue, but it may happen that you have a MediaWiki instance running and not have to run a maintenance script on its lifetime.
All php scripts would be run manually (by you), not by extensions.
If you run php on apache as an apache module or as a fpm, it's already a different php binary than the command line binary that would provide your distribution on installation.
I downloaded MediaWiki 1.29.0 but it refuses to start saying there are non optional dependencies.
I updated my php to 7.1.3 on Archlinux, then mediawiki to 1.28 and MLEB 2017.01.
But when I'm logged in and go to a translated page, I've got the following error.
I'm assuming it's related to php 7.1 but I can't roll back as it's part of a stack.
Any one have an idea to fix this issue?
[928678b78dfffb063994597a] /documentation/index.php?title=DSBrowser_versions/en Error from line 629 of /usr/share/webapps/mediawiki/extensions/Translate/tag/PageTranslationHooks.php: [] operator not supported for strings
Backtrace:
#0 /usr/share/webapps/mediawiki/includes/Hooks.php(195): PageTranslationHooks::preventPatrolling(Title, User, string, string)
#1 /usr/share/webapps/mediawiki/includes/Title.php(2060): Hooks::run(string, array)
#2 /usr/share/webapps/mediawiki/includes/Title.php(2498): Title->checkPermissionHooks(string, User, array, string, boolean)
#3 /usr/share/webapps/mediawiki/includes/Title.php(1903): Title->getUserPermissionsErrorsInternal(string, User, string, boolean)
#4 /usr/share/webapps/mediawiki/includes/Title.php(1885): Title->userCan(string, User, boolean)
#5 /usr/share/webapps/mediawiki/includes/page/Article.php(1060): Title->quickUserCan(string, User)
#6 /usr/share/webapps/mediawiki/includes/page/Article.php(1038): Article->showPatrolFooter()
#7 /usr/share/webapps/mediawiki/includes/page/Article.php(718): Article->showViewFooter()
#8 /usr/share/webapps/mediawiki/includes/actions/ViewAction.php(71): Article->view()
#9 /usr/share/webapps/mediawiki/includes/MediaWiki.php(495): ViewAction->show()
#10 /usr/share/webapps/mediawiki/includes/MediaWiki.php(289): MediaWiki->performAction(Article, Title)
#11 /usr/share/webapps/mediawiki/includes/MediaWiki.php(851): MediaWiki->performRequest()
#12 /usr/share/webapps/mediawiki/includes/MediaWiki.php(512): MediaWiki->main()
#13 /usr/share/webapps/mediawiki/index.php(43): MediaWiki->run()
#14 {main}
I just tried to manually change $result[] = ... to
$result = array();
$result[] = ...
Seems to work, not sure if there's any other place need to change
Currently there are about eight wikis already using PHP 7.1 so it seems to work. Still you would be on the forefront of PHP 7.1 adoption so issues are not improbable.
If you are talking about Microsoft's solution, it's probably possible but things aren't likely to work as well with it; MediaWiki works best with MySQL.
Seems the last update is in 2012. Wondering any update for MS SQL server support? or event Windows Azure SQL? Thanks!