I think it's partly because everyone who writes patches respects the chosen formatting standard used throughout Mediawiki. I know that when I write code to submit, I make sure to format it properly and adjust any existing formatting as needed to keep indentions and the like properly spaced.
That, I don't think Brion lets bad code go live :-P
-Chad
On Mon, Apr 14, 2008 at 10:54 PM, Andrew Garrett andrew@epstone.net wrote:
On Tue, Apr 15, 2008 at 12:22 PM, jidanni@jidanni.org wrote:
How do the MediaWiki pros keep their PHP pretty? Do they use http://en.wikipedia.org/wiki/Prettyprint#Code_Beautifiers ?
No, we write the code in the correct style in the first place.
-- Andrew Garrett
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l