Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -42,7 +42,6 @@ |
43 | 43 | /** |
44 | 44 | * Initialization of ... everything |
45 | 45 | * Performs the request too |
46 | | - * FIXME: why is this crap called "initialize" when it performs everything? |
47 | 46 | * |
48 | 47 | * @param $title Title ($wgTitle) |
49 | 48 | * @param $article Article |
— | — | @@ -50,7 +49,7 @@ |
51 | 50 | * @param $user User |
52 | 51 | * @param $request WebRequest |
53 | 52 | */ |
54 | | - function initialize( &$title, &$article, &$output, &$user, $request ) { |
| 53 | + function performRequestForTitle( &$title, &$article, &$output, &$user, $request ) { |
55 | 54 | wfProfileIn( __METHOD__ ); |
56 | 55 | |
57 | 56 | $output->setTitle( $title ); |
Index: trunk/phase3/index.php |
— | — | @@ -113,7 +113,7 @@ |
114 | 114 | $mediaWiki->setVal( 'UseExternalEditor', $wgUseExternalEditor ); |
115 | 115 | $mediaWiki->setVal( 'UsePathInfo', $wgUsePathInfo ); |
116 | 116 | |
117 | | -$mediaWiki->initialize( $wgTitle, $wgArticle, $wgOut, $wgUser, $wgRequest ); |
| 117 | +$mediaWiki->performRequestForTitle( $wgTitle, $wgArticle, $wgOut, $wgUser, $wgRequest ); |
118 | 118 | $mediaWiki->finalCleanup( $wgDeferredUpdateList, $wgOut ); |
119 | 119 | |
120 | 120 | # Not sure when $wgPostCommitUpdateList gets set, so I keep this separate from finalCleanup |