"Duplicatebug" posted a comment on MediaWiki.r98430. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98430#c29888
Commit summary for MediaWiki.r98430: (bug 30202) Restrict file names on upload to 240 bytes, because wfTimestamp( TS_MW ) . '!' . $fileName should fit in oi_archive_name, which is 255 bytes, and also the maximum file name length on many file systems is 255 bytes. Commit to fix UploadTest to use @dataProvider will follow Duplicatebug's comment: What is about file moves from shorter to longer names over 240 bytes? It is better to restrict that also. Someone with db connection can select all files now and add a section to the local village pump on each wiki. The local community can than fix this problem by moving the files (when the images are unused or bad quality, they should first move and than delete). After this revision is deployed that select should run a second time to find new uploaded files in the mean time. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
