r79395 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79394‎ | r79395 | r79396 >
Date:00:56, 1 January 2011
Author:reedy
Status:ok
Tags:
Comment:
* (bug 25437) Increase release notes range

Drop last stored - 10000 check (query is ok)
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeReleaseNotes.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeReleaseNotes.php
@@ -21,13 +21,7 @@
2222 return;
2323 }
2424 $this->showForm();
25 - # Sanity/performance check...
26 - $lastRev = $this->mRepo->getLastStoredRev();
27 - if ( $this->mStartRev < ( $lastRev - 10000 ) ) {
28 - global $wgOut;
29 - $wgOut->addHtml( wfMsgHtml( 'code-release-badrange' ) );
30 - return;
31 - }
 25+
3226 # Show notes if we have at least a starting revision
3327 if ( $this->mStartRev ) {
3428 $this->showReleaseNotes();

Follow-up revisions

RevisionCommit summaryAuthorDate
r79396Followup r79395, remove 'code-release-badrange' => 'Range is too large!',reedy00:58, 1 January 2011

Status & tagging log