aboutsummaryrefslogtreecommitdiffstats
path: root/includes/filerepo/AuthenticatedFileEntryPoint.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix img_auth message logicGergő Tisza2024-11-141-7/+3
| | | | | | | | | Do not pass arbitrary parameters to the generic message whose purpose is to hide details; parameters can be revealed with uselang=qqx. Change-Id: I6e239bc91db9089aea36e91908fe50b5a5a429d8 (cherry picked from commit c5a62853cc2ebc85cbcfcc932f78bc87657a5dc1)
* img_auth: Output lang and dir in HTTP and HTML on error messageFomafix2024-10-291-0/+5
| | | | | | | | | The messages in the output are in user interface language: curl -i -H 'Accept-Language: nl' http://localhost/mediawiki/img_auth.php Change-Id: Ie42af75b1adb1c77968d0f9b8be24c47cdbf05df (cherry picked from commit 180763bdfa3906539c752686fb4a5101593bdac8)
* Use namespaced classesUmherirrender2024-10-211-1/+1
| | | | | | | Changes to the use statements done automatically via script Addition of missing use statement done manually Change-Id: I73fb416573f5af600e529d224b5beb5d2e3d27d3
* filerepo: extract AuthenticatedFileEntryPoint from img_auth.phpdaniel2024-05-161-0/+234
The idea is that all entry points should share the code in the MediaWikiEntryPoint base class. This change just moves code from the file scope into a class, without any structural changes. Bug: T354216 Change-Id: Ie2e827d30a070bcc63bdce56891c3aa0a4dacddd