r71985 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71984‎ | r71985 | r71986 >
Date:22:08, 30 August 2010
Author:kaldari
Status:ok
Tags:
Comment:
Adding some helpful comments
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialCentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php
@@ -48,7 +48,7 @@
4949
5050 $method = $wgRequest->getVal( 'method' );
5151
52 - // Handle showing campaign detail
 52+ // Switch to campaign detail interface if requested
5353 if ( $method == 'listNoticeDetail' ) {
5454 $notice = $wgRequest->getVal ( 'notice' );
5555 $this->listNoticeDetail( $notice );
@@ -56,7 +56,7 @@
5757 return;
5858 }
5959
60 - // Handle form submissions
 60+ // Handle form submissions from "Manage campaigns" or "Add a campaign" interface
6161 if ( $this->editable && $wgRequest->wasPosted() ) {
6262
6363 // Check authentication token
@@ -524,6 +524,7 @@
525525 $wgOut->wrapWikiMsg( "<div class='cn-error'>\n$1\n</div>", 'centralnotice-notice-doesnt-exist' );
526526 } else {
527527
 528+ // Handle form submissions from campaign detail interface
528529 if ( $wgRequest->wasPosted() ) {
529530
530531 // Check authentication token

Status & tagging log