Jump to content

Topic on Extension talk:PageImages

Warning when running initImageData.php on MediaWiki 1.40

3
MikeDarling (talkcontribs)

I received the below warning when running initImageData.php. It seems to have worked fine, but a note should be added on the Configuration section explaining how to use maintenance/run.php (or if it's safe to simply ignore this warning).

C:\inetpub\wwwroot\mediawiki\extensions\PageImages\maintenance>php initImageData.php

*******************************************************************************

NOTE: Do not run maintenance scripts directly, use maintenance/run.php instead!

      Running scripts directly has been deprecated in MediaWiki 1.40.

      It may not work for some (or any) scripts in the future.

*******************************************************************************

35

done

I'm not sure if this needs to be updated in the extension code itself.

Jdforrester (WMF) (talkcontribs)

We should probably just hook the maintenance script up to update.php like most extensions do?

Jdforrester (WMF) (talkcontribs)
Reply to "Warning when running initImageData.php on MediaWiki 1.40"