Page MenuHomePhabricator

Converting references with external web links
Open, Needs TriagePublic

Description

Translation of previous comment:

Steps to replicate the issue (include links if applicable):

  1. I prepare an article on en:wikipedia.
  2. Using the visual editor, I start a citation that includes a text and an external link.
  3. When I click insert, the card appears stating: "This reference consists of an external link only. You can use the Convert button below to generate a correctly formatted reference." Note, that in the English version which is the one described here, what is indicated on the card, does not correspond to what actually happens, because it is not true that the reference is composed only of an external link.

4.1 Press convert

What happens?
The citation is reduced to the link to the web page, with the following data.

  • the external link
  • the name of the web page to which it links.
  • the date of access

4.2. Alternative, do not click convert
What happens?
The citation is preserved as written, but if you try to edit the page again, the citation is presented again with the option to convert.
With the drawback that a new editor can hit convert, not realizing that this reduces the content of the quote.

What should have happened instead?

With step 4.1:
It would be desirable to display the quotation including besides the external link (with the information that appears) the text that was written.

With step 4.2:
that once the option to convert has been rejected, the option to convert should no longer be available.

Other information (browser name/version, screenshots, etc.):

Another possible solution, that the option to convert only appears when the citation contains only an external link, without being accompanied by any text

The browser used is Firefox
I include a link to https://en.wikipedia.org/wiki/User:JLVwiki/Workshop where you can check what happens; there is a small difference with respect to the behavior in Spanish Wikipedia, and that is that in English it is not indicated that the reference is composed exclusively of an external link.

Event Timeline

Aklapper changed the task status from Open to Stalled.Apr 28 2023, 2:48 PM

Hi @JLVwiki, thanks for taking the time to report this and welcome to Wikimedia Phabricator! Unfortunately this Wikimedia Phabricator task lacks some information.
If you have time and can still reproduce the situation: Please add a more complete description to this task. That should be

  • a clear and complete list of exact steps to reproduce the situation, step by step, so that nobody needs to guess or interpret how you performed each step,
  • what happens after performing these steps to reproduce,
  • what you expected to happen instead,
  • a full link to a web address where the issue can be seen,
  • the web browser(s) and web browser version(s) that you tested.

In some situations it can also be helpful to know if you see the same behavior when you are not logged in, and your exact MediaWiki version (if it is not on a Wikimedia website) which is shown on Special:Version, and your exact PHP version, etc.

You can edit the task description by clicking Edit Task. Ideally, a good description should allow any other person to follow these steps (without having to interpret steps) and see the same results. Problems that others can reproduce can get fixed faster. Thanks again!

We need:

Steps to replicate the issue (include links if applicable):

What happens?:

What should have happened instead?:

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Steps to replicate the issue (include links if applicable):
1, Preparo un artículo en es:wikipedia

  1. Utilizando el editor visual, inicio una cita que incluye un texto y un enlace externo
  1. Al pulsar insertar aparece la tarjeta en que se indica

"Esta referencia se compone únicamente de un enlace externo. Puedes usar el botón Convertir de abajo para generar una referencia correctamente formateada."
Nótese, que en la versión en español que es la que aquí se describe, lo que se indica en la tarjeta, no responde a lo que realmente sucede, pues no es verdad que la referencia se componga únicamente de un enlace externo.
4.1 Pulso convertir
What happens?:
La cita queda reducida al enlace a la pagina web, con los siguientes datos

  • el enlace externo
  • el nombre de la página web con la que enlaza.
  • la fecha de acceso

4.2. Alternativa, no pulso convertir
What happens?:
La cita se conserva tal como se escribió, pero si se trata de editar de nuevo la página, la cita se presenta de nuevo con la opción de convertir.
Con el inconveniente de que un nuevo editor puede pulsar convertir, no advirtiendo que eso reduce el contenido de la cita.

What should have happened instead?:
Con el paso 4.1:
Sería deseable que apareciese la cita incluyendo además del enlace externo (con la información que aprece) el texto que se escriió
Con el paso 4,2
que una vez rechazada la opción de convertir no se mantuviese esa opción disponible
Software version (skip for WMF-hosted wikis like Wikipedia):
Otra posible solución, que la opción de convertir solo aparezca cuando al cita contiene solo un enlace externo, sin ser acompañado por ningún texto
Other information (browser name/version, screenshots, etc.):
El navegador utilizado es Firefox
Incluyo un enlace a [[ URL | https://en.wikipedia.org/wiki/User:JLVwiki/Workshop ]] en Wikipedia en inglés, donde se puede comprobar lo que sucede; hay una pequeña diferencia respecto al comportamiento en Wikipedia en español, y es que en inglés no se indica que la referencia se compone exclusivamente de un enlace externo

(Moved the last comment into the task description)

Aklapper renamed this task from References with web links to Converting references with external web links.May 4 2023, 12:56 PM
Aklapper changed the task status from Stalled to Open.