r73305 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73304‎ | r73305 | r73306 >
Date:08:09, 19 September 2010
Author:roberthl
Status:deferred
Tags:
Comment:
Translate: Add array to header of magic-export.php exports.
Modified paths:
  • /trunk/extensions/Translate/scripts/magic-export.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/magic-export.php
@@ -42,7 +42,7 @@
4343 }
4444
4545 $this->openHandles();
46 - // $this->writeHeaders();
 46+ $this->writeHeaders();
4747 $this->writeFiles();
4848 $this->writeFooters();
4949 $this->closeHandles();
@@ -138,28 +138,15 @@
139139 switch( $this->type ) {
140140 case 'special':
141141 fwrite( $handle, <<<PHP
142 -<?php
143 -/**
144 - * Aliases for special pages
145 - *
146 - * @file
147 - * @ingroup Extensions
148 - */
149142
 143+
150144 \$specialPageAliases = array();
151145 PHP
152146 );
153147 break;
154148 case 'magic':
155149 fwrite( $handle, <<<PHP
156 -<?php
157150
158 -/**
159 - * Internationalisation file for magic words
160 - *
161 - * @file
162 - * @ingroup Extensions
163 - */
164151
165152 \$magicWords = array();
166153 PHP

Status & tagging log