Page MenuHomePhabricator

Improve stylize.php brace handling/addition
Open, LowPublicFeature

Description

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/author/ashley has been doing most of these edits manually, when most of them *should* be doable by stylize

Edits such as
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/62838

including changing

if ( $blah )

$doSomething();

to

if ( $blah ) {

$doSomething();

}


Version: unspecified
Severity: enhancement

Details

Reference
bz22621

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:05 PM
bzimport set Reference to bz22621.
bzimport added a subscriber: Unknown Object (MLST).

Would be nice if it could also change

if ( $blah )
{

$doSomething();

}

into

if ( $blah ) {

$doSomething();

}

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM