r26332 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26331‎ | r26332 | r26333 >
Date:22:43, 2 October 2007
Author:robchurch
Status:old
Tags:
Comment:
Spacing
Modified paths:
  • /trunk/extensions/Cite/Cite.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/Cite.php
@@ -394,7 +394,7 @@
395395 'cite_references_link_one',
396396 $this->referencesKey( $key ),
397397 $this->refKey( $key, $val['count'] ),
398 - ($val['text']!=''?$val['text']:$this->error(CITE_ERROR_REFERENCES_NO_TEXT))
 398+ ( $val['text'] != '' ? $val['text'] : $this->error( CITE_ERROR_REFERENCES_NO_TEXT ) )
399399 );
400400 // Named references with >1 occurrences
401401 else {
@@ -415,7 +415,7 @@
416416 wfMsgForContentNoTrans( 'cite_references_link_many',
417417 $this->referencesKey( $key ),
418418 $list,
419 - ($val['text']!=''?$val['text']:$this->error(CITE_ERROR_REFERENCES_NO_TEXT))
 419+ ( $val['text'] != '' ? $val['text'] : $this->error( CITE_ERROR_REFERENCES_NO_TEXT ) )
420420 );
421421 }
422422 }

Status & tagging log