

The common reasons given why Wikipedia shouldn’t be cited is often missing the main reason. You shouldn’t cite Wikipedia because it is not a source of information, it is a summary of other sources which are referenced.
You shouldn’t cite Wikipedia for the same reason you shouldn’t cite a library’s book report, you should read and cite the book itself. Libraries are a great resource and their reading lists and summaries of books can be a great starting point for research, just like Wikipedia. But citing the library instead of the book is just intellectual laziness and shows to any researcher you are not serious.
Wikipedia itself also says the same thing: https://en.m.wikipedia.org/wiki/Wikipedia:Citing_Wikipedia
The same thing can be true about variable names, and it is often more time consuming and error prone to change a variable name to match its new meaning than to simply update a comment. Especially if the variable name is public facing through an API or library then there is a huge cost to change the name everywhere that might reference it.