Skip to content

Replace FwLinks with the actual target links #3391

Closed

Description

@mairaw

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).

Sub-issues:

Activity

  1. added
    help wanted
    on Oct 13, 2017
  2. added this to the Backlog milestone on Oct 13, 2017
  3. changed the title [-]Replace FwLinks/aka.ms with the actual target links[/-] [+]Replace FwLinks with the actual target links[/+] on Oct 13, 2017
  4. svick commented on Oct 13, 2017

    @svick
    Member

    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?

  5. xaviex commented on Oct 16, 2017

    @xaviex
    Contributor

    @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

  6. mairaw commented on Oct 16, 2017

    @mairaw
    ContributorAuthor

    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?

  7. xaviex commented on Oct 16, 2017

    @xaviex
    Contributor

    @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"

  8. xaviex commented on Oct 16, 2017

    @xaviex
    Contributor

    @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?

  9. mairaw commented on Oct 16, 2017

    @mairaw
    ContributorAuthor

    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.

  10. xaviex commented on Oct 16, 2017

    @xaviex
    Contributor

    If you could create those sub-issues that would be fantastic thank you!

  11. xaviex commented on Oct 16, 2017

    @xaviex
    Contributor

    @mairaw Okay, I'm set up to do each folder, Do you want me to use issue numbers in commit summaries?

  12. xaviex commented on Oct 16, 2017

    @xaviex
    Contributor

    @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?

  13. 28 remaining items

  14. added
    won't fix
    on Jan 25, 2021
  15. dotnet-bot commented on Jan 25, 2021

    @dotnet-bot
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedwon't fix

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions