I am trying to update Mediawiki 1.23.1 to 1.23.2 using the released patch file. My PHP version is 5.3.3, MySQL is 5.1.73 and OS is CentOS 6.5. I Gunzip'd the patch file and moved it into the Mediawiki main folder and did a dry run, and below shows the error I am getting. There is no tests folder in my wiki folder, so I'm not sure where I am supposed to get those from.
wiki>patch -p1 --dry-run < mediawiki-1.23.2.patch patching file includes/api/ApiFormatJson.php patching file includes/db/DatabasePostgres.php patching file includes/DefaultSettings.php patching file includes/ImagePage.php patching file includes/OutputPage.php patching file includes/parser/ParserOutput.php patching file includes/Preferences.php patching file includes/SiteStats.php patching file maintenance/initSiteStats.php patching file RELEASE-NOTES-1.23 patching file resources/Resources.php patching file resources/src/mediawiki.page/mediawiki.page.image.pagination.js can't find file to patch at input line 276 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nruw -x messages -x '*.png' -x '*.jpg' -x '*.xcf' -x '*.gif' -x '*.svg' -x '*.tiff' -x '*.zip' -x '*.xmp' -x '.git*' mediawiki-1.23.1/tests/phpunit/includes/api/format/ApiFormatJsonTest.php mediawiki-1.23.2/tests/phpunit/includes/api/format/ApiFormatJsonTest.php |--- mediawiki-1.23.1/tests/phpunit/includes/api/format/ApiFormatJsonTest.php 2014-07-30 19:29:15.619144417 +0000 |+++ mediawiki-1.23.2/tests/phpunit/includes/api/format/ApiFormatJsonTest.php 2014-07-30 19:24:41.560514483 +0000 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored