Template talk:BadJPEG

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Info non-talk.svg Template:BadJPEG has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.

En Version[edit]

The english wikipedia version of this looks nicer. Additionaly, this template needs translations so people who don't speak english know what to do. -Aknorals 01:32, 14 August 2006 (UTC)


Badjpeg.jpg makes the point quite clear what's the template is all about, but I don't have sufficient rights to edit the template. Matt (talk) 19:40, 21 August 2009 (UTC)

✓ Done (Next time, use {{editprotected}} to request a change to a protected page.) --Mormegil (talk) 10:34, 23 August 2009 (UTC)

No JPG.svg What do you think about this new icon? Its more similar to others and uniformity in most browsers in contrast to the current image. (Or maybe implement both images?) --Perhelion (talk) 15:30, 25 June 2010 (UTC)

I kind of like the current one, but I'm no designer. Might want to ask in a wider forum. Dcoetzee (talk) 15:34, 25 June 2010 (UTC)
I really don't like using both images as below though... Dcoetzee (talk)
Ok, another idea: the forbidden pictogram with the current image?! --Perhelion (talk) 07:23, 26 June 2010 (UTC)


New text partial from current en:Template:BadJPEG


— Preceding unsigned comment added by Perhelion (talk • contribs) 18:00, 2010 June 25 (UTC)

If the template was used only on images as bad as the sample (File:Badjpeg.jpg), this might be a good idea, but many images in Category:Images with inappropriate JPEG compression aren't that bad and can easily live without all the overhead of changing them. In their context, the suggested addition of a "no-jpg" logo may easily be misunderstood.

As we had some major problems with this type of conversion in the past, I'm not really convinced that the suggested update doesn't bring that back. -- User:Docu at 09:28, 26 June 2010 (UTC)

 Not done Agreed with Docu, the “JPEGs are forbidden” pictogram is not a good idea. If you can convince some other people (and an admin to make the change), then maybe. But until then, I’ve removed the editprotected request nobody wanted to fulfill. --Mormegil (talk) 13:11, 24 July 2010 (UTC)

Differences in linguistic versions...[edit]

I think we may have a problem. The:

  • de
  • sp
  • fr
  • pt
  • pt-br
  • ru

verions are all adding non existant procedures that does not exist in the english version. That jpeg image should be replaced and listed to Deletion Request, which is a bit different from what the en documentation say. (Please note that the en documentation is not the en version.) Esby (talk) 13:36, 22 January 2011 (UTC) I think the english version changed but not their counterparts... Esby (talk) 13:40, 22 January 2011 (UTC)

Because: The "real" en version ("tag the JPEG version with {{obsolete|NewImage.ext}}, and remove this tag. For more information, see Wikipedia:Preparing images for upload.") says (nearly) the same as the other language here and the Commons police says here ("Once done, mark the old image with a {{superseded}} tag.") I mean that sentence should also stay here, with {{superseded}} (what is redirected from obsolete) instead {{delete}}!? --Perhelion (talk) 18:56, 22 January 2011 (UTC)
✓ Done More info added, more specific, corresponding to English Template + policy link in doc. --Perhelion (talk) 17:19, 24 January 2011 (UTC)

I'm not sure whether the (usage) instructions, are here or in the template self? Seems a bit unconventional, but it can also not care. -- πϵρᶥήλίο»℗› 17:48, 12 July 2011 (UTC)

Edit request to add mistagged images to category[edit]

{{edit protected}} Please add the following text immediately after {{#ifeq:{{NAMESPACE}}|File|:

{{#switch:{{lc:{{Str right|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}}}}-4}}}}}}|.jpg|jpeg=|#default=[[Category:Files incorrectly marked as BadJPEG]]}}
✓ Done Rd232 (talk) 23:13, 15 October 2012 (UTC)
Hum, there are some jpegs in Category:Files incorrectly marked as BadJPEG - maybe because the names are too long?? Rd232 (talk) 23:15, 15 October 2012 (UTC)

Odd; looks like the template maxes out at 100 characters. Maybe I could work on a new piece of logic. Magog the Ogre (talk) (contribs) 01:22, 16 October 2012 (UTC)

{{edit protected}} OK, attempt #2:

{{#switch:{{lc:{{Str sub very long|{{PAGENAME}}|{{#expr:{{str len|{{PAGENAME}}}}-4}}}|4}}}}|.jpg|jpeg=|#default=[[Category:Files incorrectly marked as BadJPEG]]}}

Magog the Ogre (talk) (contribs) 02:06, 16 October 2012 (UTC)

✓ Done Rd232 (talk) 10:38, 16 October 2012 (UTC)
Is this really necessary? Do we explain the user to stupid? Another waste, where's the ratio? -- πϵρήλιο 10:12, 16 October 2012 (UTC)
The contents of Category:Files incorrectly marked as BadJPEG when I first did the edit (c 30 files AFAIR) gives some answer... as to whether it's worth the server cost of doing it on every BadJPEG - who can say? Rd232 (talk) 10:37, 16 October 2012 (UTC)

OK, well I goofed up on the above code (an extra } after -4). Anyway, I already got all the files, so if you want to undo it, feel free. Magog the Ogre (talk) (contribs) 12:17, 16 October 2012 (UTC)

Ok then the ratio was, ~3842 : 30, what is under 0,8%. Then theoretically we no longer need this!? -- πϵρήλιο 12:33, 16 October 2012 (UTC)
OK, removed. I guess this is something that could be re-added temporarily once in a while. At least we know the problems are not widespread. Rd232 (talk) 22:36, 16 October 2012 (UTC)


{{Edit request}} The appositive phrase "However," at the beginning of the second sentence of the template, should be removed or possibly replaced with something like "As such,". TortoiseWrath (talk) 01:51, 18 February 2013 (UTC)

The phrase is transcluded from an unprotected page, Template:BadJPEG/en. Could you edit it by yourself? Being a nonnative of English, I'm hesitant to do it. --whym (talk) 11:13, 24 February 2013 (UTC)
It is done. I hadn't seen that that page was not protected. Thank you. TortoiseWrath (talk) 16:47, 3 March 2013 (UTC)