Closed freephile closed 4 years ago
Replace DB_SLAVE with DB_REPLICA since the former constant has been removed.
I should have added backward compatibility with MediaWiki < 1.28 with this in the execute method:
// Backward compatibility for MW < 1.28. if ( !defined( 'DB_REPLICA' ) ) { define( 'DB_REPLICA', DB_SLAVE ); }
Everything below 1.31 is considered obsolete. I'm good without the backward compatibility.
Replace DB_SLAVE with DB_REPLICA since the former constant has been removed.
I should have added backward compatibility with MediaWiki < 1.28 with this in the execute method: