Fix regression with old wiki image uploads

Merged Francisco Javier López requested to merge fj-fix-regression-old-uploads into master

What does this MR do?

In !48763 (merged), we introduced a regression that makes old wiki uploads links unavailable because the project namespace was not set. This means that, for example, all images in the wiki will 404.

Images were added as regular uploads until 11.3, so a lot of wikis can be affected.

Refs #300120 (closed)


Before the fix


After the fix


Does this MR meet the acceptance criteria?


Edited by Francisco Javier López