---Background--- After the import from vim.org, we have these VimTip redirects: - 36 tips that we have removed - 200 tips that were missing from vim.org - 15 tips that were duplicated on vim.org - 1253 tips that we have kept
There were 31 tips with illegal titles which caused the import to fail. I have manually imported 17 of them, and converted the others to Removed (see earlier email). The missing tips are from spam deleted on vim.org. After the import, the deleted tips have a VimTip redirect that leads to a generic [[TipDoesNotExist]] page. For example, see tip 56 (note that there is no previous/next tip link): http://vim.wikia.com/wiki/VimTip56 I have confirmed (with a script) that the missing tips really do not exist. There was one exception - see http://vim.wikia.com/wiki/VimTip431 for a tip which used to be "missing", but which I have manually imported. Duplication of tips sometimes occurred on vim.org, because the author uploaded the tip more than once, so the tip title and body were identical. When these were imported, only the tip with the highest tip number was kept (because of the identical titles). For example, visiting tip 499 actually opens tip 502: http://vim.wikia.com/wiki/VimTip499 For the record, here are the ids of the tips that are duplicated on vim.org. Each line shows a set of duplicate tips. I have confirmed that the highest tip number is the one that we have, and is the one that we want to keep. 62 63 245 246 274 275 276 277 292 338 499 500 501 502 512 513 514 544 545 703 705 706 856 857 943 944 Tips 292 and 338 were different, but had the same information. I have put all useful info from 292 into 338. Similarly, tips 245 and 246 were different; 246 was an improved version of 245. ---Plan--- We have 36+200+15 = 251 VimTip pages for nonexistent tips (and that number will grow as we remove more tips, after merging). I aim to provide templates to clarify what's happened, and to provide better tip navigation. I will change the Removed template, and create two new templates: {{Removed|id|info=info|prev=prev|next=next}} {{OriginalMissing|id|prev=prev|next=next}} {{OriginalDuplicate|id|goto|prev=prev|next=next}} A script will determine the correct previous and next tip numbers to be used. I have a plan to periodically verify that the prev/next links are correct, but it doesn't matter if that plan fails. So long as it is done correctly once, it will be a big improvement over the current situation. The OriginalMissing and OriginalDuplicate tips will never change. The only problem is that we will convert more tips to Removed. As far as tip navigation is concerned, the worst case will be that clicking 'Next tip' (or 'Previous tip') would lead to a Removed tip. That's what happens now, and is not really a big problem. The new scheme will greatly improve the current navigation (particularly with the missing tips which currently have no prev/next). When all that's done, I'm going to change {{Tip}} to accept prev/next arguments. I'll create {{Tip2}} for testing. After I've verified that it works in a few tips, I'll think about replacing {{Tip}} with {{Tip2}}, and deleting {{Tip2}}. See http://vim.wikia.com/wiki/VimTip246 for an example where the author has manually inserted a 'Previous tip (actual)' link to overcome the current broken 'Previous tip' link. John _______________________________________________ Vim-l mailing list [email protected] http://lists.wikia.com/mailman/listinfo/vim-l
