Help:Downloading pages/pt

From Meta, a Wikimedia project coordination wiki

Hiperligações 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)
O que interliga aqui 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) | Alterações 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
Registar e preferências
Iniciar Sessão · Preferências · Estilo do Utilizador
Edição
Iniciar 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
Hiperligações · URL · Hiperligações associadas · Interligar 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 Ficheiros e Imagens
Corrigir erros
Mostra Pré-visualização · Testes · Reverter Edições
Funionamento avançado
Expansão · Modelo · Modelos Avançados · 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
Other languages:


Transferir uma página da MediaWiki[edit]

w:Webpage#Saving_a_webpage shows the possibilities for saving a local copy of a webpage. Alternatively (or in addition) one can copy the wikitext, i.e. the text in the edit box (the source code within the database).

Informação na página da Web, mas não no texto wiki:

  • images
  • content of templates referred to
  • values of variables
  • existence at the time of saving of linked internal pages
  • date and time of the last edit before saving
  • in the Image namespace (Image description pages): the image itself, the image history and the list of pages linking to the image
  • in the Category namespace: the lists of subcategories and pages in the category.
  • in the case of wikitext of e.g. the form {{#expr:..}}: the result.

Informação no texto wiki, mas não na págian da Web:

  • comments (even though HTML also allows comments)
  • names of variables, parser functions and templates referred to
  • in the case of wikitext of e.g. the form {{#expr:..}}: the numerical expression

Additionally one could save the wikitext and documentation of the templates used, and intermediate results of processing the page, such as the XML parse tree and the expanded wikitext.

Consulte também exrpotar XML, arquitetura da MediaWiki.

Transferir algumas páginas interligadas pages[edit]

When saving a local copy of some MediaWiki pages, note the following.

A link to e.g. the train article in Wikipedia is given in the HTML-code as /wiki/Train . This refers to http://en.wikipedia.org/wiki/Train . Depending on your browser settings the former may be changed into the latter when saving the page. To avoid this, apply View Source and save that.

Put the copy in folder C:\wiki (another drive letter is also possible, but wiki should not be a subfolder) and do not use any file name extension. This way the links work. Inconvenient is that you can not open a file in a folder listing by clicking on it, because of the lack of a file name extension.

A problem with saving the source code is that images are not saved automatically with the page. Saving them separately in a place corresponding to the HTML code is cumbersome, e.g. the first image of the train article would have to be C:/upload/thumb/c/c2/250px-Tile_Hill_train_550.jpg

If the images are more important than the mutual links, then use the browser option to save the webpage with images.

Of course variations are possible by changing the HTML-code oneself, e.g. changing http://en.wikipedia.org to C: and/or adding the file name extension .htm .

On some sites outside Wikimedia, instead of "\wiki" another folder has to be used, see Help:URL.

When downloading pages from different sites to the same folder \wiki on the same drive, note that a page name can only be used once.

Consulte também[edit]