Template‐ノート:NowCommons

ページのコンテンツが他言語でサポートされていません。

用法[編集]

{{NowCommons|Image:Commonsでのファイル名.jpg}} このテンプレートの目的は、

  • コモンズと日本語版の両方にある画像について、多言語版編集者が利用するときにコモンズからの呼び出しを促すこと
  • 日本語版出自の画像について、改良はコモンズのバージョンに反映することをお願いすること
  • コモンズとの重複画像について削除のルールが決まった場合、一斉に処理できるように収集すること

です。--Gleam 2005年1月26日 (水) 00:42 (UTC)[返信]

パラメターデフォルトを利用して,全く同じファイル名の場合は引数を不要にしてみました(英語版を日本語の事情に合わせて改造).うまく働かなかったらrevert/改良して下さい. - Marsian / talk 2006年2月3日 (金) 10:37 (UTC)[返信]

調査[編集]

今ちょっと興味から調べてみたのですが、6月ごろの時点でコモンズにも同名で存在する画像は1436点ほどのようです。すでに削除されているものもありました。ご参考まで。Mulukhiyya 2005年9月7日 (水) 11:29 (UTC)[返信]

Suggest 2 new links[編集]

Hi!

I would like to suggest 2 links to be added to the template:

  • If you want to move old versions to Commons click this link.
  • If you want to make a new upload log on Commons click this link (remove the mark in "Directly transfer file to Commons" and click the blue button)

The first link is useful if more versions of the file have been uploaded and you want to keep the older versions for later use. Then you can upload them to Commons.

The second link is useful if the file have been copied to Commons and there is no good "Original upload log" on Commons. Then you can click the link and get a new upload log you can copy to Commons. --MGA73会話2020年5月26日 (火) 08:09 (UTC)[返信]


I have now added the links. I would also like to add

{{#ifeq: {{Remove file prefix|{{{1|{{PAGENAME}}}}}}} | {{PAGENAME}} | [[Category:コモンズと重複しているメディア|{{PAGENAME}}]] | [[Category:コモンズと重複しているメディア一同名|{{PAGENAME}}]]}}

That will put the files in 2 different categories so files with the same name as on Commons go in one category and files with a different name as on Commons go in another category. If the name is the same then the files can be deleted without changing any pages that uses the file. If the names are different all pages that use the file have to be changed before the file is deleted. I used Google Translate to suggest a category name. Please fix if the name is bad. --MGA73会話2020年6月22日 (月) 20:31 (UTC)[返信]

The new category name "Category:コモンズと重複しているメディア一同名" is can be understood, but somewhat unnatural. How about "Category:コモンズに同一・同名のものがあるメディア". And, I think that the last parameter and the second to last parameter in ifeq are opposite in your proposal. It should be below.
{{#ifeq: {{Remove file prefix|{{{1|{{PAGENAME}}}}}}} | {{PAGENAME}} | [[Category:コモンズに同一・同名のものがあるメディア|{{PAGENAME}}]] | [[Category:コモンズと重複しているメディア|{{PAGENAME}}]] }}
--Yapparina会話2020年7月27日 (月) 10:37 (UTC)[返信]
@Yapparina: Yes that looks good to me. And I agree to reverse like you say. Thank you! --MGA73会話2020年7月27日 (月) 11:43 (UTC)[返信]

Files that user requested to keep[編集]

Some users ask that the local file on ja.wiki is not deleted even if the file is copied to Commons. All the files end in the same category and it makes it difficult to check and delete all the files that have been transferred correctly. I therefore suggest that files that are requested to keep local are separated from the normal categories.

I made an example on how the template could look if someone requested to keep the file local (change 1) Picture of a garbage bin that have been crossed over, 2) infobox below with info why not to delete and 3) other categories for the files):

To make that the code in "image =" and in the "noinclude"-tag have to be replaced with this code (category names etc. have to be translated):

image = {{#if:{{{2|}}}|[[ファイル:Commons-logo.svg|40px|コモンズ]][[File:Fairytale Trash No.svg|40px|center|Commons]]|[[ファイル:Commons-logo.svg|40px|コモンズ]]}}

...

<includeonly>
{{#if:{{{2|}}}
 |{{#ifeq:{{PAGENAME:{{{1|{{PAGENAME}}}}}}} | {{PAGENAME}} 
   |[[Category:Keep local same name|{{PAGENAME}}]] 
   |[[Category:Keep local other name|{{PAGENAME}}]] 
    }}
 |{{#ifeq:{{PAGENAME:{{{1|{{PAGENAME}}}}}}} | {{PAGENAME}} 
   |[[Category:コモンズに同一・同名のものがあるメディア|{{PAGENAME}}]] 
   |[[Category:コモンズと重複しているメディア|{{PAGENAME}}]] 
    }}
   }}
{{#if:{{{2|}}}
 |{{注意|Do not delete the local version. Reason: {{{2|}}}}}
 |}}</includeonly>

To use the template you add "|2=Some reason to keep the file" in the {{NowCommons}} template:

{{NowCommons|2=Some reason to keep the local file}}

I know that at least 1000 files have been requested to keep locally so there are many files that can't be speedy deleted. --MGA73会話2020年7月30日 (木) 18:27 (UTC)[返信]

Please disregard this suggestion. I was told that there is no policy that say local files can be kept because uploader requested. --MGA73会話2020年9月15日 (火) 10:46 (UTC)[返信]

Link to delete files[編集]

I added a link "Click to delete as ファイル1-5" that can be used when files are deleted. That will eliminate typos and make it easier for the user that delete the file. --MGA73会話2021年3月29日 (月) 21:07 (UTC)[返信]