Module:File/tests/all
لاسوند لپاره ددې موډيول کېدای سی په Module:File/tests/all/لاسوند کي وي
return {
{
typeOfFileName = 'Xtra-Long file name with upper case file extension',
fileName = 'Princess Alexandra of Denmark (later Queen Alexandra, wife of Edward VII) with her two eldest sons, Prince Albert Victor (Eddy) and George Frederick Ernest Albert (later George V).JPG',
extension = 'jpg',
extensionUpper = 'JPG',
woExtension = 'Princess Alexandra of Denmark (later Queen Alexandra, wife of Edward VII) with her two eldest sons, Prince Albert Victor (Eddy) and George Frederick Ernest Albert (later George V)',
mime = 'image/jpeg',
maxthumbIsNumber = false
},
{
typeOfFileName = 'Existing file with some dots (.) and quotation marks (") in its name',
fileName = '" onmouseover="alert(\'There is a security vulnerable. Please contact the next admin.\')" target=".png',
extension = 'png',
extensionUpper = 'PNG',
woExtension = '" onmouseover="alert(\'There is a security vulnerable. Please contact the next admin.\')" target="',
mime = 'image/png',
maxthumbIsNumber = true,
dateWorkCreated = '2011-11-18'
},
{
typeOfFileName = 'File title missing extension',
fileName = 'Something created justaspage butnotuploaded',
extension = 'something created justaspage butnotuploaded',
extensionUpper = 'SOMETHING CREATED JUSTASPAGE BUTNOTUPLOADED',
woExtension = 'Something created justaspage butnotuploaded',
mime = 'unknown',
maxthumbIsNumber = false
}
}