r46036 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46035‎ | r46036 | r46037 >
Date:22:13, 22 January 2009
Author:tparscal
Status:deferred
Tags:
Comment:
Added a message on the settings page.
Modified paths:
  • /trunk/extensions/DataCenter/DataCenter.i18n.php (modified) (history)
  • /trunk/extensions/DataCenter/Views/Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DataCenter/Views/Settings.php
@@ -13,6 +13,22 @@
1414 public function main(
1515 $path
1616 ) {
17 - return __CLASS__;
 17+ return DataCenterUI::renderLayout(
 18+ 'columns',
 19+ array(
 20+ DataCenterUI::renderLayout(
 21+ 'columns',
 22+ array(
 23+ DataCenterUI::renderWidget(
 24+ 'body',
 25+ array(
 26+ 'message' => 'important-settings',
 27+ 'style' => 'important'
 28+ )
 29+ )
 30+ )
 31+ )
 32+ )
 33+ );
1834 }
1935 }
\ No newline at end of file
Index: trunk/extensions/DataCenter/DataCenter.i18n.php
@@ -201,6 +201,7 @@
202202 'datacenter-ui-body-notice-removing-field' => 'Removing this field will result in the removal of the following links and all data associated with them and cannot be recovered from. Do you want to continue with the removal?',
203203 'datacenter-ui-body-important-configuring-field' => 'Changing the format of this field may cause related data to be interpreted incorectly, espcially when switching between textual, numeric and boolean formats.',
204204 'datacenter-ui-body-important-welcome' => 'Welcome to the beta-testing of DataCenter. Please poke around and give feedback Trevor Parscal. If you are going to help out, take a look at the media wiki extension page for DataCenter which has a list of feature priorities.',
 205+ 'datacenter-ui-body-important-settings' => 'These settings may affect the system in irreversable ways. Please be careful when making adjustments.',
205206 'datacenter-ui-body-error-invalid-request' => 'You have requested a page with an invalid path.',
206207 // Tabs
207208 'datacenter-ui-tab-racks' => 'Racks',

Status & tagging log