r75700 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75699‎ | r75700 | r75701 >
Date:17:47, 30 October 2010
Author:demon
Status:ok
Tags:
Comment:
Per r75386 CR, use newMainPage()
Modified paths:
  • /trunk/phase3/includes/installer/CoreInstaller.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/CoreInstaller.php
@@ -442,8 +442,7 @@
443443 public function installMainpage( DatabaseInstaller &$installer ) {
444444 $status = Status::newGood();
445445 try {
446 - $titleobj = Title::newFromText( wfMsgForContent( "mainpage" ) );
447 - $article = new Article( $titleobj );
 446+ $article = new Article( Title::newMainPage() );
448447 $article->doEdit( wfMsgForContent( 'mainpagetext' ) . "\n\n" .
449448 wfMsgForContent( 'mainpagedocfooter' ),
450449 '',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75386Followup r75371, use MediaWiki default user and content language for messagesdemon21:46, 25 October 2010

Status & tagging log