Page MenuHomePhabricator

More composer php extension dependencies
Open, MediumPublicFeature

Description

Numerous more MW can potentially use...

php5-uuid, php5-redis, php5-curl, php5-imagick, php5-intl, php5-mcrypt,php5-memcached, php5-tidy, php5-xmlrpc, php5-redis

php5-mysql, php5-pgsql, php5-sqlite

	"suggest": {
		"ext-fileinfo": "*",
		"ext-mbstring": "*",
		"ext-wikidiff2": "*",
		"ext-apc": "*"
	}

Version: 1.21.x
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=30234
https://bugzilla.wikimedia.org/show_bug.cgi?id=47564

Details

Reference
bz45822

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:25 AM
bzimport set Reference to bz45822.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Numerous more MW can potentially use...

MW as in core or core+bundled extensions?

Could composer also potentially build [[mw:FastStringSearch]] and the like?

Imho yes, it should not be any different from wikidiff2 in that regard.

(In reply to comment #3)

Imho yes, it should not be any different from wikidiff2 in that regard.

The difference is that php-wikidiff2 is a package, while FastStringSearch allegedly must be compiled locally because of license reasons.

I'm a bit sceptical about the added value of such a huge list of suggest items. In fact I'd be inclined to remove the current list. Composer is being used to install extensions into MediaWiki. Not to install MediaWiki. The installer seems a much better place to provide such suggestions. Also consider that the composer.json file is like LocalSettings.php not in git. I think it makes sense to not put in things there just because we can, and rather keep it minimalistic.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM