Help:Image page/pt-br

From Meta, a Wikimedia project coordination wiki
Manual do MediaWiki: Conteúdo, Leitores, Editores, Moderadores, Administradores, Pesquisadores +/-

Cada arquivo enviado tem uma "página de imagem" associada como o qual é usado descrição da página de imagem, dando informação sobre a imagem. Este termo também é aplicado no caso de outros tipos de arquivos, arquivos notavelmente são, por exemplo Image:Schubert- Impromptu B-flat1.ogg.

Local do arquivo e da página de imagem[edit]

Se uma família de projetos tem um projeto Commons , tipicamente o arquivo é transferido em Câmara dos Comuns. A página de imagem dá informação de direitos autorais lá.

Na sintaxe de imagem interna [[Image:filename]], [[:Image:filename]], or [[Media:filename]], o filename é assumido recorrendo a um no mesmo projeto se existir lá, caso contrário para um em Câmara dos Comuns. Ao escolher um nome para um arquivo em Câmara dos Comuns, não use um nome que já está em uso em qualquer projeto no qual o arquivo pode ser usado, a menos que o arquivo novo deva substituir o arquivo local que então será apagado ou a menos que a imagem de Câmara dos Comuns deva ser substituída localmente com uma versão local sem trocar as ligações.

Uma imagem em Câmara dos Comuns pode ter uma página de imagem separada em todo projeto que não tem outra imagem com o mesmo nome (que bloquearia acesso à imagem em Câmara dos Comuns).

A imagem é unida à página de descrição de imagem local que, devido aos conteúdos de MediaWiki:Sharedupload, é unida a uma em Câmara dos Comuns onde a imagem foi transferida. Veja alguns conteúdos locais de [[MediaWiki:Sharedupload]] : Meta-wiki, English, e Italian (Nota que a ligação dos conteúdos chamados para Câmara dos Comuns não pode conduzir a uma real imagem).

Para encontrar saida em qual páginas de qual projetos uma imagem em Câmara dos Comuns é usada, é importante unir a página de imagem em Câmara dos Comuns para toda a imagem local da pagina dessa imagem. Até mesmo se a página de imagem local nunca foi criada explicitamente e foi tida um editável vazio então partir, uma ligação para a página produz uma página com uma seção de " ligação para imagem" que mostra as páginas locais que usam a imagem.

A característica interlanguage link trabalha em Câmara dos Comuns, e produz ligações ao Wikipedias. São mostradas ligações para outros projetos em-página. Por exemplo commons:Image:Blank Go board.png.

Conteúdos da página de imagem[edit]

A página de descrição consiste em cinco partes:

  • O índice sobre a imagem (box ao longo do topo que diz Imagem, história de Arquivo, ligações de Arquivo, etc.) [1]
  • The image itself.[2]
  • Description of the image or other uploaded file - you can add a description by editing the image page.
  • "File history".[3] See page history
  • "Links" Pages which have the image.[4]
    • "Links" does not list links to the image page

Unindo a uma imagem sem inclusive a imagem[edit]

To make a link to the image description page of a sound file, or of an image without including the actual image, use a link like: [[:Image:a_sound.ogg]] or [[:Image:an_image.jpg]]. In the case of an image, the leading colon prevents the image being embedded in the article, and instead makes an ordinary link. In the case of a sound, automatically playing the sound is not possible anyway.

Editando os conteúdos da página de imagem[edit]

As informações de layout para a página de imagem podem ser encontradas em wiki/includes/ImagePage.php.

Em seu site de mediawiki, as páginas seguintes [5] edite o system messages da página de Imagem:

Mediawiki page Edits the text:
Directly below the image
MediaWiki:Showbigimage Download high resolution version ($1x$2, $3 KB)
In the "File history" section[6] of a Image page:
MediaWiki:filehist File history
MediaWiki:filehist-help Click on a date/time to view the file as it appeared at that time.
MediaWiki:filehist-deleteall Delete all[7]
MediaWiki:Uploadnewversion-linktext Upload a new version of this file[8][9]
MediaWiki:Edit-externally Edit this file using an external application[10]
MediaWiki:Edit-externally-help See the setup instructions for more information.
In the "Links" section of a Image page:
MediaWiki:Imagelinks Links
MediaWiki:Linkstoimage The following pages link to this file:
In the "Metadata" section of a Image page:
MediaWiki:metadata-help This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified image.

The following are the names of the headers in the file skins/monobook/main.css:

  • filetoc -- Table of contents box above the image.
  • filehistory -- "File history" header
  • filelinks -- "Links" header
  • metadata -- "Metadata" header
  • siteSub -- ???
  • contentSub -- ???

The following is the code for certain sections of an Image Page, found at skins/monobook/main.css:

  • mw_metadata -- "Metadata" graph.
  • .special -- shows the image edit history.
  • .external -- The "Upload a new version of this file" text AND link
Hiding sections of the image page[edit]

Choose which of the following lines to add to MediaWiki:Common.css or skins/monobook/main.css :

#filehistory {display: none} /* Hides the "File history" header */
#filelinks {display: none} /* Hides the "Links" header */
.special {display: none} /* Hides the Edit history */
#metadata {display: none} /* Hides the "Metadata" header */
#siteSub {display: none} /* ??? */
#contentSub {display: none} /* ??? */
#mw_metadata {display: none} /* Hides the Metadata graph */
#filetoc { display: none; } /* Hides the table of contents for an image */

See the graph above to hide each text section.

Moving the added text above the image[edit]

To move the text [text which users add to the page by clicking the edit button] above the page's image, edit includes/ImagePage.php.

Cut:

				Article::view();
			} else {
				# Just need to set the right headers
				$wgOut->setArticleFlag( true );
				$wgOut->setRobotpolicy( 'index,follow' );
				$wgOut->setPageTitle( $this->mTitle->getPrefixedText() );
				$this->viewUpdates();
			}

and paste it above:

	$this->openShowImage();

Contents of the image page on Commons[edit]

For an image on Commons, the following is shown in addition on the local image page. If the projects are distinguished by language, then the local image page can contain info about the image in the local language. It also allows categorizing the image within the local category system, and shows the local pages that use the image (see e.g. Image:Tst.png).

  • the message in MediaWiki:Sharedupload
  • the rendering of the editable content on Commons, including content transcluded from other pages on Commons; sections are not numbered and not in the TOC; category tags are ignored; internal links within Commons are rendered in the style of internal links, but link to Commons; existence detection with regard to existence on Commons works; variables depending on the site refer to Commons; with regard to noinclude and includeonly tags this is not considered transclusion; avoid specifying an absolute position in the wikitext of the Commons page, as it may interfere with the lay-out of the corresponding local image pages.

Editing an image page[edit]

The image page also has an edit history, which is in general the edit history of the editable contents of the page; it is labeled, somewhat confusingly, Image:xxx Revision history. It should not be confused with the Image history.

The preview of the edit page of an image page only shows the editable part, not the image itself, the image history or the image links.

Through this edit page one cannot edit the image file itself: revising an image file requires a new upload.

Useful things to include on an image page[edit]

In the description part of the page you can put text. Initially the description part automatically contains the upload summary supplied by the user when uploading the first version (this text also shows up in the Image history section at the first upload line).

What follows refers to images in particular. For sound files, see also w:Wikipedia:Media.

Description of the image[edit]

Eg: "Image of a goldfish in a small tank". This should not be an alternative text (see alternative text for images), but rather a description. This is useful for users who do not have direct access to the image, and is a temporary substitute for a proper longdesc tag.

You could also include the proportions of the image, in pixels.

Other versions[edit]

If other versions (especially a larger version) of the same image exists, link to them. For example:

  • [[Media:Goldfish-in-tank-large.jpg|larger version]] ([[:Image:Goldfish-in-tank-large.jpg|info]])
  • [[Media:Goldfish-in-tank2.jpg|different camera angle]] ([[:Image:Goldfish-in-tank2.jpg|info]])
  • [[Media:Goldfish-in-tank-textfree.jpg|textfree version]] ([[:Image:Goldfish-in-tank-textfree.jpg|info]])

Textfree versions may be useful for using across language versions.

Categorizing images[edit]

By adding a category tag on the image page, images can be in the same category as other pages, but are treated separately: on the category page they are not included in the count of articles in the category, and they are displayed in a separate section, with a thumbnail and the name for each, see category page.

On Commons there are essentially only images. On projects with real articles a category can either mix articles and images about a subject, or one has separate image categories. An image category is typically a subcategory of the general category about the same subject, and a subcategory of a wider image category.

For categorizing a new image, the image page does not even have to be edited: the category tag can simply be put in the upload summary.

Nonexisting image[edit]

Nonexisting images show no image history section, see e.g. Image:Stop sign us.JPG.

Protection[edit]

Protection of an image page is automatically also protection of the image itself: i.e. a new image under the name of the existing image can only be uploaded by a sysop.

Notes[edit]

  1. Chamar ' filetoc', este índice é encontrado em skins/monobook/main.css e pode ser anulado por MediaWiki:Monobook.css
  2. In the case of an image proper the image page shows the full image (elsewhere often only a reduced version is shown), or, depending on preferences, a reduced version with a link to the full version, labeled "Download high resolution version (..x.., .. KB)".
  3. On Wikipedia, "File history" has been changed to "Image history".
  4. Links does not list the rare case of an uploaded html file linking to the image.
  5. Uma lista destas páginas pode ser encontrada ema Special:Allmessages
  6. Delete the following in imagepage.php: To delete the entire File history section:
    $this->imageHistory();

    To delete the file history line [example:(Delete all revisions of this file) (cur) 20:08, 16 December 2007 . . Admin (Talk | contribs | block) . . 100×100 (8,404 bytes]):

    $s = "<li> ({$dlink}) ({$rlink}) <a href=\"{$url}\"{$style}>{$datetime}</a> . . {$userlink} . . {$widthheight} ({$nbytes})";
    $s .= $this->skin->commentBlock( $description, $wgTitle );
  7. Available to administrators only
  8. Delete the following in imagepage.php, to delete the text "Upload a new version of this file" and the link:
    if( $wgUser->isAllowed( 'reupload' ) ) {
    			$ulink = $sk->makeExternalLink( $this->getUploadUrl(), wfMsg( 'uploadnewversion-linktext' ) );
    			$wgOut->addHtml( "<li><div>{$ulink}</div></li>" );
    		}
  9. If this text is completely deleted from MediaWiki:Uploadnewversion-linktext, annoyingly, the link remains. Even deleting MediaWiki:Uploadnewversion-linktext will not delete the link.
  10. Delete the following in imagepage.php, to delete this link:
    $elink = $sk->makeKnownLinkObj( $this->mTitle, wfMsg( 'edit-externally' ), 'action=edit&externaledit=true&mode=file' );
    $wgOut->addHtml( '<li>' . $elink . '<div>' . wfMsgWikiHtml( 'edit-externally-help' ) . '</div></li>' );
    

See also[edit]

Links para outras páginas de ajuda[edit]

Conteúdos da Ajuda
Meta · Wikinotícias · Wikipédia · Wikiqcitações · Wikcionário · Commons: · Wikidados · MediaWiki · Wikilivros · Wikisource · MediaWiki: Manual · Google
Versões desta página de ajuda (para outros idiomas, veja mais)
Lisks no Meta ou de Meta · Wikipédia · MediaWiki
Leitura
Ir · Pesquisar · Espaço Nominal · Nome da Página · Secção · Backlinks · Redirecionamentos · Categoria · Página da Imagem · Páginas especiais · Versão Imprimível
Monitorizar alterações
Alterações recentes (otimizadas) | Mudanças relacionadas · Páginas de vigia · Diferenças · Histórico da página · Resumo da edição · Contribuições do utilizador · Edição menor · Edição patrulhada
Cadastrar e preferências
Entrar · Preferências · Estilo do usuário
Edição
Começar uma nova página · Edição avançada · Editar as «Perguntas Mais Frequentes» · Exportar · Importar · Atalhos · Conflito de Edição · Tamanho da página
Referenciar
Link · URL · Link associados · Adicionar Interwiki · Notas de Rodapé
Estilo e formatação
Exemplos de Texto da Wiki · CSS · Cartão de referência · HTML no Texto da Wiki · Fórmula · Lista · Tabela · Ordenação · Cores · Envios de Arquivos e imagens
Corrigir erros
Mostra Pré-visualização · Testes · Reverter edições
Funionamento avançado
Expansão · Modelo · Predefinições avançadas · Função do analisador · Parâmetro Predefinido · Variável · Mensagem do sistema · Substituição · Array · Calculo · Integrar página
Outros
Carateres Especiais · Renomear (mover) uma página · Preparar uma página para tradução · Página de Discussão · Assinaturas · Página de Testes (Sandbox) · Problemas legais para os editores