Wikipedia talk:WikiProject JavaScript: Difference between revisions
Content deleted Content added
→The whole regex: add explanation |
|||
Line 227:
The script goes through the list multiple times, until it no longer finds dead end redlinks. This is because when it removes a redlinked end node, that may cause its redlinked parent to become a dead end node (such as when it has no other children). Multiple iterations catch these. So the entire branch starting with Redlink 10 will be deleted.
Here is the problem I've run into: the script currently and erroneously deletes the Redlink 3 list item. Because $1\
All this processing is to be done in the editor, so that the redlinked entries are actually removed from the article. [[User talk:The Transhumanist|<i>The Transhumanist</i>]] 22:54, 6 May 2017 (UTC)
|