[Mediawiki-l] Approval / Validation

John Moorhouse john.moorhouse at 3jays.me.uk
Tue Jan 16 21:36:02 UTC 2007


Thanks Ryan that solved the everyone bit and I've tweaked the messages, 
have you any thought on these messages that appear at the top of the 
screen when I set or unset the stable version ?

Warning:  end(): Passed variable is not an array or object in 
<b>/home/users/web6411/html/3jays.me.uk/adults_policies/extensions/StableVersion.php</b> 
on line <b>349</b><br />

Code in line 349 is

for( $content = end( $array ); $content !== false; $content = prev( 
$array ) ) {
			


Warning:  Invalid argument supplied for foreach() in 
<b>/home/users/web6411/html/3jays.me.uk/adults_policies/includes/Parser.php</b> 
on line <b>534</b><br />

Code for 534 is

foreach( $contentDict as $uniq => $content ) {


(Both are in pass nowiki content functions

Thanks

John

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list