Last modified: 2011-04-14 15:14:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24621, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22621 - Improve stylize.php brace handling/addition
Improve stylize.php brace handling/addition
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-22 21:12 UTC by Sam Reed (reedy)
Modified: 2011-04-14 15:14 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2010-02-22 21:12:40 UTC
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();
}
Comment 1 Sam Reed (reedy) 2010-07-25 20:25:30 UTC
Would be nice if it could also change

if ( $blah )
{
    $doSomething();
}

into

if ( $blah ) {
    $doSomething();
}

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links