Talk:Flora of Malta/Archive 1

Latest comment: 2 years ago by Ahecht in topic Red links

Red links edit

console.log(Array.from($('.new')).map(x => "* [[" + x.title.replace(' (page does not exist)', '') + "]]").join("\n")) 

I've generated the list as shown on the Village Pump. —  Jts1882 | talk  12:26, 8 January 2022 (UTC)Reply

Thanks so much Jts1882, really appreciate it, is it possible to just explain in a few steps how to do this for people who haven't used the developer tools in a browser before? John Cummings (talk) 12:59, 10 January 2022 (UTC)Reply
I use Firefox, but other browsers have similar tools.
  • While viewing the page, right click the mouse and select "Inspect".
  • Next select the console tab.
  • Then copy the console.log() code give above (this was given by someone on the VP tech page) and paste after the prompt.
  • Press enter and the list is generated.
  • I just used a copy and paste from there.
For some reason the line breaks don't work which is why there isn't a nice bulleted list above, but this can be fixed with find and replace in the editor if required. —  Jts1882 | talk  13:10, 10 January 2022 (UTC)Reply
In Chrome on Windows, F12 or Ctrl-Shift-I brings up the Developer tools. If you don't see the console in the developer tools, hit the ESC key, which should make it pop up at the bottom. --Ahecht (TALK
PAGE
) 18:09, 10 January 2022 (UTC)Reply