* Do not change the existing data, just add a new database row
*/
public static function provideUploadLogDatabaseRows() {
* Do not change the existing data, just add a new database row
*/
public static function provideUploadLogDatabaseRows() {
* Do not change the existing data, just add a new database row
*/
public static function provideInterwikiLogDatabaseRows() {
* Do not change the existing data, just add a new database row
*/
public static function provideInterwikiLogDatabaseRows() {
*/
public function testInterwikiLogDatabaseRows( $row, $extra ) {
// Setup importiw: as interwiki prefix
*/
public function testInterwikiLogDatabaseRows( $row, $extra ) {
// Setup importiw: as interwiki prefix
- $this->setMwGlobals( 'wgHooks', array(
- 'InterwikiLoadPrefix' => array(
+ $this->setMwGlobals( 'wgHooks', [
+ 'InterwikiLoadPrefix' => [
function ( $prefix, &$data ) {
if ( $prefix == 'importiw' ) {
function ( $prefix, &$data ) {
if ( $prefix == 'importiw' ) {