Thread:Project:Support desk/Subpages and images

There was a problem with templates. On many pages, Wikipedia uses the substitution of the type, but the new installation MediaWiki gets a reference Template:/Subpage-name. How to fix that?

And yet, if the code page is the pictures Media Wiki does not save her, and throws an error:

internal Error Error setting curl options. Backtrace:
 * 1) 0 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/filerepo/ForeignAPIRepo.php(368): CurlHttpRequest->execute
 * 2) 1 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/filerepo/ForeignAPIRepo.php(155): ForeignAPIRepo::httpGet('http://commons....')
 * 3) 2 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/filerepo/ForeignAPIFile.php(35): ForeignAPIRepo->fetchImageQuery(Array)
 * 4) 3 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/filerepo/FileRepo.php(83): ForeignAPIFile::newFromTitle(Object(Title), Object(ForeignAPIRepo))
 * 5) 4 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/filerepo/ForeignAPIRepo.php(83): FileRepo->newFile(Array, Object(Title), Object(ForeignAPIRepo))
 * 6) 5 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/filerepo/FileRepo.php(118): ForeignAPIRepo->newFile(Object(Title), false)
 * 7) 6 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/filerepo/RepoGroup.php(145): FileRepo->findFile(Object(Title))
 * 8) 7 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/GlobalFunctions.php(3235): RepoGroup->findFile(Object(Title), Array)
 * 9) 8 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/parser/Parser.php(4581): wfFindFile
 * 10) 9 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/parser/Parser.php(1826): Parser->makeImage(Object(Title), Array)
 * 11) 10 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/parser/Parser.php(1566): Parser->replaceInternalLinks2(Object(Title), Array)
 * 12) 11 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/parser/Parser.php(1022): Parser->replaceInternalLinks(Object(Title), '', Object(LinkHolderArray))
 * 13) 12 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/parser/Parser.php(283): Parser->internalParse(false)
 * 14) 13 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/Article.php(3602): Parser->parse('[[File:Pages.im...')
 * 15) 14 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/Article.php(2114): Article->prepareTextForEdit('[[File:Pages.im...')
 * 16) 15 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/Article.php(1976): Article->doEdit('[[File:Pages.im...', Object(Title), Object(ParserOptions), true, true, NULL)
 * 17) 16 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/EditPage.php(1076): Article->updateArticle('[[File:Pages.im...')
 * 18) 17 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/EditPage.php(2656): EditPage->internalAttemptSave('[[File:Pages.im...', '', 98)
 * 19) 18 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/EditPage.php(415): EditPage->attemptSave('[[File:Pages.im...', , false, false, false, )
 * 20) 19 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/EditPage.php(296): EditPage->edit(false, false)
 * 21) 20 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/Wiki.php(522): EditPage->submit
 * 22) 21 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/includes/Wiki.php(69): MediaWiki->performAction
 * 23) 22 /ftp_aerium-01/hozfabrika_613/hozfabrika.gixx.ru/wiki/index.php(114): MediaWiki->performRequestForTitle
 * 24) 23 {main}

If you try to move to a non-existent article by introducing its name in the URL instead of the proposal to create it (as in Wikipedia) reacts as if it were not for the page itself - redirects to the error 404.