User talk:Danmichaelo/Archive 1

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Welcome to Wikimedia Commons, Danmichaelo!

Tip: Categorizing images[edit]

Afrikaans  العربية  беларуская (тарашкевіца)  বাংলা  català  čeština  dansk  Deutsch  Deutsch (Sie-Form)  Ελληνικά  English  Esperanto  español  فارسی  suomi  français  galego  עברית  magyar  íslenska  italiano  日本語  ქართული  한국어  македонски  മലയാളം  norsk bokmål  Plattdüütsch  Nederlands  norsk  polski  português  português do Brasil  română  русский  sicilianu  slovenčina  slovenščina  српски / srpski  svenska  Türkçe  українська  Tiếng Việt  中文(简体)‎  中文(繁體)‎  +/−


Hello, Danmichaelo!
Tip: Add categories to your files
Tip: Add categories to your files

Thanks a lot for contributing to the Wikimedia Commons! Here's a tip to make your uploads more useful: Why not add some categories to describe them? This will help more people to find and use them.

Here's how:

1) If you're using the UploadWizard, you can add categories to each file when you describe it. Just click "more options" for the file and add the categories which make sense:

2) You can also pick the file from your list of uploads, edit the file description page, and manually add the category code at the end of the page.

[[Category:Category name]]

For example, if you are uploading a diagram showing the orbits of comets, you add the following code:

[[Category:Astronomical diagrams]]
[[Category:Comets]]

This will make the diagram show up in the categories "Astronomical diagrams" and "Comets".

When picking categories, try to choose a specific category ("Astronomical diagrams") over a generic one ("Illustrations").

Thanks again for your uploads! More information about categorization can be found in Commons:Categories, and don't hesitate to leave a note on the help desk.

CategorizationBot (talk) 10:50, 9 June 2011 (UTC)[reply]

Congratulations! Bot task was approved. --EugeneZelenko (talk) 14:43, 10 July 2012 (UTC)[reply]

dansk  italiano  sicilianu  Deutsch  català  magyar  čeština  português do Brasil  Esperanto  español  português  English  hrvatski  français  Nederlands  Deutsch (Sie-Form)‎  norsk nynorsk  polski  galego  íslenska  slovenščina  suomi  svenska  Türkçe  Ελληνικά  беларуская (тарашкевіца)‎  български  македонски  русский  українська  മലയാളം  日本語  中文(简体)‎  中文(繁體)‎  فارسی  +/−


There seems to be a problem regarding the description and/or licensing of this particular file. It has been found that you've added in the image's description only a Template that's not a license and although it provides useful information about the image, it's not a valid license. Could you please resolve this problem, adding the license in the image linked above? You can edit the description page and change the text. Uploading a new version of the file does not change the description of the file. This page may give you more hints on which license to choose. Thank you.

This message was added automatically by Nikbot, if you need some help about it please read the text above again and follow the links in it, if you still need help ask at the ? Commons:Help desk in any language you like to use. --Nikbot 22:54, 24 July 2012 (UTC)


dansk  italiano  sicilianu  Deutsch  català  magyar  čeština  português do Brasil  Esperanto  español  português  English  hrvatski  français  Nederlands  Deutsch (Sie-Form)‎  norsk nynorsk  polski  galego  íslenska  slovenščina  suomi  svenska  Türkçe  Ελληνικά  беларуская (тарашкевіца)‎  български  македонски  русский  українська  മലയാളം  日本語  中文(简体)‎  中文(繁體)‎  فارسی  +/−


There seems to be a problem regarding the description and/or licensing of this particular file. It has been found that you've added in the image's description only a Template that's not a license and although it provides useful information about the image, it's not a valid license. Could you please resolve this problem, adding the license in the image linked above? You can edit the description page and change the text. Uploading a new version of the file does not change the description of the file. This page may give you more hints on which license to choose. Thank you.

This message was added automatically by Nikbot, if you need some help about it please read the text above again and follow the links in it, if you still need help ask at the ? Commons:Help desk in any language you like to use. --Nikbot 22:54, 24 July 2012 (UTC)

Autopatrol given[edit]

Hello. I just wanted to let you know that I have granted autopatrol rights to your account; the reason for this is that I believe you are sufficiently trustworthy and experienced to have your contributions automatically marked as "reviewed". This has no effect on your editing, it is simply intended to make it easier for users that are monitoring Recent changes or Recent uploads to find unproductive edits amidst the productive ones like yours. In addition, the Flickr upload feature and an increased number of batch-uploads in UploadWizard, uploading of freely licensed MP3 files, overwriting files uploaded by others and an increased limit for page renames per minute are now available to you. Thank you. -- Rillke(q?) 20:13, 23 September 2012 (UTC)[reply]

Folkelivsbilleder[edit]

Å, så flott! Jeg så hva du har skrevet på diskusjonssiden min på nowp. Det gjør ingenting at du hadde glemt det...ler. Jeg holder på inne på Wikibooks for tiden. Der er det bl.a. en kokebok (!) hvor det ikke har blitt gjort noe på noen år. Jeg har laget ny forside til den, holder på med kategorisering osv. Synes det er litt synd at det bare ligger der uten å bli brukt. Det ligger også sider på Wikibooks som skulle vært slettet for flere år siden. Jeg har spurt Jon Harald for et par dager siden om han kan gi meg sysop-rettigheter der. Det er fire admins, men ingen aktive. jaja.. nå prater jeg meg bort. Ler.. Mvh.--Anne-Sophie Ofrim (talk) 18:41, 2 November 2012 (UTC)[reply]

Aha, kokebok ja. Husker jeg tenkte vi burde hatt en wikikokebok da jeg leste om wikitravel wikivoyage. Egentlig skulle man tro det kunne funke veldig godt som wikisamarbeidsprosjekt, det er jo en haug med folk som legger inn oppskrifter på nettet, på egne blogger o.l. Det er etellerannet med wikibooks jeg ikke har blitt helt komfortabel med, kanskje noe med at det på en måte en samling av wikier, men med felles navigasjon som ikke kan tilpasses den enkelte, hver bok får ikke noe særpreg. Et eget wikikokebokprosjekt hadde vært moro! Men så er det jo veldig mye dårlig og uferdig innhold på wikibooks, så det kan være det hjelper å rydde litt. Navigasjonen kan kanskje ordnes på med gode navigasjonsmaler. Får ta en titt og se om jeg kan finne noe å lage til middag i dag :) – Danmichaelo (δ) 11:16, 3 November 2012 (UTC)[reply]

Instead they are equivalent. The template user Wikipedia admin is completely internationalized.

English Wikipedia
This user is an administrator on the English Wikipedia. (verify)
French Wikipedia
This user is an administrator on the French Wikipedia. (verify)
Norwegian Wikipedia
This user is an administrator on the Norwegian Wikipedia. (verify)
...etc...

Simply enter the iso code of the wiki!

Example of usage in a babelbox
This user is an administrator on the French Wikipedia. (verify)
This user has rollback rights on the German Wikipedia. (verify)
This user has file mover rights on the English Wikipedia. (verify)


You can use this template between {{Boxboxtop}} and {{Boxboxbottom}}. Greetings! :-) --79.36.143.229 21:54, 14 November 2012 (UTC)[reply]

You see, the reason I didn't use {{User Wikipedia admin|no}} directly is because you can't use user boxes-with-parameters with the Babel extension, which I'm trying to stick to (perhaps I have to leave it eventually, but that's a pity, since it provides clean syntax). – Danmichaelo (δ) 22:19, 14 November 2012 (UTC)[reply]
Template:PD-Norway has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this template, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

Liliana-60 (talk) 21:22, 18 November 2012 (UTC)[reply]

Notification about possible deletion[edit]

Some contents have been listed at Commons:Deletion requests so that the community can discuss whether they should be kept or not. We would appreciate it if you could go to voice your opinion about this at their entry.

If you created these pages, please note that the fact that they have been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with them, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

Affected:

Martin H. (talk) 22:15, 2 December 2012 (UTC)[reply]

Oslobilder[edit]

Hei! Det er et eller annet med template oslobilder som ikke fungerer når det gjelder bilder fra Teknisk museum og som er fra DEXTRA Photo. Hvis du ser på bildene i kategorien Hand-colored photographs by Anders Beer Wilse kan du se at lenken fører til Raptor not found selv om bildene fremdeles ligger på Oslobilder. Er det noe jeg gjør feil eller er det noe som må endres i malen? Mvh.--Anne-Sophie Ofrim (talk) 17:24, 7 December 2012 (UTC)[reply]

Meget interessant – de har altså KFS som en egen kode for DEXTRA Photo-"samlingen" (merk at "DEXTRA Photo" står under "Eierinstitusjon", ikke "Arkiv/Samling", noe som trolig er årsaken til at det er en egen kode). Nå ble jeg veldig nysgjerrig på hva i granskauen KFS kan stå for... velvel, har ihvertfall lagt til støtte for det i malen og på toolserver. Dette kan jo bety at det finnes andre eksotiske koder også – gi gjerne beskjed hvis du kommer over flere! – Danmichaelo (δ) 00:21, 8 December 2012 (UTC)[reply]
Forresten, det kan se ut som mange av DEXTRA Photo-bildene er merket med CC-BY-NC-SA... altså non-commercial... også noen av de du har overført. Dette er forøvrig et av problemene jeg håper å løse med verktøyet mitt for overføring, ved at det automatisk skal sjekke lisensen. Verktøyet er ikke akkurat produksjonsklart, det har kommet så mye annet i veien min de siste ukene, men det er såpass ferdig at det fint går an å teste ut. – Danmichaelo (δ) 00:31, 8 December 2012 (UTC)[reply]
Tusen takk skal du ha for hjelp! Ja ser det med lisensen nå, veldig slurvete av meg. Jeg skal prøve verktøyet ditt. Ha en fin lørdag! Mvh.--Anne-Sophie Ofrim (talk) 08:44, 8 December 2012 (UTC)[reply]

Funker veldig bra!--Anne-Sophie Ofrim (talk) 08:59, 8 December 2012 (UTC)[reply]

Jeg har lastet opp mange bilder med verktøyet. Ser du har gjort forbedringer i dag. Et av bildene jeg lastet opp i dag er litt snodig, se på http://commons.wikimedia.org/wiki/File:Christian_VI_OB.00118.jpg Her ligger både kilde og år mm slik det skal i malen, men det står at kilde mangler. Mvh.--Anne-Sophie Ofrim (talk) 13:08, 9 December 2012 (UTC)[reply]
Ble nesten flau her nå. Ser hva du fjernet, takk skal du ha. Mvh.--Anne-Sophie Ofrim (talk) 13:33, 9 December 2012 (UTC)[reply]
Ikke noe problem, jeg tror programmere utvikler en særskilt evne til å finne matchende parenteser av ulike slag :) Bra at det funker forresten! Hvis det plutselig ikke skulle funke er det antakelig fordi jeg jobber med noe, men gi gjerne beskjed om du kommer over andre problemer, spesielt informasjon som ikke kommer med. Det er ganske mye variasjon i hvordan informasjonen oppgis for ulike bilder, så det er antakelig ting og tang jeg ikke har tatt høyde for enda. – Danmichaelo (δ) 13:39, 9 December 2012 (UTC)[reply]

Jeg er veldig fornøyd med dette verktøyet. Kanskje du bør fortelle om det på Tinget her + på Torget på Wikipedia slik at flere kan bruke det? Mvh.--Anne-Sophie Ofrim (talk) 10:54, 11 December 2012 (UTC)[reply]

Ja, har planlagt det, tenkte bare det var lurt å gjøre litt begrenset testing først, og i mellomtiden ble jeg litt oppslukt av et annet prosjekt også :) – Danmichaelo (δ) 15:37, 11 December 2012 (UTC)[reply]

Hei igjen. Du har foretatt et par endringer i malen som jeg ikke synes om. Tidligere lå det et felt under bildet hvor man kunne legge til kategorier, det er borte. I tillegg kommer det opp et nytt vindu når man skal laste opp, slik var det ikke tidligere. Kan du endre dette tilbake? Mvh.--Anne-Sophie Ofrim (talk) 10:24, 14 December 2012 (UTC)[reply]

Det kan jeg fikse. Drev og testet litt ift. å få med forslag til filnavn i går. Da var det praktisk med nytt vindu, men glemte å stille det tilbake. Hvis kategorivelgeren ikke kommer opp er det en utilsiktet bug. – Danmichaelo (δ) 12:12, 14 December 2012 (UTC)[reply]

Arkitekter[edit]

Hei! Jeg ser at en bruker har satt inn beskjed på Category:Ove Bang om at bilder av arkitekten ikke skal lastes opp. Hva gjør vi med det? Bare fjerner merket, det er jo feil når det gjelder norske forhold. Mvh.--Anne-Sophie Ofrim (talk) 23:50, 2 January 2013 (UTC)[reply]

Nei, jeg tror egentlig ikke vi kan det. Commons krever jo at verk skal være frie både i «kildelandet» (Norge) og i USA, såvidt jeg har forstått fordi serverne ligger der -- og mange verk vil ikke være frie i USA pga. den (idiotiske) Uruguay-runden. Antakelig må vi derfor laste opp slike bilder til nowp istedet, men det er i grunnen merkelig at det skal være mer ok, siden serverne til nowp og commons strengt tatt befinner seg på samme sted :P – Danmichaelo (δ) 14:57, 3 January 2013 (UTC)[reply]

Picture of the Year voting round 1 open[edit]

Dear Wikimedians,

Wikimedia Commons is happy to announce that the 2012 Picture of the Year competition is now open. We're interested in your opinion as to which images qualify to be the Picture of the Year for 2012. Voting is open to established Wikimedia users who meet the following criteria:

  1. Users must have an account, at any Wikimedia project, which was registered before Tue, 01 Jan 2013 00:00:00 +0000 [UTC].
  2. This user account must have more than 75 edits on any single Wikimedia project before Tue, 01 Jan 2013 00:00:00 +0000 [UTC]. Please check your account eligibility at the POTY 2012 Contest Eligibility tool.
  3. Users must vote with an account meeting the above requirements either on Commons or another SUL-related Wikimedia project (for other Wikimedia projects, the account must be attached to the user's Commons account through SUL).

Hundreds of images that have been rated Featured Pictures by the international Wikimedia Commons community in the past year are all entered in this competition. From professional animal and plant shots to breathtaking panoramas and skylines, restorations of historically relevant images, images portraying the world's best architecture, maps, emblems, diagrams created with the most modern technology, and impressive human portraits, Commons features pictures of all flavors.

For your convenience, we have sorted the images into topic categories. Two rounds of voting will be held: In the first round, you can vote for as many images as you like. The first round category winners and the top ten overall will then make it to the final. In the final round, when a limited number of images are left, you must decide on the one image that you want to become the Picture of the Year.

To see the candidate images just go to the POTY 2012 page on Wikimedia Commons

Wikimedia Commons celebrates our featured images of 2012 with this contest. Your votes decide the Picture of the Year, so remember to vote in the first round by January 30, 2013.

Thanks,
the Wikimedia Commons Picture of the Year committee


Delivered by Orbot1 (talk) at 09:04, 19 January 2013 (UTC) - you are receiving this message because you voted last year[reply]

Dig.Mus.[edit]

Hei. Hva gjør vi med sånt som dette? http://commons.wikimedia.org/wiki/File:ChristianVII_as_achild.jpg Det står at bildet er fra Digitalt Museum/Oslo Museum, men på Digitalt Museum fremgår det at det tilhører Folkemuseet og bildet er tatt av Anne-Lise Reinsfeldt. http://www.digitaltmuseum.no/things/maleri/NF/NF.2000-1736 Museet har ikke lagt det ut med en lisens vi kan bruke på Commons. Mvh.--Anne-Sophie Ofrim (talk) 20:26, 16 February 2013 (UTC)[reply]

Noen ville nok ment at vi burde følge museets merking 100 %, men jeg synes fint vi kan bruke PD-art i slike tilfeller (Commons:When to use the PD-Art tag). Jeg synes også generelt det virker som det er lite som er merket med PD på DigitaltMuseum, så det kan jo være noe de bare ikke helt har prioritert. Men vi bør selvsagt uansett kreditere fotografen og ha med lenke til kilden, noe jeg la inn. – Danmichaelo (δ) 09:06, 17 February 2013 (UTC)[reply]
Den er grei. Jeg er nok preget av å ha jobbet 25 år som byråkrat og tenker sikkert veldig firkantet. Fint med et annet blikk på ting. Takk skal du ha. Mvh.Anne-Sophie Ofrim (talk) 12:43, 17 February 2013 (UTC)[reply]
Hei! Er det mulig å legge til Larvik Museum i malen for DigitaltMuseum? De bruker koden LAR. Jeg har opprettet kategorien Category:Media from the collection of Larvik Museum. Mvh.--Anne-Sophie Ofrim (talk) 10:07, 28 February 2013 (UTC)[reply]
Lagt inn med autokategorisering i Category:Media from the collection of Larvik Museum. Målet på sikt er å få støtte for alle institusjonene, men jeg håper egentlig å få det til slik at malen fungerer på samme måte som OsloMuseum, dvs. at man bare trenger å oppgi institusjonskode og id, ikke måtte ha med "|thing=....", som ofte er et ganske meningsløst stykke informasjon. – Danmichaelo (δ) 12:20, 28 February 2013 (UTC)[reply]
Ler...ja. Takk skal du ha for fiksing. Mvh.--Anne-Sophie Ofrim (talk) 19:34, 28 February 2013 (UTC)[reply]

Hei! Kunne du sette inn SKU for Saviomuseet også? Jeg har opprettet kategorien Media from the collection of Saviomuseet Mvh.--Anne-Sophie Ofrim (talk) 20:17, 10 April 2013 (UTC)[reply]

(redigeringskonflikt) [1] og [2] og [3] og der var den. Legg forresten gjerne ved lenke til kategorien neste gang, så slipper jeg å sjekke om det finnes en kategori eller ikke Der kom den jo  :) – Danmichaelo (δ) 20:57, 10 April 2013 (UTC)[reply]
Takk. Mvh.--Anne-Sophie Ofrim (talk) 06:11, 11 April 2013 (UTC)[reply]
File:Men montage.jpg has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this file, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

JKadavoor Jee 11:04, 14 October 2013 (UTC)[reply]

Great idea to create an alternate but it also fails. first it can't read the '_' (underscores) in image names and after cropping, doesn't upload to commons, i get "Upload failed!"...sorry..--Stemoc (talk) 04:35, 30 October 2013 (UTC)[reply]

Whoops, I should have added a warning since it's not really expected to work yet :) While I think the code is mostly complete, I ran out of time at some point. I'll see if I can wrap it up this weekend and let you know. – Danmichaelo (δ) 09:20, 30 October 2013 (UTC)[reply]
Stemoc, feel free to try the tool now. I've done some updates and added OAuth. Note that I've updated the code at CropTool – seems like the trailing slash in the url is important. – Danmichaelo (δ) 21:57, 27 November 2013 (UTC)[reply]
Currently, I do not need to crop anything cause i mainly crop pics i upload via flickr and since they updated flickr, finding the right licenced image is pretty much close to impossible..but thanks, may try it in the near future..--Stemoc (talk) 01:05, 28 November 2013 (UTC)[reply]
After using it for the last 2 months, I give it a BIG THUMBS UP..the best feature is allowing the user to upload it instead of the bot doing it, wish cropbot had that feature, hard to keep tags of images I "manipulated"...now if you can come up with a bot that can do a similar thing as the Magnus flickr bot by uploading files directly from flickr (instead of it being done by a bot), that would be awesome :D ..--Stemoc (talk) 05:29, 20 January 2014 (UTC)[reply]

Hello, world[edit]

This message was posted using the OAuth Hello World application, and should be seen as coming from yourself. To revoke this application's access to your account, visit mw:Special:OAuthManageMyGrants. – Danmichaelo (δ) 22:42, 24 November 2013 (UTC)[reply]

Eidsvoll 1814[edit]

Hei! Kunne du ta en kikk på DigitaltMuseum- malen igjen? Jeg prøvde for en stund siden å legge til Eidsvoll 1814 her, men det fungerte ikke så jeg fjernet det igjen. Mvh.--Anne-Sophie Ofrim (talk) 07:31, 3 December 2013 (UTC)[reply]

Supert, helt riktig det! Det er bare at det også må legges inn i en mal til (som jeg forresten må få omdøpt fra oslobilder til digitalt museum). – Danmichaelo (δ) 16:10, 4 December 2013 (UTC)[reply]
Det fungerer ikke, beklager. ;-) Mvh.--Anne-Sophie Ofrim (talk) 16:33, 4 December 2013 (UTC)[reply]
Haha, tenkte jeg skulle teste, men så ble jeg avbrutt og glemte det – bra du sier fra :) sånn! – Danmichaelo (δ) 18:15, 4 December 2013 (UTC)[reply]

A barnstar for you![edit]

The Brilliant Idea Barnstar
Thanks for CropTool! It's really a nice example use of OAuth to provide easy access to powerful tools for Commons users. Eloquence (talk) 02:59, 9 December 2013 (UTC)[reply]

Cool, thanks :) – Danmichaelo (δ) 08:41, 9 December 2013 (UTC)[reply]

+1, Thanks for CropTool! --Steinsplitter (talk) 16:49, 9 December 2013 (UTC)[reply]

About CropTool[edit]

Great!

As soon as you'll expand the tool for .jpg images coming from multipage djvu/pdf files .... such a tool will be extremely useful for wikisource projects! I can't wait for this - please post any notice about into wikisource-l too.

Into it.source, we recently developed a temporary tool doing a "pseudo-cropping" of page images, it allows to show into a box part of the page image (as a jpg thumb from djvu file) optuionally resized. It comes form an idea of George Orwell III into en.source: en:s:Template:FreedImg. Our it.source tool saves exact coordinates of area to be cropped into the page into the parameter of a template, so that perhaps the conversion pseudo-cropping->real cropping could be highly automatized. Take a look to gadget "Ritaglio immagini" into it.source and to related it:s:Template:Ritaglio. --Alex_brollo Talk|Contrib 16:18, 9 December 2013 (UTC)[reply]

Glad you like it! The pseudocropping is an interesting approach, it probably allows for doing cropping work much faster than with my tool. And as such, I'm not sure if you would really benefit from my tool? Also, I have no idea of how to work with multi page files.. Having a bot doing automated hard cropping based on the coordinates, however, sound like a cool thing to do, and very much possible, but that's an entirely different project (I hardly think any code from CropTool could be used in it). – Danmichaelo (δ) 15:53, 10 December 2013 (UTC)[reply]
If you like to do some test, we are just working on book with good images: File:Avventure di Robinson Crusoe.djvu where pseudo-cropping has been largely used. Now, the file is a djvu but usable images are jpg obviously: this from page 715. I guess I can't help you abouts scripts, I'm a very rough and layman "programmer", but I guess that it would not be impossibile to crop jpg thumbs with your tool. --Alex_brollo Talk|Contrib 07:48, 11 December 2013 (UTC)[reply]

Template:DigitaltMuseum[edit]

Jeg forsøkte å legge inn Norsk Maritimt Museum, men kom ikke helt i mål (navnet på museet og tilhørende kategori mangler, se File:Benjamin_Franklin_(NSM.2102-055).jpg). Kan du fikse det og ev. forklare meg hva jeg har gjort galt? - 4ing (talk) 11:37, 16 December 2013 (UTC)[reply]

Det er litt mer tungvint å legge inn nye institusjoner enn det burde være.. Håper jeg får forenklet det etterhvert. Men nå har jeg ihvertfall laget en oppskrift nederst på Template:DigitaltMuseum. Legg også merke til at koden for museet er NSM, ikke NMM. Dette ser man f.eks. i inventarnummeret under bildet (NSM.2100-224). – Danmichaelo (δ) 14:38, 16 December 2013 (UTC)[reply]
Takk skal du ha! Da skal jeg se om jeg klarer å lege inn Hvalfangstmuseet... - 4ing (talk) 20:20, 16 December 2013 (UTC)[reply]
Jeg får ikke den eksterne lenken til kilden til å fungere - kan det være skråstreken i inventarnumemret som lager krøll? Se File:Thorvard whale catcher (NTM 86--2-2018).jpg - 4ing (talk) 21:08, 7 January 2014 (UTC)[reply]
Nei, det var faktisk mellomrommet.. Merkelig greie å inkludere "NTM " i inventarnummeret, men nå har jeg ihvertfall fått fikset malen slik at den takler mellomrom. I tillegg må du passe på å få med riktig "ting" fra URL-en, i dette tilfellet "eksterir-hvalfangstskipet-ds-thorvard-senere". Det er litt tungvint at man må legge inn dette, men foreløpig er det dessverre nødvendig.. Jeg hadde/har en plan om å hente ut informasjonen automatisk fra API-et til DigitaltMuseum, men det er skikkelig dårlig dokumentert, og da jeg fikk en kryptisk feilmelding tok det en måned før jeg fikk svar fra KulturIT at feilen skyldtes at ikke alle bildene er tilgjengelige fra API-et... noe som ikke står skrevet noe sted.. Så! Det var dagens syting ;) – Danmichaelo (δ) 09:17, 8 January 2014 (UTC)[reply]
Takk for hjelpen. Det er kanskje DigitaltMuseums "feil" at den eksterne lenken fungerer i File:Neptune_whale_catcher_(NSM.000338).jpg, selv om det også der feilaktig er lagt inn thing=bilde? For øvrig står det i maldokumentasjonen at denne parameteren er valgfri. Det bør vel endres? - mvh 4ing (talk) 09:49, 8 January 2014 (UTC)[reply]
Oi, hvordan kom du over thing=bilde egentlig? Hvis det faktisk funker med thing=bilde for alle bilder ville det jo vært aldeles glimrende! Rekker ikke å teste mer nå, men la det inn som default, så kan vi teste. Hvis det ser ut som det funker overalt, kan jeg jo sende en mail til KulturIt og sjekke om det er stabilt at det skal være slik. – Danmichaelo (δ) 11:39, 8 January 2014 (UTC)[reply]
Det ser ut som det funker uavhngig av hvilken streng man legger inn for parameteren "thing", så lenge den ikke er tom (men den kan utelates). - 4ing (talk) 12:39, 8 January 2014 (UTC)[reply]

Opplastingsverktøyet[edit]

Hei! Jeg har helt glemt å gi deg beskjed om en liten feil i opplastingsverktøyet for bilder fra Oslobilder el. DigitaltMuseum. Fikk beskjed på diskusjonssiden min fra en tysk bruker som heter Bukk. Det gjelder kun i de tilfellene det er et kunstverk og Artworktemplate kommer opp. Da er det et felt der som heter institution; i opplastingsverktøyet er det kommet til en s for mye (institutions) noe som medfører en feilmelding. Bildene har kommet i denne http://commons.wikimedia.org/wiki/Category:Pages_using_Artwork_template_with_incorrect_parameter kategorien - som i skrivende stund er tom. Får du fikset verktøyet? Mvh.--Anne-Sophie Ofrim (talk) 21:37, 18 December 2013 (UTC)[reply]

Fikset, takk for tips! Bare si fra om du kommer over andre ting. – Danmichaelo (δ) 22:13, 18 December 2013 (UTC)[reply]

Picture of the Year 2013 R2 Announcement[edit]

Round 2 of Picture of the Year 2013 is open![edit]

2012 Picture of the Year: A pair of European Bee-eaters in Ariège, France.

Dear Wikimedians,

Wikimedia Commons is happy to announce that the second round of the 2013 Picture of the Year competition is now open. This year will be the eighth edition of the annual Wikimedia Commons photo competition, which recognizes exceptional contributions by users on Wikimedia Commons. Wikimedia users are invited to vote for their favorite images featured on Commons during the last year (2013) to produce a single Picture of the Year.

Hundreds of images that have been rated Featured Pictures by the international Wikimedia Commons community in the past year were entered in this competition. These images include professional animal and plant shots, breathtaking panoramas and skylines, restorations of historical images, photographs portraying the world's best architecture, impressive human portraits, and so much more.

There are two total rounds of voting. In the first round, you voted for as many images as you liked. The top 30 overall and the most popular image in each category have continued to the final. In the final round, you may vote for just one image to become the Picture of the Year.

Round 2 will end on 7 March 2014. https://commons.wikimedia.org/wiki/Special:MyLanguage/Commons:Picture_of_the_Year/2013/Introduction/en Click here to learn more and vote »]

Thanks,
the Wikimedia Commons Picture of the Year committee

You are receiving this message because you voted in the 2013 Picture of the Year contest.

This Picture of the Year vote notification was delivered by MediaWiki message delivery (talk) 19:24, 22 February 2014 (UTC)[reply]

Restored UKBot files[edit]

Hi Danmichaelo, by request I restored [4] some files on Commons which UKBot uploaded for the fi.wp weekly competition. Those were deleted because no license was specified on the description page. Am I right to assume that the images are PD just like the bot's more recent uploads for the same project? Regards, Jafeluv (talk) 00:51, 9 March 2014 (UTC)[reply]

@Jafeluv: Yes, that's correct. – Danmichaelo (δ) 17:38, 15 March 2014 (UTC)[reply]

Personality rights template[edit]

Thank you for helping translating Template:Personality_rights/i18n last month. The template was (again) updated recently. Could you please help us again with updating the translation? You can find the version before the update in an older version of the translated page. whym (talk) 11:21, 12 March 2014 (UTC)[reply]

Sure, thanks for notifying me. – Danmichaelo (δ) 18:07, 15 March 2014 (UTC)[reply]

Picture of the Year 2013 Results Announcement[edit]

Picture of the Year 2013 Results[edit]

The 2013 Picture of the Year. View all results »

Dear Danmichaelo,

The 2013 Picture of the Year competition has ended and we are pleased to announce the results: We shattered participation records this year — more people voted in Picture of the Year 2013 than ever before. In both rounds, 4070 different people voted for their favorite images. Additionally, there were more image candidates (featured pictures) in the contest than ever before (962 images total).

  • In the first round, 2852 people voted for all 962 files
  • In the second round, 2919 people voted for the 50 finalists (the top 30 overall and top 2 in each category)

We congratulate the winners of the contest and thank them for creating these beautiful images and sharing them as freely licensed content:

  1. 157 people voted for the winner, an image of a lightbulb with the tungsten filament smoking and burning.
  2. In second place, 155 people voted for an image of "Sviati Hory" (Holy Mountains) National Park in Donetsk Oblast, Ukraine.
  3. In third place, 131 people voted for an image of a swallow flying and drinking.

Click here to view the top images »

We also sincerely thank to all 4070 voters for participating and we hope you will return for next year's contest in early 2015. We invite you to continue to participate in the Commons community by sharing your work.

Thanks,
the Picture of the Year committee

You are receiving this message because you voted in the 2013 Picture of the Year contest.

Delivered by MediaWiki message delivery (talk) 23:00, 26 March 2014 (UTC)[reply]

A barnstar for you![edit]

The Technical Barnstar
Thank you so much for creating CropTool. It is an absolutely wonderful tool that I have recently put to good work improving some of my uploads to Commons. I absolutely love how easy it is to use, and Commons is much richer because of it. Thanks again! Michael Barera (talk) 23:14, 4 May 2014 (UTC)[reply]

PS: If anyone else substantially contributed to the creation of the tool, please let me know so I can thank them as well. Thanks! Michael Barera (talk) 23:16, 4 May 2014 (UTC)[reply]

Thanks for the kind words, Michael :) – Danmichaelo (δ) 20:25, 11 May 2014 (UTC)[reply]

SVG version of Archimedes lever[edit]

Hi -- I thought you might be interested to know that I converted your scan of the Archimedes woodcut into vector format: https://commons.wikimedia.org/wiki/File:Archimedes_lever,_vector_format.svg . I think the vector version "pops" better, and will look good when printed at high resolution. Regards --Bcrowell (talk) 19:02, 11 May 2014 (UTC)[reply]

Thanks Bcrowell, that's brilliant! I added a {{Vector version available}} to the png version. – Danmichaelo (δ) 20:28, 11 May 2014 (UTC)[reply]

Croptool[edit]

Hei Dan Michael! Verktøyet virker plutselig ikke for meg nå i kveld, har brukt det tidligere i dag. Eksempel på hva som skjer; når man har klikket på verktøyet og bildet kommer opp velger jeg lossless. Etter å ha lagt "strekene" rundt der jeg vil ha dem, klikker jeg på forhåndsvis og mens verktøyet står i bakgrunnen og ser ut til å jobbe, kommer det opp en liten boks hvor det står: jpegtran not found. Bildet blir ikke klippet og jeg må bare gå tilbake. Jeg har forsøkt et par-tre ganger nå. Noe du kan se på? Mvh.--Anne-Sophie Ofrim (talk) 17:02, 29 May 2014 (UTC)[reply]

Jeg prøvde med presise nå og det fungerer, lossless ikke. --Anne-Sophie Ofrim (talk) 06:44, 30 May 2014 (UTC)[reply]
Takk, ja, jeg klarte visst å knote til noe i går, men nå virker det igjen :) – Danmichaelo (δ) 13:45, 30 May 2014 (UTC)[reply]
File:Australia - Canada, women's wheelchair basketball at Paralympics 2012 - 3.jpg has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this file, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

LauraHale (talk) 09:13, 25 June 2014 (UTC)[reply]

File:Australia - Canada, women's wheelchair basketball at Paralympics 2012 - 2.jpg has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this file, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

LauraHale (talk) 09:14, 25 June 2014 (UTC)[reply]

File:Australia - Canada, women's wheelchair basketball at Paralympics 2012.jpeg has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this file, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

LauraHale (talk) 09:14, 25 June 2014 (UTC)[reply]

Man montage[edit]

I notice that the grid with pictures of men on the page Man contains no pictures of transgender men, which could be taken to bolster the incorrect idea that such men are not "real" men. I also see that the grid contains a picture of Vitruvian Man which is also shown in the body of the article. Does it need to be shown twice? I thought it could be replaced with a picture of a transgender man. I would suggest Chaz Bono but I am open to other suggestions. I know the grid can't contain examples of every type of man, but I think an example of a transgender man is especially important because some deny such men are men at all, and we don't want to seem to be in favor of that idea. I suggested this on the talk page for Man and got no objections. I can't change the grid myself because I don't know how, so would you mind doing it? Thank you.

Seems reasonable! There you go: File:Men montage 2.jpg. I've also commented on the discussion page at enwp. – Danmichaelo (δ) 22:05, 24 August 2014 (UTC)[reply]

You broke Croptool[edit]

Your recent update forces users to the "Authorization required " window when trying to crop images even though the tool has been given authorization already and repeatedly ....--Stemoc (talk) 00:25, 4 August 2014 (UTC)[reply]

@Stemoc: But it works after you re-authorized, right? Re-authorization was needed because the scope of the tool was extended from Commons to all Wikimedia projects. – Danmichaelo (δ) 09:45, 4 August 2014 (UTC)[reply]
Thats the problem, i have repeatedly authorized it, its just not going to the crop page..it keeps telling me "Authorization required " even though i have repeatedly given it authorization and it appears in my "Managed Apps" section ...here is the web console log for the problem, hope u can make heads or tails out of this..--Stemoc (talk) 12:29, 4 August 2014 (UTC)[reply]
I'm forced to manually remove cookies for wmflabs everytime i try to crop an image. it probably does not like firefox browser..the mwkey and mwsecret keys ..the problem maybe "Send For" as the other tools use on wmflabs use "Any type of connection" and your tool uses "Encrypted connections only" --Stemoc (talk) 15:22, 4 August 2014 (UTC)[reply]
@Stemoc: Thanks for providing more info. You're right that it's probably related to the cookies. Authorization is stored in those cookies, meaning you should in general only have to re-authorize whenever you loose the cookies, or whenever you use a new browser or computer. I'm still a bit confused. I've tested with Firefox, and it works for me. You do use the tool with https, right? I noticed that the automatic redirect from http to https does not work now. And do you have to re-authorize each time you want to crop a file, or each time you restart the browser? And this began after the update? – Danmichaelo (δ) 15:40, 4 August 2014 (UTC)[reply]
Btw. I fixed a http→https redirect now. It's quite important since the cookies are not available unless you use https. – Danmichaelo (δ) 15:45, 4 August 2014 (UTC)[reply]
Its working now, thanks..I love the tool, probably the only one who uses it the most :P --Stemoc 01:29, 5 August 2014 (UTC)[reply]
@Stemoc: Great to hear, also that you love the tool :) – Danmichaelo (δ) 15:06, 5 August 2014 (UTC)[reply]

By the way, Croptool appears to be broken again. Specifically, it turns up an error when you try to go to the authorization page. G S Palmer (talk) 15:50, 19 August 2014 (UTC)[reply]

@G S Palmer: Thanks for notifying me! There had been a change in the OAuth service I was not aware of. Authorization should work again now.. – Danmichaelo (δ) 23:28, 22 August 2014 (UTC)[reply]
Yep, working fine. G S Palmer (talk) 14:40, 24 August 2014 (UTC)[reply]

Hi Dan. This tool's been broken for me for a while, and seems to be due to this OAth issue - it just keeps kicking me back to the authorisation page after clicking Connect. I can't remember if I've ever had it working using OAuth, but I've definitely had other tools work that use it. I've tried deleting cookies, and checking/unchecking in Gadgets. I'm using chrome, and it all appears to be using https throughout the sequence. Any suggestions? It's a great tool btw, I can't imagine going back to the manual method now. I do have one suggestion though - is it possible to add Template:Image extracted to the donor file? Ultra7 (talk) 18:57, 7 October 2014 (UTC)[reply]

@Ultra7 The tool's been using OAuth right since it launched, but you're perhaps refering to CropBot, which the tool is inspired by? Anyways, thanks for letting me know about the problem. I'm not really sure where to start looking though. If you go to Special:OAuthManageMyGrants, do you see CropTool listed? Version 1.2? If you see it listed, you could try to recall it, although I don't really expect that to help.. – Danmichaelo (δ) 19:08, 8 October 2014 (UTC)[reply]
No, definitely CropTool. It was listed as 1.2, I removed and re-authorised, but no change. It definitely stopped working for me about a month ago - I didn't do anything about it at the time as I thought it would be back up later, and I wasn't needing to do much cropping at the time. Ultra7 (talk) 21:01, 8 October 2014 (UTC)[reply]

Hi Dan, seems like the same bug, asks for authorization everytime i try to use it..i use the tool on https but i use wikimedia on http, can you fix it again please?..I'm your biggest (non-paying :P) client :P--Stemoc 00:39, 24 November 2014 (UTC)[reply]

@Stemoc Sorry I missed your message. I didn't even know it was possible to use Commons without https while logged in, did you configure that somewhere? Does it work if you use Commons with https? I'm not really sure where to start looking for the problem yet, so any hints be welcome. – Danmichaelo (δ) 23:17, 9 December 2014 (UTC)[reply]
I use commons without https since forever.. :P btw, it seems the problem was related to a failure in the OAuth extension and not just your tool, it was fixed within day of my comment ..sorry :)--Stemoc 01:01, 10 December 2014 (UTC)[reply]

Well, I just tried again for the first time in ages, and it's still not working for me (yet I can still use other tools, I authorised the Flickr upload tool only yesterday). It definitely doesn't let me even try to use http, it simply redirects to https (I suppose that's the whole point of OAuth). Is it possible for me to try the version of the code before you expanded it to all wikis - just to confirm whether or not that's the change which broke it for me? Ultra7 (talk) 15:17, 10 December 2014 (UTC)[reply]

@Ultra7 Not in a simple way that won't break the tool for others.. I'm planning to add more logging though, so I have a better chance to investigate problems – right now I don't have a clue if this is a problem that affects many people or not. The only thing I know is that the tool works for many people. One thing I'm curious about is if you do get the cookies or not. If possible, could you check if you have "mwKey" and "mwSecret" under Resources > Cookies in Developer Tools? – Danmichaelo (δ) 00:02, 14 December 2014 (UTC)[reply]
Nope. Inspecting it while on an image page, i.e. commons.wikimedia.org, I don't have either of those. I do have centralauth_Token and centralauth_User, but I suspect that's from the TUSC era? The others look pretty standard fare, and I do have forceHTTPS, which explains the inability to use http. Ultra7 (talk) 00:12, 14 December 2014 (UTC)[reply]

Nordlandsmuseet[edit]

Hei! Jeg vil ikke redigere på brukersiden din og lurer på om du kan legge til Nordlandsmuseet i listen fra Digitalt Museum. Category:Media from the collection of Nordlandsmuseet, Category:Nordlandsmuseet, Bodø og Institution:Nordlandsmuseet Mvh.--Anne-Sophie Ofrim (talk) 11:37, 15 January 2015 (UTC)[reply]

Takk, har lagt den til :) – Danmichaelo (δ) 12:01, 15 January 2015 (UTC)[reply]
File:Herbert Aptheker 1965 2.jpg has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this file, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

LX (talk, contribs) 21:30, 19 March 2015 (UTC)[reply]

Croptool down..[edit]

Can you restart it please? :( ..--Stemoc 00:51, 11 April 2015 (UTC)[reply]

Sorry for the late response. There's been quite some down time on Tool Labs in the recent weeks, but luckily it seems like CropTool at least manages to start by itself whenever the server starts working again. – Danmichaelo (δ) 12:31, 12 April 2015 (UTC)[reply]

Hi Danmichaelo. It's down again... I wanted to use it so I would really appreciate it if you could take a look. :) Trijnsteltalk 18:49, 19 May 2015 (UTC)[reply]

There is a partial outage at Labs right now. Nothing I can do about it, but it should be back up soon. – Danmichaelo (δ) 19:17, 19 May 2015 (UTC)[reply]
It's back. I also have a monitoring system so I get an email when it becomes completely inaccessible, but this was in the middle of the night (for me). – Danmichaelo (δ) 07:54, 17 February 2016 (UTC)[reply]

Crop tool & multipage files[edit]

Thanks Dan for your work! I pinged you at it:s:Wikisource:bar but I don't know if you'll get the ping. Here my first run of CropTool on a djvu file: File:Piccolo Mondo Antico (Fogazzaro) (page 7 crop).jpg; it is a poor, but necessary, image. --Alex_brollo Talk|Contrib 14:40, 11 August 2016 (UTC)[reply]

Cool! Btw. is background removal something you think could be automated? Using ImageMagick, I would guess that a white fuzzy opaque fill would be the way to go, perhaps with a conctrast-stretch to make the black more black first. But I'm not sure if the level of fuzziness would have to be varied from image to image. How is your current procedure for doing it? – Danmichaelo (δ) 20:25, 11 August 2016 (UTC)[reply]
Take a look if you like at my account, User:Alex brollo, you'll find some hundreds of uploadings of images extracted from books in the last few weeks... I used a very similar convention for naming them .... Well, your tool saves lots of time, since the most annoying work is, to complile metadata, links, categories. I usually work with XnView and needed steps are:
  1. crop the image (usually a TIFF by ddjvu.exe);
  2. rotate a litle bit when needed (a lot of times)
  3. convert in into gray-scale
  4. adjust it editing its levels ("blanking" pale gray areas)
  5. convert into .jpg or .png and upload it into Commons
As you see from first uploads I feel comfortable to upload the raw crop, then to download it, to edit it (by XnView), and to re-upload it. It's fast and effective. Sure, it will be great to work inside the tool into a canvas, but the tool is already great! Would you like some more suggestion coming from many tests I'm going to perform? The first one is to add an input field into Crop Tool accepting the page number. Wikisourcers often review many pages of the same book into the same edit session, the smartest ones will discover fastly that it's very simple to upload a different page of the same book just editing the page number into the tool URL :-) but an input field will help. About Gadget-CropTool.js, I uploaded into it.source a slightly different version, i.e.:
  1. the script has been customed to work from nsPage only and gets the full name of page from context;
  2. an attribute target="_blank" has been added to the link code, so that the tool opens into a different tab from the calling page. Here the code: it.source CropTool.js gadget.
In brief: it.source (and other source projects I guess) was waiting for your tool... from years, thanks again!--Alex_brollo Talk|Contrib 14:30, 12 August 2016 (UTC)[reply]
Great to hear! An input field for selecting page (or a dropdown like on Commons) should be really easy to add, and something I also had in mind, so that will definitely come. Feel free to let me know if you have other ideas for improvement. – Danmichaelo (δ) 18:32, 12 August 2016 (UTC)[reply]

CropTool running at bn.wikisource[edit]

Just to let you know that bn.wikisource is interested about CropTool: bn:s:User talk:Alex brollo.

Obviously I cant' read any bengali word or character, but this is not so hard an issue when a user is sufficiently bold :-) --Alex_brollo Talk|Contrib 09:10, 17 August 2016 (UTC)[reply]

Cool, had to check the source to locate ক্রপটুল on the gadget page :) – Danmichaelo (δ) 20:27, 17 August 2016 (UTC)[reply]

A (challenging) proposal for CropTool enhancing[edit]

Do you know as Internet Archive works with texts, how it is used as one of best free djvu/pdf sources for wikisource work, and details of the rich archive of different derived files that are stored into any IA item? In brief, there's one high-definition image for any pdf / djvu page of IA books, while both djvu and pdf images are highly compressed; and they can be downloaded and cropped manually; but ask me more if you want only if you are really interested about, it's an hard issue. --Alex_brollo Talk|Contrib 10:09, 18 August 2016 (UTC)[reply]

Let's discuss how the process could work. Would this be for djvu/pdf files that have already been transferred to Commons (I guess they have a link back to archive.org), or files that only live on archive.org? In the latter case, I guess a user would just paste the URL from archive.org into CropTool and work from there.. Does the URLs from archive.org include page numbers? – Danmichaelo (δ) 11:58, 18 August 2016 (UTC)[reply]
Things are a little bit more complex - high resolution images of pages are stored as jp2 files, into a zip. A dynamic request to the right IA server builds a jpg image from jp2, then sent it. I.e of a IA url, giving back a high resolution jpg:
Aas you see the needed url is a call to a php script - not a static url; and it is wrapped into a very complex, multi-server url.  :-( --Alex_brollo Talk|Contrib 13:39, 18 August 2016 (UTC)[reply]
Given the IA item (LingenosoIdalgoDon_chisciotteDellaManciaVol.2), it seems like you can get the rest (server, dir) from the metadata api: https://archive.org/metadata/LingenosoIdalgoDon_chisciotteDellaManciaVol.2 . What confuses me about this file though is that the 64 MB pdf file is marked as "original", while the 843 MB jp2.zip is "derivative". Any idea why? – Danmichaelo (δ) 18:57, 18 August 2016 (UTC)[reply]
Yes. IA items are uploaded by contributors as pdf files or as zipped images; those uploads are the "original" files. Both are normalized and somehow deskewed by the powerful server of IA getting "derivative" _jp2 images; these are the source for any following elaboration (OCR, pdf, djvu....). Djvu is presently derived but it is not published; it is used to extract text and _djvu.xml, the latter contains "word mapping", t.i. coordinates of words into page image. I presume that IA book viewer uses _jp2 images + _djvu.xml to highlight searched words. _jp2 images are "omologous" to images wrapped into djvu or pdf files, so that coordinates of images into _jp2 can be exactly derived from jpg images coming from djvu/pdf IA files. --Alex_brollo Talk|Contrib 08:48, 19 August 2016 (UTC)[reply]

Another (easy) proposal for CropTool[edit]

Most wikisource users of CropTool (two from three I presume by now.... ;-).... did you get some more feedback?) feel the need to one more input field to add one or more category names (it would great to use commonist convention, t.i., if I remember right, names of categories separated by a | character).

Perhaps, the best could be to have a preview of full description text that is going to be uploaded by CropTool, just as IA upload bot does, allowing users to add/to edit all what they need.

PS: Thanks for the drop-down field for page numbers!--Alex_brollo Talk|Contrib 14:24, 19 August 2016 (UTC)[reply]

@Alex brollo: Right, a full description editor is easy to add, but where should it be placed in the user interface? (without making it too clumsy and crowded :)) Let me know if you have suggestions. A category field is easier to fit in, I guess. It's also possible I could get HotCat to work. Btw. I've added a GitHub issue on this as well. – Danmichaelo (δ) 20:48, 30 August 2016 (UTC)[reply]
Consider that wikisourcians probably will be the main users of the tool, and that they are not confused by crowded textareas :-) Could it be hidden into a collapsed field? But really, a field for categories might be sufficient; the best would be if added categories could be "remembered" while uploading different pages of the same book.--Alex_brollo Talk|Contrib 21:11, 30 August 2016 (UTC)[reply]
Yeah, I think a collapsed field could work. But I'm not sure if a single category field could be more efficient to work with sometimes? In any case I'll experiment a little with this, but it probably won't be in the next couple of weeks since I need to prioritize other projects for some time now. – Danmichaelo (δ) 21:26, 30 August 2016 (UTC)[reply]
Thanks. There's no hurry, the tool as it is now allows a tenfold increase in speed and consistency of uploads... :-) I added a "CropTool calling gadget" into la.source too. --Alex_brollo Talk|Contrib 17:01, 31 August 2016 (UTC)[reply]

DigitaltMuseum: DEXTRA Photo[edit]

Hei, jeg får ikke {{DigitaltMuseum}} til å virke korrekt for bilder fra Norsk Teknisk Museum med inventarnummer som begynner på "DEX_KF_". Se for eksepmel File:Eldfisk_oljeplatform_(DEX_KF_000632).jpg, der bildelenken bare fører til DigitaltMuseums forside. - 4ing (talk) 07:17, 14 September 2016 (UTC)[reply]

@4ing: Hei, jeg tror dette er noe KulturIT må fikse på deres side, så jeg sendte dem en epost. Erfaringsmessig bruker de veldig lang tid å svare, men får se. – Danmichaelo (δ) 20:36, 25 September 2016 (UTC)[reply]
@4ing: Nå svarte de raskt: «Dette er en feil som har vært i lang tid. Vi jobber nå med en ny versjon av DigitaltMuseum. Vi vil sørge for at vi håndterer understrek der.» Så da må vi vel bare smøre oss med tålmodighet. – Danmichaelo (δ) 10:27, 28 September 2016 (UTC)[reply]
Takk, det ser ut til at dette berører svært mange av filbeskrivelsene som inneholder denne malen. - 4ing (talk) 14:05, 28 September 2016 (UTC)[reply]
@4ing: Søren, dette burde jeg egentlig sett med en gang, men malen hadde feil institusjonskode. Når det står "DEXTRA Photo" under "Institusjon", er det "KFS" som skal brukes. Nå funker lenka. Liste over støttede institusjonskoder finnes på {{DigitaltMuseum}} (ufullstendig, men utvides ved behov :)) – Danmichaelo (δ) 08:31, 6 October 2016 (UTC)[reply]
Takk skal du ha, da skal jeg rette opp kodene! - 4ing (talk) 09:30, 6 October 2016 (UTC)[reply]

Wishlist 2016[edit]

Hi Danmichaelo, I took the liberty of putting a proposal into current wishlist, about your CropTool script. I hope you don't mind. A gadget into it.source allows to post the complete code of an image deriving from CropTool into any nsPage, using the excellent naming convention of the tool: so adding an image to a page is really one of the most simple contributions one can imagine! --Alex_brollo Talk|Contrib 19:30, 24 November 2016 (UTC)[reply]

No prob. For the record, it could also be an idea to add the request to https://github.com/danmichaelo/croptool/issues and cross-link. – Danmichaelo (δ) 22:26, 25 November 2016 (UTC)[reply]

A companion crop request[edit]

Dear Danmichaelo, I'm working on biographical content in Wikidata corresponding to the w:Wikipedia:WikiProject Women in Red/Missing articles by nationality, currently for Israel (my adopted home). Now I ask your kind assistance: you recently created File:Alexander Sened (cropped).jpg whose source is File:Sened.JPG. The source image's subject is a couple, Alexander and Yonat Sened, Israeli authors. What's now needed is a similar file, "Yonat Sened (cropped)" from the same source. I'd like to do it myself but am unsure of creating all the required permissions, etc. If you would make the companion file for Yonat Sened, I'd be glad follow up with Hebrew translation of the description and ensure the photo gets posted to the Women in Red project. I also welcome any advice you have for me. Thank you -- Deborahjay (talk) 20:11, 20 January 2017 (UTC)[reply]

@Deborahjay: Here: File:Yonat Sened.JPG! Thanks for letting me know, the only reason I didn't make a crop for Yonat was ignorance. – Danmichaelo (δ) 22:44, 20 January 2017 (UTC)[reply]
@Danmichaelo: , I'm delighted with the file result of our joint overnight enterprise. Many thanks! And to share the best spirits of the times: the global w:Wikipedia:WikiProject Women in Red pages organized in table format as w:Wikipedia:WikiProject Women in Red/Missing articles by nationality provide at-a-glance views of who's identified as "notable" to add to the English Wikipedia and missing a solo photo image. So - as with the Seneds in the source photo - where the woman shows up in a multi-figure or crowd scene, creating a solo file with her cropped, enlarged image seems a valuable addition to the projects involved. Besides, I saw that you made the file name update in the Wikidata item for Yonat Sened! So you can justly be proud, being on board with the global team. -- Cheers to you from the Western Galilee, Deborahjay (talk) 13:09, 21 January 2017 (UTC)[reply]

Some baklava for you![edit]

This is inspired by your swiftly producing the file I requested (see above), in the style of the wish-granting Djinni of legend. (Recommended reading: https://www.goodreads.com/book/show/17624060-the-golem-and-the-djinni ) I'll also pay-it-forward by upping my participation in the Commons and learning to create files with separate and well-labeled portrait images by cropping couples' photos. By the way: baklava goes best with black coffee. Cheers! Deborahjay (talk) 12:44, 21 January 2017 (UTC)[reply]

@Deborahjay: Yum, thanks! I'll check out the Red project and the book too :) – Danmichaelo (δ) 21:52, 21 January 2017 (UTC)[reply]

Cropping[edit]

Is this, what I'm doing now, Pinging you? You see I just don't know these things. Is it possible my problem with CropTool is something I'm doing wrong? Regards, Eddaido (talk) 10:45, 7 July 2017 (UTC)[reply]

No problem – if I link to your username, like this: Eddaido, you will get a notification – this is called pinging or mentioning. As for CropTool, do you get a screen that looks like this: https://github.com/danmichaelo/croptool/issues/97 ? It seems like several users have (intermittent) problems now, but for many others it works as normal. Haven't been able to pinpoint why yet. – Danmichaelo (δ) 22:06, 8 July 2017 (UTC)[reply]
Thanks for explaining the pinging. Yes I do get a screen just like that. My problem is not intermittent. A born optimist I check several times each day! It is a very useful tool. Thanks, Eddaido (talk) 23:29, 8 July 2017 (UTC)[reply]
And thank you very much for sorting it out. Eddaido (talk) 08:22, 13 July 2017 (UTC)[reply]

A barnstar for you![edit]

The Original Barnstar
Hello,

I like your chart "Population pyramid Norway". I would like to create similar charts for several countries. Would you like to share the Python Matplotlib source code? MagHoxpox (talk) 16:20, 19 July 2017 (UTC)[reply]

Thanks, reminds me that I should make updated versions of those plots :) Brushed up the source code a little bit now and put it here. – Danmichaelo (δ) 00:12, 20 July 2017 (UTC)[reply]

Croptool hanging in "Just a moment..."[edit]

https://tools.wmflabs.org/croptool/api/auth/user does not respond even when not logged in. --Zhuyifei1999 (talk) 23:23, 10 September 2017 (UTC)[reply]

@Zhuyifei1999: Restarted the webservice now, hope it helps. – Danmichaelo (δ) 23:35, 10 September 2017 (UTC)[reply]

Crooptool[edit]

The Crooptool site doesn't go. Can you repair it? Thanks. Leonprimer (talk) 16:22, 23 April 2018 (UTC)[reply]

Restarted. – Danmichaelo (δ) 17:48, 23 April 2018 (UTC)[reply]

Sorry, but it doesn't go anymore. Which is the problem? I really need this tool. Leonprimer (talk) 01:34, 24 April 2018 (UTC)[reply]

Worked for a short time yesterday, but then hung again. Seems to be phab:T104799. Restarted it again now. – Danmichaelo (δ) 10:03, 24 April 2018 (UTC)[reply]

Cropbot[edit]

Hi. Have you given any thought to bringing Cropbot back? You just need to change the password.   — Jeff G. ツ please ping or talk to me 01:53, 25 April 2018 (UTC)[reply]

Sorry? – Danmichaelo (δ) 07:32, 25 April 2018 (UTC)[reply]
I wrote of this log entry, but perhaps it's @Luxo's problem.   — Jeff G. ツ please ping or talk to me 22:42, 20 May 2018 (UTC)[reply]
Ah, ok, right, no I'm not an operator of that. – Danmichaelo (δ) 10:01, 21 May 2018 (UTC)[reply]

Croptool again[edit]

The Crooptool site doesn't go again. Can you repair it? Thanks. Leonprimer (talk) 20:36, 20 May 2018 (UTC)[reply]

Restarted. – Danmichaelo (δ) 22:30, 20 May 2018 (UTC)[reply]
Thank you.   — Jeff G. ツ please ping or talk to me 22:44, 20 May 2018 (UTC)[reply]

Crop Tool[edit]

Hello from Germany, I wonder why I can't rotate an image step by step any more, but only via 90°-steps. Could you please remove this change? Thank you very much in advance. --Maimaid (talk) 13:30, 3 March 2019 (UTC)[reply]

Hi Maimaid. This constraint is only there in lossless mode. Switch to precise mode and you should be allowed rotating at any angle. – Danmichaelo (δ) 21:51, 6 March 2019 (UTC)[reply]
(talk page stalker) @Maimaid: Technically, further to Dan's reply, rotation using steps smaller than 90° absolutely requires loss.   — Jeff G. please ping or talk to me 00:54, 7 March 2019 (UTC)[reply]
@Jeff G. and Danmichaelo: Thanks to both of you! Regards, --Maimaid (talk) 06:48, 7 March 2019 (UTC)[reply]

Hedmarkmuseet / Domkirkeodden[edit]

Hei! Jeg har flyttet kategorien Hedmarkmuseet til Domkirkeodden + underkategorier. Institusjonsmalen viser fortsatt Hedmarkmuseet som kategori, selv om jeg har flyttet den. Jeg har også gjort en endring i denne malen hos deg: https://commons.wikimedia.org/w/index.php?title=User:Danmichaelo/DigitaltMuseumTable&diff=prev&oldid=345874368 Allikevel ligger det bilder i Category:Media from Hedmarksmuseet som det ikke går an å flytte. Er det noe mer jeg må gjøre?--Anne-Sophie Ofrim (talk) 09:59, 14 April 2019 (UTC)[reply]

@Anne-Sophie Ofrim: Hei, ja, selve malen trengte en redigering. Forresten, skulle vi brukt det fulle navnet «Anno Domkirkeodden»? – Danmichaelo (δ) 14:35, 14 April 2019 (UTC)[reply]
Glem det siste spørsmålet forresten. Etter å ha sett på de ulike museene som inngår i Anno synes jeg det virker unødvendig å ha med Anno i navnet på alle :) – Danmichaelo (δ) 14:46, 14 April 2019 (UTC)[reply]
Ja, ok. Den redigeringen du har gjort har ikke hjulpet. Det går ikke å flytte ca 60 bilder fra Category:Media from Hedmarksmuseet.--Anne-Sophie Ofrim (talk) 14:49, 14 April 2019 (UTC)[reply]
Det tar bare litt tid fordi malen er i bruk på mange sider. – Danmichaelo (δ) 14:51, 14 April 2019 (UTC)[reply]
Greit. Takk skal du ha. --Anne-Sophie Ofrim (talk) 15:01, 14 April 2019 (UTC)[reply]
Når det kommer til kategorisering kan visst cachen være litt seig. Tok en runde med nullredigering fra pywikibot nå for å få litt fortgang i det. – Danmichaelo (δ) 15:15, 14 April 2019 (UTC)[reply]

CropTool - blocked[edit]

Hei! Er det slik at verktøyet/du kan blokkere IP-adresser? Jeg brukte verktøyet i går uten problemer, men da jeg skulle beskjære et bilde i dag, kom denne beskjeden opp: Upload failed! [api] Received error: autoblocked : Your IP address has been blocked automatically, because it was used by a blocked user. Æh... jeg trodde ikke jeg delte IP-adresse med noen, og jeg har aldri redigert uinnlogget eller med en annen konto enn denne. --Anne-Sophie Ofrim (talk) 07:37, 19 April 2019 (UTC)[reply]

Det ser ut som serveren verktøyet kjører på har blitt blokkert. Snodig, prøver å finne ut hva som har skjedd. – Danmichaelo (δ) 13:18, 19 April 2019 (UTC)[reply]
@Anne-Sophie Ofrim: Problemet er løst forresten, fikk hjelp på Commons:Administrators'_noticeboard/Blocks_and_protections#Toolforge_IPs_blockedDanmichaelo (δ) 15:45, 19 April 2019 (UTC)[reply]
Å, så bra! Takk! --Anne-Sophie Ofrim (talk) 16:29, 19 April 2019 (UTC)[reply]

Kissa21782 (talk) 08:06, 14 August 2019 (UTC)[reply]

Template:Monument Norge[edit]

Hei, går det an å endre Template:Monument Norge slik at id-numre som inkluderer objektnummer (dvs. på formen xxxxx-x) ikke havner i kategorien Category:Cultural heritage monuments in Norway with invalid IDs)? - 4ing (talk) 09:56, 4 October 2019 (UTC)[reply]

Google Code-In 2019 is coming - please mentor some documentation tasks![edit]

Hello,

Google Code-In, Google-organized contest in which the Wikimedia Foundation participates, starts in a few weeks. This contest is about taking high school students into the world of opensource. I'm sending you this message because you recently edited a documentation page at Wikimedia Commons.

I would like to ask you to take part in Google Code-In as a mentor. That would mean to prepare at least one task (it can be documentation related, or something else - the other categories are Code, Design, Quality Assurance and Outreach) for the participants, and help the student to complete it. Please sign up at the contest page and send us your Google account address to google-code-in-admins@lists.wikimedia.org, so we can invite you in!

From my own experience, Google Code-In can be fun, you can make several new friends, attract new people to your wiki and make them part of your community.

If you have any questions, please let us know at google-code-in-admins@lists.wikimedia.org.

Thank you!

--User:Martin Urbanec (talk) 22:04, 23 November 2019 (UTC)[reply]

File:African Union conference center and office complex, AUCC.jpg has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this file, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

Эlcobbola talk 20:57, 7 December 2019 (UTC)[reply]

CropTool down?[edit]

Hello! CropTool appears to be down as of today. When I try to run it I get an error page stating "No webservice", and https://tools.wmflabs.org/admin/tool/croptool is saying "Boom! Ouch. Something went horribly wrong. Hopefully there is a good explanation in the error logs. Error ID: c8kr0jab-1dce0e28". Please take a look at it when you can, thanks. --Animalparty (talk) 04:01, 7 January 2020 (UTC)[reply]

@Animalparty: Started it again now. Seems like there was some kind of server maintenance (graceful shutdown at 22:59:28) from which it did not get back up automatically. Unfortunately I didn't see the notification until now, so it was down for 10 hours. – Danmichaelo (δ) 09:25, 7 January 2020 (UTC)[reply]
Thanks! seems to work just fine now. Cheers, --Animalparty (talk) 09:40, 7 January 2020 (UTC)[reply]

Photos[edit]

Hello. How do you know this weights File:1kg with creditcard (cropped).JPG File:1kg with creditcard.JPG File:2kg with creditcard.JPG are made of cast iron? Blast furnace chip worker (talk) 14:12, 8 February 2020 (UTC)[reply]

@Blast furnace chip worker: Hi. I just cropped this file (the first one), so the right person to ask this would be the creator (Martinvl) – Danmichaelo (δ) 05:26, 13 February 2020 (UTC)[reply]
I understood. Blast furnace chip worker (talk) 16:13, 13 February 2020 (UTC)[reply]

@Blast furnace chip worker and Danmichaelo: : These weights are my personal property and they have all the characteristics of cast iron. Moreover their design is consistent with the OIML specification here. For the record, the 1 kg weight is of domestic quality while the 2 kg weight is of commercial quality. Martinvl (talk) 18:09, 13 February 2020 (UTC)[reply]

@Martinvl: Ok, I understood. Blast furnace chip worker (talk) 15:45, 18 February 2020 (UTC)[reply]

Hello! Thanks for bringing up the request I had at en.w. on Github! I have yet another suggestion however: I suggest the tool handles {{Trimming}} the same way it treats {{Remove border}}. In that I mean it renders the checkbox "I've removed the border" for every file that's tagged with {{Trimming}} and removes the template if the user didn't uncheck the checkbox. Instead of the text used for borders perhaps "I've trimmed the file" is a more suitable sentense in this case. Thanks!Jonteemil (talk) 23:31, 2 March 2020 (UTC)[reply]

@Jonteemil: Hi! I wasn't aware of the {{Trimming}} template, but it makes sense to support that too. I've added that now, with the text "I've trimmed the file". – Danmichaelo (δ) 23:28, 15 March 2020 (UTC)[reply]
Perfect!Jonteemil (talk) 02:23, 16 March 2020 (UTC)[reply]

CropTool issues[edit]

Hello!

I predominantly use CropTool on my iPhone 8 using the Safari browser. Two problems I have run into:

  1. When pressing "Back" (after having pressed "Preview), if you then before have zoomed (which I usually do because a phone screen is so small) it doesn't render correctly. Try it yourself. This problem is also present on my computer but there is isn't a problem because you don't really have to zoom.
  2. This is only a problem on my phone: I often accidently press outside the margins of the CropTool which makes the crop reset from where I touched. On the computer there is a cursor which show if you are pressing on the line, outside the line or inside the crop. Can you perhaps disable the "reset crop when pressing outside the margins" locally on my account? It is very frustrating when you have adjusted three sides of the rectangle (aka the crop) and then accidently press outside the margins and you have to start all over.

Thanks!Jonteemil (talk) 14:54, 23 March 2020 (UTC)[reply]

File:Fiwp Heinäkuun lähdetalkoot 2020.svg needs to be updated (not done since 2 July)[edit]

Hi! File:Fiwp Heinäkuun lähdetalkoot 2020.svg, which should be updated daily by UKBot for fiwiki, was updated last time 20:54, 2 July 2020 (UTC). Could you be so kind and check that this bot works OK and updates this file? Regards, --fi:User:Paju 17:20, 6 July 2020 (UTC)[reply]

Ouch, had given it too little memory. Updates should be working now. – Danmichaelo (δ) 20:27, 6 July 2020 (UTC)[reply]

I would like to expand CropTool with svg-support[edit]

It is pretty easy to crop svgs just with sed-commands. However toolforge.org is too complicated for me to be able to implement it.

I run https://tools.wmflabs.org/svgworkaroundbot/ the code was easy, but I had problems with the webinterface.

If I write a shell-script, would you like to help me with the webinterface?

 — Johannes Kalliauer - Talk | Contributions 18:59, 6 July 2020 (UTC)[reply]

Sure can try to add SVG cropping to CropTool if you provide me with the necessary commands or a shell script. – Danmichaelo (δ) 20:26, 6 July 2020 (UTC)[reply]
I created it on https://github.com/JoKalliauer/cleanupSVG/blob/master/viewBoxSed.sh
How to call the script (e.g. croping of the upper border of File:Population_graph_for_Norway.svg)
viewBoxSed.sh Population_graph_for_Norway.svg 0 5 283 170
I know there are still some issues, but for >80% of the svg-files on commons it should work. (I did not check compatbility with strangefilenames, such as whitespaces, UTF-8, brackets, ...)
I would like to make a beta-version and then later bugfix the backend-scripts and include the posibility of resizing of the preview.
For the first version I would suggest to
  1. first page: ask for the file-name as currently done as done by https://croptool.toolforge.org/?site=commons.wikimedia.org&title=Population+graph+for+Norway.svg
  2. second page: ask for for numerical values (can contain digigts after the decimal point) a) x-start b)y-start c)width d)height e)optional: scaling factor
  3. run script and show on third page: preview of SVG as SVG
  4. fourth page: "overwrite" or "Upload as new file" or "download"
For future releases: (not ordered)
  1. scaling-factor to set a width or height for the preview (and calulating the second number; How to lossless resize SVGs is explained on w:en:User:Ronhjones/SVGreduce (after a long discussion at w:en:Wikipedia:Bots/Requests_for_approval/RonBot_4)) ✓ Done
  2. read out the values of the initial svg (to know the original size, otherwise it is difficult for uses to get the four numbers right)
  3. rendered as PNG using e.g. Commons:Commons SVG Checker or https://svgcheck.toolforge.org/index.php
  4. show a preview on the second page (gererating by clicking a button)
  5. apply bugfixes/workarounds for librsvg-rendering issues/repair broken svgs, as done by User:SVGWorkaroundBot or on https://tools.wmflabs.org/svgworkaroundbot/
  6. make svgfiles optional valid (sometimes lossy)
Does this sound reasonable to you? (It seems to have many equality to the crop-tool, just a different backend-skript, but the front-end can be almost identical.)
Rotation would also be lossless possible (by manipulating the content), but I don't think it is very usefull for SVGs.
I know writing the website will be more work than writing those few lines in sed. If you need something I'm happy to help.
Please ping. ;-)
 — Johannes Kalliauer - Talk | Contributions 18:21, 16 July 2020 (UTC)[reply]
@Danmichaelo: Do you need some help, do have some questions, are you already working on it?  — Johannes Kalliauer - Talk | Contributions 18:00, 23 July 2020 (UTC)[reply]
Thanks for the detailed instructions (and patience) @JoKalliauer: , and sorry I didn't get back to you yet. Just too much other stuff going on, so I've been a bit short on "wiki time", but I will get there in the coming weeks :) – Danmichaelo (δ) 19:47, 17 August 2020 (UTC)[reply]
@JoKalliauer: Started working on this today. Think I will do the XML manipulation directly in PHP using simplexml, like so: https://github.com/danmichaelo/croptool/blob/svg/src/php/File/SvgFile.php . A slight problem is that Cropper.js doesn't seem to work correctly if it doesn't get the size of the image in pixels, so I try to work around this by temporarily adding "width" and "height" in pixels to the file, and then remove it afterwards. Is it generally OK to always remove "width" and "height"? Second question: Do you happen to know how MediaWiki finds the "nominal size" of an SVG file? For instance "512 × 390 px" for File:WikiImplementationBug T194192.svg? Third question: Do you know one or more files that have "width" and "height", but no "viewBox", that I can test with? – Danmichaelo (δ) 22:45, 6 September 2020 (UTC)[reply]
@Danmichaelo: Since I'm in office: First a quick reply on the questions. (I will take a deeper look later.)
  1. Is it generally OK to always remove "width" and "height"?
    • If the file does not contain viewBox it is NOT ok to just remove "width"/"height", without reinserting anything. Simplified: A svg-file "needs" (a) "viewBox" or (b) "width"/"height" or (c) both. (To be precise: I know svg-files without [5] [6], but that leads (for librsvg and independently aswell for MediaWiki) almost always to problems)
    • SVG-Files do not have Pixels, therfore It does not make much sence to get the size of the image in pixels, except for the preview, but we could skip the preview in a first draft.
  2. Do you happen to know how MediaWiki finds the "nominal size" of an SVG file?
    • I personally would ignore it, maybe we should use the same size for our preview, but I prefer it depening on the avalable space on Crop-tool-site
    • the explanation of the preview-size (the nominally size is ihmo similar without the 800x600 limitation)
    • You have to differenciate between with "width"/"height" (independend on viewBox) or without.
      • If with "width"/"height" take the "width" and round it to an integer. If the width is higher than 800 as in File:BlankMap-World-v2.svg limit it to 800px, if the height is higher than 600 the width is limited in such a way that the hight is equal or below 600px.
      • If no "width"/"height" take width=512px (if the height does not exceed 600px) as for File:WikiImplementationBug T194192.svg
      • Even if the hight is limited as in File:MediaWiki_SVG_fonts.svg you can see that it is depending on the rounding of the width: The width is set to an integer that leads to a height is smaler or equal 600.
  3. Do you know one or more files that have "width" and "height", but no "viewBox", that I can test with?
 — Johannes Kalliauer - Talk | Contributions 10:48, 7 September 2020 (UTC)[reply]
The XML manipulation directly in PHP using simplexml is much more beautiful than using sed!
Regarding https://github.com/danmichaelo/croptool/blob/svg/src/php/File/SvgFile.php#L38 for the imho valid but unlikely event (rough guess 1 out of 100files) that "width" and/or "height" have units and there exists no viewBox, there is no general rule how render this image correctly (same issue when cropping using viewBox). Librsvg on MediaWiki uses for (mm|cm|in|pt) imho 90 dpi, but 96 dpi seems to be more the standard, therefore I would keep it as it is (also knowingly this could be improved).  — Johannes Kalliauer - Talk | Contributions 11:47, 7 September 2020 (UTC)[reply]
I added outlier examples in the previous post.  — Johannes Kalliauer - Talk | Contributions 11:47, 19 September 2020 (UTC)[reply]
العربية  беларуская беларуская (тарашкевіца)  ပအိုဝ်ႏဘာႏသာႏ  বাংলা  català  čeština  dansk  Deutsch  Deutsch (Sie-Form)  Ελληνικά  English  español  euskara  فارسی  suomi  français  galego  עברית  hrvatski  magyar  հայերեն  italiano  日本語  ಕನ್ನಡ  한국어  lietuvių  latviešu  македонски  മലയാളം  मराठी  မြန်မာဘာသာ  norsk bokmål  Plattdüütsch  Nederlands  norsk  polski  português  română  русский  sicilianu  slovenčina  slovenščina  српски / srpski  svenska  ไทย  Türkçe  українська  اردو  Tiếng Việt  中文(简体)  中文(繁體)  +/−
Warning sign
This media may be deleted.
Thanks for uploading File:Arild Stokkan-Grande - Arbeiderpartiet.jpg. This media is missing permission information. A source is given, but there is no proof that the author or copyright holder agreed to license the file under the given license. Please provide a link to an appropriate webpage with license information, or ask the author or copyright holder to send an email with copy of a written permission to VRT (permissions-commons@wikimedia.org). You may still be required to go through this procedure even if you are the author yourself; please see Commons:But it's my own work! for more details. After you emailed permission, you may replace the {{No permission since}} tag with {{subst:PP}} on file description page. Alternatively, you may click on "Challenge speedy deletion" below the tag if you wish to provide an argument why evidence of permission is not necessary in this case.

Please see this page for more information on how to confirm permission, or if you would like to understand why we ask for permission when uploading work that is not your own, or work which has been previously published (regardless of whether it is your own).

Warning: unless the permission information is given, the file may be deleted after seven days. Thank you.

Martin Sg. (talk) 06:22, 16 August 2020 (UTC)[reply]

@Martin Sg.: Could you please elaborate on what's the issue with this image? It was published at the official Flickr account of the Norwegian Labour Party under CC-BY-SA 2.0, and is still available on Flickr under the same license. – Danmichaelo (δ) 19:55, 17 August 2020 (UTC)[reply]
Sorry, was an error by me. --Martin Sg. (talk) 19:59, 17 August 2020 (UTC)[reply]

Template:Monument Norge[edit]

Hei, har du mulighet for å endre Template:Monument Norge slik at f.eks. File:Bodø Domkirke 01.jpg ikke havner i Category:Cultural heritage monuments in Norway with invalid IDs? - mvh 4ing (talk) 21:02, 21 October 2020 (UTC)[reply]

Thank you for CropTool[edit]

Will Croptool will be expanded to include an oval crop and a circular crop? --RAN (talk) 22:34, 27 December 2020 (UTC)[reply]

Adding support for WebP files in CropTool[edit]

Hello!

Would you consider adding support for WebP files in CropTool? The WebP file format seems to be very transparent, in that it is open source and Google really seems eager to tell you everything about it. This makes me think that implementing CropTool for WebP files wouldn't perhaps be so hard. See for example https://developers.google.com/speed/webp/ and perhaps also https://developers.google.com/speed/webp/docs/api. Thanks!Jonteemil (talk) 23:53, 6 May 2021 (UTC)[reply]

Nevermind, already brought up at Commons talk:CropTool/Archive 2#webp files.Jonteemil (talk) 20:09, 19 May 2021 (UTC)[reply]

CropTool pull request[edit]

There's currently a very short pull request open on CropTool to allow it to recognize {{PermissionTicket}}, the replacement for the old {{PermissionOTRS}} template. Right now, any non-VRT agents attempting to crop an image with an associated ticket will trip an edit filter. Would you mind taking a look at the PR and merging/deploying it? Thanks, Vahurzpu (talk) 18:35, 1 August 2021 (UTC)[reply]

SVG[edit]

Do you still plan to implement SVG?  — Johannes Kalliauer - Talk | Contributions 20:17, 28 September 2021 (UTC)[reply]

CropTool is down[edit]

I'm getting a "502 Bad Gateway" error when trying to access it. --Ahecht (TALK
PAGE
) 01:32, 3 June 2022 (UTC)[reply]