User "^demon" changed the status of MediaWiki.r88961. Old Status: new New Status: ok
Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88961#c0 Commit summary: [CodeReview] Simplifying SpecialCode::getViewFrom(), as there is a bunch of duplication there. Now the class names are defined in a static array, so we can use a simple bit of logic to decide which class to instantiate, instead of two very similar and very long if/else blocks. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
