You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace FwLinks with the actual target links #3391
This is a good issue for people who want to learn how to work on open-source projects.
Our content uses a lot of what we call FwLinks links. Current search brings 2,639 results for FwLink links.
The problem with those is that users have no clue to which site we're taking them if they hover the link with their mouse and also they can only be updated by employees. They were useful back in the day where we could only publish once every couple of weeks or sometimes even months.
We should keep links to downloads intact though.
For people interested in helping with this task, we'd break it down into much smaller issues (like 5-10 links per PR).
2600 links sounds like way too many to do manually, especially at a rate of 10 links per PR. Wouldn't it make more sense to write a program that finds the links, accesses them to find out where they redirect and replaces them?
@mairaw Working on this currently, When you say you want download links intact, does this mean that you want them to remain FWlinks? Also, are we considering download links anything at the download.microsoft domain or are we considering it anything that isn't a web page, such as http://example.com/testfile.exe? And finally are we considering PDF and .TXT download or not if this is the case?
Also, I have noticed a lot of FWLinks in things such as .config example files, I am assuming we are only updating .MD files is this correct?
I have also noticed an xsd XML schema definition, if we are considering any non-webpage is this a download or should it be converted?
Edit: I do currently have a way of doing a mass replace on all instances if a set of basic rules are put in place to avoid replacing downloads
It's fine for folks more experienced or using automated scripts to do at a higher rate.
Since we were targetting this one for new GitHub users, that's why I set the limit. Otherwise, it takes longer for us to review too.
@mairaw This does answer a lot of them, and yea breaking down by folder will make things a bit easier on me too, any preference on starting folder? Also, What about any download.microsoft.com/download/ Links? Are we considering those downloads or just /en-us/download/details.aspx?
yes, let's keep those download.microsoft.com as FwLinks too.
Start with the sub-folders within https://github.com/dotnet/docs/tree/master/docs. You can go in alphabetical order in there, so core, csharp, framework and so on. Would you like me to open sub-issues for these?
No @xaviex. I think our contributor guidelines should contain all our rules. But I'm here to answer any questions you might have.
This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs team for visibility.
Activity
[-]Replace FwLinks/aka.ms with the actual target links[/-][+]Replace FwLinks with the actual target links[/+]svick commentedon Oct 13, 2017
2600 links sounds like way too many to do manually, especially at a rate of 10 links per PR. Wouldn't it make more sense to write a program that finds the links, accesses them to find out where they redirect and replaces them?
xaviex commentedon Oct 16, 2017
@mairaw Working on this currently, When you say you want download links intact, does this mean that you want them to remain FWlinks? Also, are we considering download links anything at the download.microsoft domain or are we considering it anything that isn't a web page, such as http://example.com/testfile.exe? And finally are we considering PDF and .TXT download or not if this is the case?
Also, I have noticed a lot of FWLinks in things such as .config example files, I am assuming we are only updating .MD files is this correct?
I have also noticed an xsd XML schema definition, if we are considering any non-webpage is this a download or should it be converted?
Edit: I do currently have a way of doing a mass replace on all instances if a set of basic rules are put in place to avoid replacing downloads
mairaw commentedon Oct 16, 2017
It's fine for folks more experienced or using automated scripts to do at a higher rate.
Since we were targetting this one for new GitHub users, that's why I set the limit. Otherwise, it takes longer for us to review too.
Thank you for taking this on @xaviex. My suggestion is that even with a script, we break down the PRs by folder.
For example:
https://github.com/dotnet/docs/tree/master/docs/core
https://github.com/dotnet/docs/tree/master/docs/framework
etc.
For downloads, what I meant is for links that go to https://www.microsoft.com/en-us/download/details.aspx to be kept as FwLinks. I think that everything else can be changed to their regular links.
Let's start with the .md and .xml files (which is our API reference) and then we see if we wanna change the rest.
Does that answer all your questions?
xaviex commentedon Oct 16, 2017
@mairaw This does answer a lot of them, and yea breaking down by folder will make things a bit easier on me too, any preference on starting folder? Also, What about any download.microsoft.com/download/ Links? Are we considering those downloads or just /en-us/download/details.aspx?
Here is an example link: "http://download.microsoft.com/download/5/9/9/599CF8A9-5FE2-426A-A536-A83F84D38BF9/WF4%20State%20Machine%20Guidance.doc"
xaviex commentedon Oct 16, 2017
@mariaw Also, As this is my first major push, are there any significant rules I should be following other than what is in the contributor guidelines?
mairaw commentedon Oct 16, 2017
yes, let's keep those download.microsoft.com as FwLinks too.
Start with the sub-folders within https://github.com/dotnet/docs/tree/master/docs. You can go in alphabetical order in there, so core, csharp, framework and so on. Would you like me to open sub-issues for these?
No @xaviex. I think our contributor guidelines should contain all our rules. But I'm here to answer any questions you might have.
xaviex commentedon Oct 16, 2017
If you could create those sub-issues that would be fantastic thank you!
xaviex commentedon Oct 16, 2017
@mairaw Okay, I'm set up to do each folder, Do you want me to use issue numbers in commit summaries?
xaviex commentedon Oct 16, 2017
@mairaw I just realized that /core/ only has one location that actually needs to be changed, do we want that to be its own issue or no?
28 remaining items
updating links from fwlink to real link if exists (#16730)
updating links from fwlink to real link if exists (#16740)
updating links from fwlink to real link if exists (#16835)
updating links from fwlink to real link if exists (#17016)
updating links from fwlink to real link if exists (#17023)
updating links from fwlink to real link if exists (#17047)
updating links from fwlink to real link if exists (#17051)
updating links from fwlink to real link if exists - contributes to #3391
updating links from fwlink to real link if exists (#17091)
updating links from fwlink to real link if exists (#17399)
Fix default checksum algorithm (#18956)
dotnet-bot commentedon Jan 25, 2021
This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the
@dotnet/docsteam for visibility.