www/mediawiki14{3,4,5}: Fix: every upgrade breaks the cache folder ownership
On port/package install or upgrade, the ownership of the cache folder
is reset to root:wheel which does not let the application work if php
server runs under user www, which is the default and recommended
behaviour.
PR: 291912
Approved by: wen (maintainer, timeout 3 weeks)
MFH: 2026Q1
(cherry picked from commit 2b262c37081d08b479bf8ef6ee8cf024947ec344)