User "^demon" changed the status of MediaWiki.r90407. Old Status: deferred New Status: ok
User "^demon" also posted a comment on MediaWiki.r90407. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90407#c18382 Commit summary: Follow-up to r90324 - in some cases (some MW versions?), Title::newFromText() returns null Comment: Title::newFromText() will return null if you pass it something that can't be interpolated to a title. This sort of check is normal all over core. <pre> $title = Title::newFromText( $something ); if( $title && $title->exists() ) { // do stuff } </pre> _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
