MediaWiki r41669 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r41668‎ | r41669 (on ViewVC)‎ | r41670 >
Date:22:26, 4 October 2008
Author:sanbeg
Status:old
Tags:
Comment:
update comment
Modified paths:

Diff [purge]

Index: trunk/extensions/Cite/Cite_body.php
===================================================================
--- trunk/extensions/Cite/Cite_body.php	(revision 41668)
+++ trunk/extensions/Cite/Cite_body.php	(revision 41669)
@@ -131,9 +131,9 @@
 		list($key,$group) = $this->refArg( $argv );
 		
 		if( $str === '' ) {
-			# <ref ...></ref>.  This construct is always invalid: either
-			# it's a contentful ref, or it's a named duplicate and should
-			# be <ref ... />.
+			# <ref ...></ref>.  This construct is  invalid if
+			# it's a contentful ref, but OK if it's a named duplicate and should
+			# be equivalent <ref ... />, for compatability with #tag.
 			if ( $key == false )
 				return $this->error( 'cite_error_ref_no_input' );
 			else

Status & tagging log

  • 15:32, 12 September 2011 Meno25 (Talk | contribs) changed the status of r41669 [removed: ok added: old]
Personal tools
Namespaces
Variants
Views
Actions
Site
Support
Download
Development
Communication
Toolbox