This relates to a previous question.
What is the proper way to include $wgDBprefix in the sql or hook function so that when tables are created or updated on LoadExtensionSchemaUpdates, the created table names start with the value of $wgDBprefix ?
Webmasters Stack Exchange is a question and answer site for webmasters. It only takes a minute to sign up.Sign up to join this community
In the SQL code,
/*_*/ will be replaced with the prefix. For the table name parameter passed to the hook function, replacement will be handled automatically (but that is only used to determine whether the patchfile needs to be executed).
I've updated the patchfile documentation a bit, you can find further details there.