Exibe os DOIs de acordo com as diretrizes do Crossref#708
Merged
joffilyfe merged 1 commit intoscieloorg:masterfrom Feb 12, 2020
Merged
Exibe os DOIs de acordo com as diretrizes do Crossref#708joffilyfe merged 1 commit intoscieloorg:masterfrom
joffilyfe merged 1 commit intoscieloorg:masterfrom
Conversation
Este commit altera trechos de código que de alguma forma manipulam, transformam e exibem os DOIs nas páginas de texto completo, texto completo plus, "como citar" e "nlinks". Seguindo as diretrizes do Crossref, os DOIs serão exibidos da seguinte forma `https://doi.org/<doi>`. Também é necessário que o texto seja representado como um link ( `<a>`). Não foram aplicados estilos em cascata para alterar a exibição, as cores, tamanhos ou fontes dos links.
7150840 to
1c07c6d
Compare
Contributor
|
Ainda não consigo aplicar o patch no meu repositório local. gustavofonseca@srm-matriz-old:Web (rev708) git apply --check /tmp/708.patch
error: patch failed: cgi-bin/ScieloXML/sci_isoref.xis:274
error: cgi-bin/ScieloXML/sci_isoref.xis: patch does not apply
error: patch failed: cgi-bin/ScieloXML/sci_nlinks.xis:194
error: cgi-bin/ScieloXML/sci_nlinks.xis: patch does not apply
error: patch failed: cgi-bin/ScieloXML/sci_reflinks.xis:164
error: cgi-bin/ScieloXML/sci_reflinks.xis: patch does not apply
error: patch failed: htdocs/xsl/plus/data.xsl:347
error: htdocs/xsl/plus/data.xsl: patch does not apply
error: patch failed: htdocs/xsl/plus/layout.xsl:231
error: htdocs/xsl/plus/layout.xsl: patch does not apply
error: patch failed: htdocs/xsl/sci_common.xsl:1095
error: htdocs/xsl/sci_common.xsl: patch does not apply |
Author
|
@gustavofonseca não sei o porque deste erro no seu repositório local. Tentei reproduzir da seguinte forma:
O resultado foi: joffily@lb-rancher ~/Web> git status master!?
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: cgi-bin/ScieloXML/sci_isoref.xis
modified: cgi-bin/ScieloXML/sci_nlinks.xis
modified: cgi-bin/ScieloXML/sci_reflinks.xis
modified: htdocs/xsl/plus/data.xsl
modified: htdocs/xsl/plus/layout.xsl
modified: htdocs/xsl/sci_common.xsl
Untracked files:
(use "git add <file>..." to include in what will be committed)
708.patch
no changes added to commit (use "git add" and/or "git commit -a") |
Contributor
|
@joffilyfe, acredito que havia alguma sujeira na minha cópia local. Após eu limpá-la a aplicação do patch passou a ser possível. Malz pelo alarme falso rs. |
jamilatta
approved these changes
Feb 11, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que esse PR faz?
Este pull request realiza alterações pontuais nos arquivos que de alguma maneira exibem os
DOIsdos artigos. As páginas de texto completo, "como citar" e "nlinks" foram modificadas.Onde a revisão poderia começar?
htdocs/xsl/sci_common.xslL:1098Como este poderia ser testado manualmente?
Para testar este PR manualmente, deve-se:
DOI;"como citar";arttext_plus;Algum cenário de contexto que queira dar?
Não foram aplicados estilos em cascata para alterar a exibição, as cores, tamanhos ou fontes dos links. Sendo assim os links não terão uma aparência especial.
Screenshots
Quais são tickets relevantes?
N/A
Referências
[1] - Crossref DOI Guidelines_pt
Comandos
[2] - Criando uma nova instância de scielo metodologia