Page MenuHomePhabricator

Wrong parameter used by InternetArchive bot in glwiki (extra code " == DeadURL or "non" in urlmorta)
Closed, ResolvedPublic

Description

Affected wiki(s):
gl.wiki

Diff(s) (if applicable):
https://gl.wikipedia.org/w/index.php?title=Campo_Municipal_de_F%C3%BAtbol_Ara_Solis&diff=6036699&oldid=5898198

What is happening?:

The code for setting the url status fails. The parameters for gl.wiki are: name: "urlmorta" values="si" or "non" (yes/non are also accepted).
The code inserts :
url-morta=no (with - ) and adds
"== DeadURL or "non
which appears as wrong in a message displayed on the page

What should happen instead?:

https://gl.wikipedia.org/w/index.php?title=Campo_Municipal_de_F%C3%BAtbol_Ara_Solis&diff=next&oldid=6036699

List of steps to reproduce (step by step, including full links if applicable):

  • check the name of the parameter when the list of pages to fix: is created: it should be urlmorta instead of url-morta

*remove the extra code " == DeadURL or "non"

  • revise whether it happens also with values= yes/si

Other information:
A few days ago I wrote another report because the bot was adding "-" in the parameters/fields names for glwiki (urlmorta, dataarquivo, urlarquivo). In wiki code they have (as far as I know)always been without dash. However, I've just revised visual editor interface and those fields appeared labelled with a middle -, although they end codified in wikitext as always, without a dash. I have no idea when this changes in visual editor were made or by who, but the wikitext recognises as wrong the parameters with middle "-"

Event Timeline

Reedy renamed this task from Wrong parameter used by InternetARchive bot in Gl.wiki (extra code " == DeadURL or "non" in urlmorta) to Wrong parameter used by InternetArchive bot in glwiki (extra code " == DeadURL or "non" in urlmorta).Apr 12 2022, 12:23 AM
Cyberpower678 claimed this task.