Hi,
I have been planning and starting to implement a few of my own extensions.
Having read through relevant manuals and documentation located at
mediawiki.org, wanted to clarify a two things:
1. When using startAtomic()/endAtomic() or begin()/commit() pairs, I
understand that these will commit changes but does that automatically close
the connection to the wiki database *$dbr = wfGetDB();* or am I required to
close that connection with $dbr->close()?
2. Is it recommended to use foreign keys to the existing User table instead
of creating a new table column? Concerned that Extensions
AbuseFilter/RenameUser/UserMerge, could corrupt or cause failure.
Thanks,
Kevin
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I have been planning and starting to implement a few of my own extensions.
Having read through relevant manuals and documentation located at
mediawiki.org, wanted to clarify a two things:
1. When using startAtomic()/endAtomic() or begin()/commit() pairs, I
understand that these will commit changes but does that automatically close
the connection to the wiki database *$dbr = wfGetDB();* or am I required to
close that connection with $dbr->close()?
2. Is it recommended to use foreign keys to the existing User table instead
of creating a new table column? Concerned that Extensions
AbuseFilter/RenameUser/UserMerge, could corrupt or cause failure.
Thanks,
Kevin
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l