Hi,
As part of the librarization project[1], we are planning on taking the CSSJanus library that is currently in includes/lib/ and bringing it in with composer. However, it requires PHP >=5.3.3 in its composer.json[2]. Krinkle has stated[3] that is due to the fact that it has only been tested on 5.3.3 and higher, and it's also what travis-ci provides.
After doing some research[4], it appears that we would be dropping support for Ubuntu 10.04LTS, which has security support until April 2015. MediaWiki 1.25.0 is expected to be released in May 2015.
Does anyone have any objections to dropping 5.3.2 support? I've uploaded [5] that actually increments the required version number.
Thanks, -- Legoktm
[1] https://www.mediawiki.org/wiki/Library_infrastructure_for_MediaWiki [2] https://github.com/cssjanus/php-cssjanus/blob/master/composer.json [3] https://github.com/cssjanus/php-cssjanus/pull/5#issuecomment-60069126 [4] https://phabricator.wikimedia.org/T839#14160 [5] https://gerrit.wikimedia.org/r/168535
Legoktm wrote:
Does anyone have any objections to dropping 5.3.2 support?
Hi.
Are there statistics about what versions of PHP exist in the wild among MediaWiki users or users of other large PHP applications (Drupal, WordPress, etc.)?
I'd prefer that we find/get PHP version metrics and set a usage threshold, similar to what we do with Web browser support. I think this would simplify future PHP compatibility discussions.
MZMcBride
On 2014-10-23 7:55 PM, MZMcBride wrote:
Are there statistics about what versions of PHP exist in the wild among MediaWiki users or users of other large PHP applications (Drupal, WordPress, etc.)?
https://wikiapiary.com/wiki/PHP_Versions https://wikiapiary.com/wiki/PHP_Versions/non-wmf
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
On 10/24/14, Daniel Friesen daniel@nadir-seen-fire.com wrote:
On 2014-10-23 7:55 PM, MZMcBride wrote:
Are there statistics about what versions of PHP exist in the wild among MediaWiki users or users of other large PHP applications (Drupal, WordPress, etc.)?
https://wikiapiary.com/wiki/PHP_Versions https://wikiapiary.com/wiki/PHP_Versions/non-wmf
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Specifically https://wikiapiary.com/w/index.php?title=Special:SearchByProperty&offset... specificly suggests there's currently about 489 such wikis that this change could potentially affect (Unclear how many of those are active or how many of those use even remotely modern versions of MW. My SMW-fu is not strong enough to figure out how to query that)
--bawolff
https://wikiapiary.com/w/index.php?title=Special:Ask&offset=0&limit=...
On 24 October 2014 05:52, Brian Wolff bawolff@gmail.com wrote:
On 10/24/14, Daniel Friesen daniel@nadir-seen-fire.com wrote:
On 2014-10-23 7:55 PM, MZMcBride wrote:
Are there statistics about what versions of PHP exist in the wild among MediaWiki users or users of other large PHP applications (Drupal, WordPress, etc.)?
https://wikiapiary.com/wiki/PHP_Versions https://wikiapiary.com/wiki/PHP_Versions/non-wmf
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Specifically https://wikiapiary.com/w/index.php?title=Special:SearchByProperty&offset... specificly suggests there's currently about 489 such wikis that this change could potentially affect (Unclear how many of those are active or how many of those use even remotely modern versions of MW. My SMW-fu is not strong enough to figure out how to query that)
--bawolff
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Maybe somewhat more useful as distribution: https://wikiapiary.com/w/index.php?title=Special:Ask&q=%5B%5BHas+PHP+Ver...
On 24 October 2014 05:52, Brian Wolff bawolff@gmail.com wrote:
On 10/24/14, Daniel Friesen daniel@nadir-seen-fire.com wrote:
On 2014-10-23 7:55 PM, MZMcBride wrote:
Are there statistics about what versions of PHP exist in the wild among MediaWiki users or users of other large PHP applications (Drupal, WordPress, etc.)?
https://wikiapiary.com/wiki/PHP_Versions https://wikiapiary.com/wiki/PHP_Versions/non-wmf
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Specifically https://wikiapiary.com/w/index.php?title=Special:SearchByProperty&offset... specificly suggests there's currently about 489 such wikis that this change could potentially affect (Unclear how many of those are active or how many of those use even remotely modern versions of MW. My SMW-fu is not strong enough to figure out how to query that)
--bawolff
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
I was just thinking that'd be a good stat to look at. So about 20 wikis running on REL_23 and 5 wikis that are running 5.3.2 that are up to date on security releases for all current supported branches (+ one on an old WMF 1.24 branch)? Can we make assumptions based on that chart if those wikis are likely to upgrade anyway?
-- Lewis Cawte
On 24 October 2014 08:56, Stephan Gambke s7eph4n@gmail.com wrote:
Maybe somewhat more useful as distribution:
https://wikiapiary.com/w/index.php?title=Special:Ask&q=%5B%5BHas+PHP+Ver...
On 24 October 2014 05:52, Brian Wolff bawolff@gmail.com wrote:
On 10/24/14, Daniel Friesen daniel@nadir-seen-fire.com wrote:
On 2014-10-23 7:55 PM, MZMcBride wrote:
Are there statistics about what versions of PHP exist in the wild among MediaWiki users or users of other large PHP applications (Drupal, WordPress, etc.)?
https://wikiapiary.com/wiki/PHP_Versions https://wikiapiary.com/wiki/PHP_Versions/non-wmf
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Specifically
https://wikiapiary.com/w/index.php?title=Special:SearchByProperty&offset...
specificly suggests there's currently about 489 such wikis that this change could potentially affect (Unclear how many of those are active or how many of those use even remotely modern versions of MW. My SMW-fu is not strong enough to figure out how to query that)
--bawolff
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 10/23/14 7:55 PM, MZMcBride wrote:
Are there statistics about what versions of PHP exist in the wild among MediaWiki users or users of other large PHP applications (Drupal, WordPress, etc.)?
WordPress has some graphs at [1]. They have a minimum requirement of 5.2.4.
For Drupal I found [2], but it doesn't say which PHP version is being used. Drupal 7 requires 5.2.5 (but recommends 5.3), and Drupal 8 requires 5.4.
-- Legoktm
[1] https://wordpress.org/about/stats/ [2] https://www.drupal.org/project/usage/drupal
On 23 October 2014 18:39, Legoktm legoktm.wikipedia@gmail.com wrote:
Hi,
As part of the librarization project[1], we are planning on taking the CSSJanus library that is currently in includes/lib/ and bringing it in with composer. However, it requires PHP >=5.3.3 in its composer.json[2]. Krinkle has stated[3] that is due to the fact that it has only been tested on 5.3.3 and higher, and it's also what travis-ci provides.
After doing some research[4], it appears that we would be dropping support for Ubuntu 10.04LTS, which has security support until April 2015. MediaWiki 1.25.0 is expected to be released in May 2015.
Does anyone have any objections to dropping 5.3.2 support? I've uploaded [5] that actually increments the required version number.
I understood that the vague plan was to switch over to 5.4.x requirement, and that we'd only waited because Wikimedia wasn't ready yet. Has this changed? I know a number of people have talked about wanting to use PHP traits.
J.
On Fri, Oct 24, 2014 at 8:12 AM, James Forrester jforrester@wikimedia.org wrote:
On 23 October 2014 18:39, Legoktm legoktm.wikipedia@gmail.com wrote:
Hi,
As part of the librarization project[1], we are planning on taking the CSSJanus library that is currently in includes/lib/ and bringing it in with composer. However, it requires PHP >=5.3.3 in its composer.json[2]. Krinkle has stated[3] that is due to the fact that it has only been tested on 5.3.3 and higher, and it's also what travis-ci provides.
After doing some research[4], it appears that we would be dropping support for Ubuntu 10.04LTS, which has security support until April 2015. MediaWiki 1.25.0 is expected to be released in May 2015.
Does anyone have any objections to dropping 5.3.2 support? I've uploaded [5] that actually increments the required version number.
I understood that the vague plan was to switch over to 5.4.x requirement, and that we'd only waited because Wikimedia wasn't ready yet. Has this changed? I know a number of people have talked about wanting to use PHP traits.
Yes, but that's longer term.
This minor bump still in the 5.3.x branch I think we can do immediately.
-Chad
On 24 October 2014 08:41, Chad innocentkiller@gmail.com wrote:
On Fri, Oct 24, 2014 at 8:12 AM, James Forrester <jforrester@wikimedia.org
wrote:
On 23 October 2014 18:39, Legoktm legoktm.wikipedia@gmail.com wrote:
Hi,
As part of the librarization project[1], we are planning on taking the CSSJanus library that is currently in includes/lib/ and bringing it in with composer. However, it requires PHP >=5.3.3 in its
composer.json[2].
Krinkle has stated[3] that is due to the fact that it has only been tested on 5.3.3 and higher, and it's also what travis-ci provides.
After doing some research[4], it appears that we would be dropping support for Ubuntu 10.04LTS, which has security support until April 2015. MediaWiki 1.25.0 is expected to be released in May 2015.
Does anyone have any objections to dropping 5.3.2 support? I've
uploaded
[5] that actually increments the required version number.
I understood that the vague plan was to switch over to 5.4.x
requirement,
and that we'd only waited because Wikimedia wasn't ready yet. Has this changed? I know a number of people have talked about wanting to use PHP traits.
Yes, but that's longer term.
How much longer? 1.25 is May 2015; Wikimedia's ZAP -> HAT migration is nominally to be finished within a month…
This minor bump still in the 5.3.x branch I think we can do immediately.
Sure, if announcing a 1.25 dependency change and then changing the change later won't disrupt people too much.
(Copying the main MediaWiki-l list for those who don't follow wikitech-l)
J.
On 24 Oct 2014, at 17:31, James Forrester jforrester@wikimedia.org wrote:
How much longer? 1.25 is May 2015; Wikimedia's ZAP -> HAT migration is nominally to be finished within a month…
Since neither ZAP or HAT is defined anywhere on wikitech or mediawiki.org, created: https://wikitech.wikimedia.org/wiki/Zap/Hat
(with ZAP and HAT redirects.)
-- Krinkle
On 10/27/2014 03:05 PM, Krinkle wrote:
On 24 Oct 2014, at 17:31, James Forrester jforrester@wikimedia.org wrote:
How much longer? 1.25 is May 2015; Wikimedia's ZAP -> HAT migration is nominally to be finished within a month…
I think we're now using HHVM most places in production (which supports almost all PHP 5.4). Bryan Davis mentioned something about the misc servers still running PHP 5.3.
Are those the only ones running neither HHVM nor PHP 5.4?
What do we have to do to upgrade them?
Once the WMF cluster is 5.4-safe, we can then think about when to change core to require 5.4.
This has caused some issues, e.g. https://gerrit.wikimedia.org/r/#/c/192380/ caused a lint failure during a deployment (since an unused but committed file had a 5.4-only feature).
There's a related bug, https://phabricator.wikimedia.org/T32092 ("MediaWiki PHP 5.4 compatibility (tracking)")..
Matt Flaschen
On Apr 7, 2015 1:26 PM, "Matthew Flaschen" mflaschen@wikimedia.org wrote:
On 10/27/2014 03:05 PM, Krinkle wrote:
On 24 Oct 2014, at 17:31, James Forrester jforrester@wikimedia.org
wrote:
How much longer? 1.25 is May 2015; Wikimedia's ZAP -> HAT migration is nominally to be finished within a month…
I think we're now using HHVM most places in production (which supports
almost all PHP 5.4). Bryan Davis mentioned something about the misc servers still running PHP 5.3.
Are those the only ones running neither HHVM nor PHP 5.4?
What do we have to do to upgrade them?
Once the WMF cluster is 5.4-safe, we can then think about when to change
core to require 5.4.
This has caused some issues, e.g.
https://gerrit.wikimedia.org/r/#/c/192380/ caused a lint failure during a deployment (since an unused but committed file had a 5.4-only feature).
There's a related bug, https://phabricator.wikimedia.org/T32092
("MediaWiki PHP 5.4 compatibility (tracking)")..
Matt Flaschen
Image and video scalars are still not updated unfortunately (i say unfortunately as its a pre-req to having any sort of modern a/v support and we are seriously behind the times in terms of free video codec support)
--bawolff
I think we should update core to 5.4 after next lts release or the one after next lts release. Since lots of people are still using php 5.3 more then what 5.2 was when the core was switched. and 5.4 would be a big change.
On Tuesday, 7 April 2015, 17:58, Brian Wolff bawolff@gmail.com wrote:
On Apr 7, 2015 1:26 PM, "Matthew Flaschen" mflaschen@wikimedia.org wrote:
On 10/27/2014 03:05 PM, Krinkle wrote:
On 24 Oct 2014, at 17:31, James Forrester jforrester@wikimedia.org
wrote:
How much longer? 1.25 is May 2015; Wikimedia's ZAP -> HAT migration is nominally to be finished within a month…
I think we're now using HHVM most places in production (which supports
almost all PHP 5.4). Bryan Davis mentioned something about the misc servers still running PHP 5.3.
Are those the only ones running neither HHVM nor PHP 5.4?
What do we have to do to upgrade them?
Once the WMF cluster is 5.4-safe, we can then think about when to change
core to require 5.4.
This has caused some issues, e.g.
https://gerrit.wikimedia.org/r/#/c/192380/ caused a lint failure during a deployment (since an unused but committed file had a 5.4-only feature).
There's a related bug, https://phabricator.wikimedia.org/T32092
("MediaWiki PHP 5.4 compatibility (tracking)")..
Matt Flaschen
Image and video scalars are still not updated unfortunately (i say unfortunately as its a pre-req to having any sort of modern a/v support and we are seriously behind the times in terms of free video codec support)
--bawolff _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org