r49557 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49556‎ | r49557 | r49558 >
Date:09:32, 16 April 2009
Author:ialex
Status:deferred
Tags:
Comment:
* Use <div class="successbox"></div> arround "farmer-deleting"
* Updated "farmer-deleting"
Modified paths:
  • /trunk/extensions/Farmer/Farmer.i18n.php (modified) (history)
  • /trunk/extensions/Farmer/SpecialFarmer.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Farmer/Farmer.i18n.php
@@ -81,10 +81,10 @@
8282 'farmer-permissiondenied' => 'Permission denied',
8383 'farmer-permissiondenied-text' => 'You do not have permission to delete a wiki from the farm',
8484 'farmer-permissiondenied-text1' => 'You do not have permission to access this page',
85 - 'farmer-deleting' => 'Deleting $1',
 85+ 'farmer-deleting' => 'The wiki "$1" has been deleted',
8686 'farmer-delete-confirm' => 'I confirm that I want to delete this wiki',
8787 'farmer-delete-confirm-wiki' => "Wiki to delete: '''$1'''.",
88 - 'farmer-delete-reason' => 'Reason for the deletion:',
 88+ 'farmer-delete-reason' => 'Reason for the deletion:',
8989 'farmer-delete-title' => 'Delete wiki',
9090 'farmer-delete-text' => 'Please select the wiki from the list below that you wish to delete',
9191 'farmer-delete-form' => 'Select a wiki',
Index: trunk/extensions/Farmer/SpecialFarmer.php
@@ -249,7 +249,7 @@
250250
251251 if( $wgRequest->wasPosted() && ( $wiki = $wgRequest->getVal( 'wpWiki' ) ) && $wiki != '-1' ) {
252252 if( $wgRequest->getCheck( 'wpConfirm' ) ) {
253 - $wgOut->wrapWikiMsg( '== $1 ==', array( 'farmer-deleting', $wiki ) );
 253+ $wgOut->wrapWikiMsg( '<div class="successbox">$1</div>', array( 'farmer-deleting', $wiki ) );
254254
255255 $log = new LogPage( 'farmer' );
256256 $log->addEntry( 'delete', $this->getTitle(), $wgRequest->getVal( 'wpReason' ), array( $wiki ) );

Status & tagging log