summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2019-03-21 16:06:39 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-25 14:02:29 -0400
commit3769e3a829f4514f82ce7f7d218867f1d69d3d38 (patch)
treefdb7a6352c32368f1d80e370c46fe4159507ec4f
parent8e07368faf5090a5ac803f0e4fa3a5a2a4aba05c (diff)
downloadhaskell-3769e3a829f4514f82ce7f7d218867f1d69d3d38.tar.gz
Update Wiki URLs to point to GitLab
This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
-rw-r--r--.circleci/config.yml2
-rw-r--r--.gitlab/merge_request_templates/merge-request.md4
-rw-r--r--.mailmap4
-rw-r--r--ANNOUNCE4
-rw-r--r--HACKING.md18
-rw-r--r--INSTALL.md2
-rw-r--r--MAKEHELP.md6
-rw-r--r--Makefile4
-rw-r--r--README.md18
-rw-r--r--aclocal.m44
-rw-r--r--bindisttest/Makefile4
-rw-r--r--bindisttest/ghc.mk4
-rwxr-xr-xboot6
-rw-r--r--compiler/Makefile4
-rw-r--r--compiler/basicTypes/MkId.hs2
-rw-r--r--compiler/basicTypes/Module.hs2
-rw-r--r--compiler/basicTypes/RdrName.hs2
-rw-r--r--compiler/basicTypes/Unique.hs4
-rw-r--r--compiler/cmm/CLabel.hs2
-rw-r--r--compiler/cmm/PprC.hs4
-rw-r--r--compiler/cmm/cmm-notes4
-rw-r--r--compiler/codeGen/StgCmmTicky.hs2
-rw-r--r--compiler/coreSyn/CoreLint.hs2
-rw-r--r--compiler/deSugar/Check.hs2
-rw-r--r--compiler/deSugar/DsBinds.hs4
-rw-r--r--compiler/ghc.mk4
-rw-r--r--compiler/ghci/GHCi.hs4
-rw-r--r--compiler/hsSyn/HsDecls.hs2
-rw-r--r--compiler/hsSyn/HsExtension.hs2
-rw-r--r--compiler/iface/IfaceSyn.hs2
-rw-r--r--compiler/iface/MkIface.hs4
-rw-r--r--compiler/iface/TcIface.hs2
-rw-r--r--compiler/main/DynFlags.hs4
-rw-r--r--compiler/main/HscTypes.hs2
-rw-r--r--compiler/main/Plugins.hs2
-rw-r--r--compiler/main/TidyPgm.hs4
-rw-r--r--compiler/nativeGen/BlockLayout.hs2
-rw-r--r--compiler/nativeGen/X86/Ppr.hs2
-rw-r--r--compiler/parser/ApiAnnotation.hs4
-rw-r--r--compiler/parser/Lexer.x2
-rw-r--r--compiler/parser/Parser.y4
-rw-r--r--compiler/prelude/primops.txt.pp4
-rw-r--r--compiler/rename/RnNames.hs2
-rw-r--r--compiler/rename/RnSplice.hs2
-rw-r--r--compiler/simplStg/StgLiftLams.hs2
-rw-r--r--compiler/simplStg/StgLiftLams/Analysis.hs4
-rw-r--r--compiler/stgSyn/CoreToStg.hs2
-rw-r--r--compiler/typecheck/TcCanonical.hs2
-rw-r--r--compiler/typecheck/TcDeriv.hs4
-rw-r--r--compiler/typecheck/TcEvidence.hs2
-rw-r--r--compiler/typecheck/TcGenFunctor.hs2
-rw-r--r--compiler/typecheck/TcGenGenerics.hs2
-rw-r--r--compiler/typecheck/TcMType.hs4
-rw-r--r--compiler/typecheck/TcRnDriver.hs2
-rw-r--r--compiler/typecheck/TcRnTypes.hs2
-rw-r--r--compiler/typecheck/TcTypeNats.hs2
-rw-r--r--compiler/types/TyCoRep.hs2
-rw-r--r--compiler/utils/Fingerprint.hsc2
-rw-r--r--configure.ac2
-rw-r--r--distrib/remilestoning.pl2
-rw-r--r--docs/core-spec/core-spec.mng4
-rw-r--r--driver/Makefile4
-rw-r--r--driver/ghc.mk4
-rw-r--r--driver/ghc/ghc.mk4
-rw-r--r--driver/ghci/Makefile4
-rw-r--r--driver/ghci/ghc.mk4
-rw-r--r--driver/haddock/ghc.mk4
-rw-r--r--ghc.mk18
-rw-r--r--ghc/Makefile4
-rw-r--r--ghc/ghc.mk4
-rw-r--r--hadrian/README.md6
-rw-r--r--hadrian/doc/windows.md2
-rw-r--r--hadrian/src/Oracles/Setting.hs2
-rw-r--r--hadrian/src/Settings/Packages.hs2
-rw-r--r--includes/Cmm.h2
-rw-r--r--includes/MachDeps.h2
-rw-r--r--includes/Makefile4
-rw-r--r--includes/Rts.h2
-rw-r--r--includes/RtsAPI.h2
-rw-r--r--includes/Stg.h2
-rw-r--r--includes/ghc.mk4
-rw-r--r--includes/rts/Adjustor.h2
-rw-r--r--includes/rts/BlockSignals.h2
-rw-r--r--includes/rts/Config.h2
-rw-r--r--includes/rts/Constants.h2
-rw-r--r--includes/rts/EventLogWriter.h2
-rw-r--r--includes/rts/FileLock.h2
-rw-r--r--includes/rts/Flags.h2
-rw-r--r--includes/rts/GetTime.h2
-rw-r--r--includes/rts/Globals.h2
-rw-r--r--includes/rts/Hpc.h2
-rw-r--r--includes/rts/IOManager.h2
-rw-r--r--includes/rts/Linker.h2
-rw-r--r--includes/rts/Messages.h2
-rw-r--r--includes/rts/OSThreads.h2
-rw-r--r--includes/rts/Parallel.h2
-rw-r--r--includes/rts/PrimFloat.h2
-rw-r--r--includes/rts/Profiling.h2
-rw-r--r--includes/rts/Signals.h2
-rw-r--r--includes/rts/SpinLock.h2
-rw-r--r--includes/rts/StableName.h2
-rw-r--r--includes/rts/StablePtr.h2
-rw-r--r--includes/rts/StaticPtrTable.h2
-rw-r--r--includes/rts/TTY.h2
-rw-r--r--includes/rts/Threads.h2
-rw-r--r--includes/rts/Ticky.h2
-rw-r--r--includes/rts/Time.h2
-rw-r--r--includes/rts/Timer.h2
-rw-r--r--includes/rts/Types.h2
-rw-r--r--includes/rts/Utils.h2
-rw-r--r--includes/rts/prof/CCS.h2
-rw-r--r--includes/rts/prof/LDV.h2
-rw-r--r--includes/rts/storage/MBlock.h2
-rw-r--r--includes/stg/DLL.h2
-rw-r--r--includes/stg/HaskellMachRegs.h2
-rw-r--r--includes/stg/MachRegs.h2
-rw-r--r--includes/stg/MiscClosures.h6
-rw-r--r--includes/stg/Prim.h2
-rw-r--r--includes/stg/Regs.h2
-rw-r--r--includes/stg/RtsMachRegs.h2
-rw-r--r--includes/stg/SMP.h2
-rw-r--r--includes/stg/Ticky.h2
-rw-r--r--includes/stg/Types.h2
-rw-r--r--libffi/Makefile4
-rw-r--r--libffi/ghc.mk4
-rw-r--r--libraries/base/Data/Coerce.hs2
-rw-r--r--libraries/base/Data/Typeable.hs2
-rw-r--r--libraries/base/GHC/OverloadedLabels.hs2
-rw-r--r--libraries/base/GHC/Records.hs2
-rw-r--r--libraries/ghc-heap/GHC/Exts/Heap/Closures.hs2
-rw-r--r--libraries/integer-gmp/changelog.md4
-rw-r--r--libraries/integer-gmp/gmp/ghc.mk4
-rw-r--r--libraries/integer-gmp/src/GHC/Integer.hs2
-rw-r--r--libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs2
-rw-r--r--libraries/integer-simple/GHC/Integer/Type.hs2
-rw-r--r--libraries/libiserv/Makefile4
-rw-r--r--libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs6
-rw-r--r--mk/build.mk.sample2
-rw-r--r--mk/compiler-ghc.mk4
-rw-r--r--mk/config.mk.in2
-rw-r--r--mk/project.mk.in2
-rw-r--r--mk/warnings.mk2
-rw-r--r--rts/Capability.h2
-rw-r--r--rts/Interpreter.c2
-rw-r--r--rts/Libdw.h2
-rw-r--r--rts/Makefile4
-rw-r--r--rts/StaticPtrTable.c4
-rw-r--r--rts/Task.h2
-rw-r--r--rts/Ticky.c2
-rw-r--r--rts/ghc.mk6
-rw-r--r--rts/hooks/Hooks.h2
-rw-r--r--rts/sm/CNF.h2
-rw-r--r--rts/sm/Compact.c2
-rw-r--r--rts/sm/Compact.h2
-rw-r--r--rts/sm/Evac.c2
-rw-r--r--rts/sm/Evac.h2
-rw-r--r--rts/sm/GC.c2
-rw-r--r--rts/sm/GC.h2
-rw-r--r--rts/sm/GCTDecl.h2
-rw-r--r--rts/sm/GCThread.h2
-rw-r--r--rts/sm/GCUtils.c2
-rw-r--r--rts/sm/GCUtils.h2
-rw-r--r--rts/sm/HeapAlloc.h2
-rw-r--r--rts/sm/MarkStack.h2
-rw-r--r--rts/sm/MarkWeak.c2
-rw-r--r--rts/sm/MarkWeak.h2
-rw-r--r--rts/sm/Scav.c2
-rw-r--r--rts/sm/Scav.h2
-rw-r--r--rts/sm/ShouldCompact.h2
-rw-r--r--rts/sm/Storage.c2
-rw-r--r--rts/sm/Sweep.c2
-rw-r--r--rts/sm/Sweep.h2
-rw-r--r--rules/add-dependency.mk4
-rw-r--r--rules/all-target.mk4
-rw-r--r--rules/bindist.mk4
-rw-r--r--rules/build-dependencies.mk4
-rw-r--r--rules/build-package-data.mk4
-rw-r--r--rules/build-package-way.mk4
-rw-r--r--rules/build-package.mk4
-rw-r--r--rules/build-prog.mk4
-rw-r--r--rules/c-objs.mk4
-rw-r--r--rules/c-sources.mk4
-rw-r--r--rules/c-suffix-rules.mk4
-rw-r--r--rules/clean-target.mk4
-rw-r--r--rules/cmm-objs.mk4
-rw-r--r--rules/cmm-suffix-rules.mk4
-rw-r--r--rules/dependencies.mk4
-rw-r--r--rules/distdir-opts.mk4
-rw-r--r--rules/distdir-way-opts.mk4
-rw-r--r--rules/foreachLibrary.mk4
-rw-r--r--rules/haddock.mk4
-rw-r--r--rules/hi-rule.mk6
-rw-r--r--rules/hs-objs.mk4
-rw-r--r--rules/hs-sources.mk4
-rw-r--r--rules/hs-suffix-rules-srcdir.mk4
-rw-r--r--rules/hs-suffix-way-rules-srcdir.mk4
-rw-r--r--rules/hs-suffix-way-rules.mk4
-rw-r--r--rules/include-dependencies.mk4
-rw-r--r--rules/includes-sources.mk4
-rw-r--r--rules/library-path.mk4
-rw-r--r--rules/make-command.mk4
-rw-r--r--rules/manual-package-config.mk4
-rw-r--r--rules/package-config.mk4
-rw-r--r--rules/prof.mk4
-rw-r--r--rules/sdist-ghc-file.mk4
-rw-r--r--rules/shell-wrapper.mk4
-rw-r--r--rules/sphinx.mk4
-rw-r--r--rules/trace.mk4
-rw-r--r--rules/way-prelims.mk4
-rw-r--r--testsuite/README.md2
-rw-r--r--testsuite/driver/README.md2
-rw-r--r--testsuite/tests/deriving/should_fail/T11509_1.hs2
-rw-r--r--testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs2
-rw-r--r--utils/check-api-annotations/ghc.mk4
-rw-r--r--utils/check-ppr/ghc.mk4
-rw-r--r--utils/deriveConstants/Makefile4
-rw-r--r--utils/deriveConstants/ghc.mk4
-rw-r--r--utils/gen-dll/Makefile4
-rw-r--r--utils/gen-dll/ghc.mk4
-rw-r--r--utils/genapply/Main.hs2
-rw-r--r--utils/genapply/Makefile4
-rw-r--r--utils/genapply/ghc.mk4
-rw-r--r--utils/genprimopcode/Makefile4
-rw-r--r--utils/genprimopcode/ghc.mk4
-rw-r--r--utils/ghc-cabal/Makefile4
-rw-r--r--utils/ghc-cabal/ghc.mk4
-rw-r--r--utils/ghc-pkg/Makefile4
-rw-r--r--utils/ghc-pkg/ghc.mk4
-rw-r--r--utils/hp2ps/Makefile4
-rw-r--r--utils/hp2ps/ghc.mk4
-rw-r--r--utils/hpc/Makefile4
-rw-r--r--utils/hpc/ghc.mk4
-rw-r--r--utils/iserv-proxy/Makefile4
-rw-r--r--utils/iserv-proxy/ghc.mk4
-rw-r--r--utils/iserv/Makefile4
-rw-r--r--utils/iserv/ghc.mk4
-rw-r--r--utils/mkdirhier/Makefile4
-rw-r--r--utils/mkdirhier/ghc.mk4
-rw-r--r--utils/remote-iserv/Makefile4
-rw-r--r--utils/remote-iserv/ghc.mk4
-rw-r--r--utils/runghc/Makefile4
-rw-r--r--utils/runghc/ghc.mk4
-rw-r--r--utils/touchy/Makefile4
-rw-r--r--utils/touchy/ghc.mk4
-rw-r--r--utils/unlit/Makefile4
-rw-r--r--utils/unlit/ghc.mk4
-rwxr-xr-xvalidate4
247 files changed, 396 insertions, 396 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 31b64a1c22..261116d088 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,5 +1,5 @@
# Questions about this file?
-# See https://ghc.haskell.org/trac/ghc/wiki/ContinuousIntegration/Usage.
+# See https://gitlab.haskell.org/ghc/ghc/wikis/continuous-integration/usage.
version: 2
diff --git a/.gitlab/merge_request_templates/merge-request.md b/.gitlab/merge_request_templates/merge-request.md
index 7216cb20f8..4bc74a4228 100644
--- a/.gitlab/merge_request_templates/merge-request.md
+++ b/.gitlab/merge_request_templates/merge-request.md
@@ -10,10 +10,10 @@ Please take a few moments to verify that your commits fulfill the following:
likely should add a [Note][notes] and cross-reference it from the relevant
places.
* [ ] add a [testcase to the
- testsuite](https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Adding).
+ testsuite](https://gitlab.haskell.org/ghc/ghc/wikis/building/running-tests/adding).
If you have any questions don't hesitate to open your merge request and inquire
in a comment. If your patch isn't quite done yet please do add prefix your MR
title with `WIP:`.
-[notes]: https://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Commentsinthesourcecode
+[notes]: https://gitlab.haskell.org/ghc/ghc/wikis/commentary/coding-style#comments-in-the-source-code
diff --git a/.mailmap b/.mailmap
index a074854452..3284ebc734 100644
--- a/.mailmap
+++ b/.mailmap
@@ -241,7 +241,7 @@ Peter Wortmann <Peter.Wortmann@googlemail.com> <peter@grayson-heigh
Peter Wortmann <Peter.Wortmann@googlemail.com> <scpmw@leeds.ac.uk>
Peter Wortmann <Peter.Wortmann@googlemail.com> scpmw@leeds.ac.uk <unknown>
Piyush P. Kurur <ppk@cse.iitk.ac.in>
-Ralf Laemmel <softlang@uni-koblenz.de> ralf <unknown> # https://ghc.haskell.org/trac/ghc/wiki/TeamGHC
+Ralf Laemmel <softlang@uni-koblenz.de> ralf <unknown> # https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc
Ravi Nanavati <ravi@bluespec.com> # Commit 70c044.
Reiner Pope <reiner.pope@gmail.com> <reinerp@google.com>
Reuben Thomas <rrt@sc3d.org> rrt <unknown>
@@ -293,7 +293,7 @@ Spencer Janssen <spencer@well-typed.com> <sjanssen@cse.unl.ed
Stephen Blackheath <stephen@blacksapphire.com> <docks.cattlemen.stephen@blacksapphire.com>
Stephen Blackheath <stephen@blacksapphire.com> <effusively.proffer.stephen@blacksapphire.com>
Stephen Blackheath <stephen@blacksapphire.com> <oversensitive.pastors.stephen@blacksapphire.com>
-Sungwoo Park <gla@postech.ac.kr> gla <unknown> # https://ghc.haskell.org/trac/ghc/wiki/TeamGHC
+Sungwoo Park <gla@postech.ac.kr> gla <unknown> # https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc
Sven Panne <sven.panne@aedion.de> panne <unknown>
Sven Panne <sven.panne@aedion.de> sven.panne@aedion.de <unknown>
Sylvain Henry <hsyl20@gmail.com>
diff --git a/ANNOUNCE b/ANNOUNCE
index 9e1676bce1..3e7a8b7b39 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -88,12 +88,12 @@ Supported Platforms
The list of platforms we support, and the people responsible for them, is here:
- https://ghc.haskell.org/trac/ghc/wiki/TeamGHC
+ https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc
Ports to other platforms are possible with varying degrees of difficulty. The
Building Guide describes how to go about porting to a new platform:
- https://ghc.haskell.org/trac/ghc/wiki/Building
+ https://gitlab.haskell.org/ghc/ghc/wikis/building
Developers
diff --git a/HACKING.md b/HACKING.md
index 0a532b4eff..05f8401a9e 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -17,7 +17,7 @@ From here, you can file bugs (or look them up,) use the wiki, view the
page, which has the high level overview of the build process and how
to get the source:
-<http://ghc.haskell.org/trac/ghc/wiki/Building>
+<https://gitlab.haskell.org/ghc/ghc/wikis/building>
Contributing patches to GHC in a hurry
======================================
@@ -25,7 +25,7 @@ Contributing patches to GHC in a hurry
Make sure your system has the necessary tools to compile GHC. You can
find an overview here:
-<http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation>
+<https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation>
Next, clone the repository and all the associated libraries:
@@ -64,9 +64,9 @@ Now, hack on your copy and rebuild (with `make`) as necessary.
Then start by making your commits however you want. When you're done, you can submit
a pull request on Github for small changes. For larger changes the patch needs to be
submitted to [Phabricator](https://phabricator.haskell.org/) for code review.
- The GHC Wiki has a good summary for the [overall process](https://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/FixingBugs)
+ The GHC Wiki has a good summary for the [overall process](https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/fixing-bugs)
as well as a guide on
- [how to use Phabricator/arcanist](https://ghc.haskell.org/trac/ghc/wiki/Phabricator).
+ [how to use Phabricator/arcanist](https://gitlab.haskell.org/ghc/ghc/wikis/phabricator).
Useful links:
@@ -75,22 +75,22 @@ Useful links:
An overview of things like using git, the release process, filing bugs
and more can be located here:
-<http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions>
+<https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions>
You can find our coding conventions for the compiler and RTS here:
-<http://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle>
-<http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Conventions>
+<https://gitlab.haskell.org/ghc/ghc/wikis/commentary/coding-style>
+<https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/conventions>
A high level overview of the bug tracker:
-<http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/BugTracker>
+<https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/bug-tracker>
If you're going to contribute regularly, **learning how to use the
build system is important** and will save you lots of time. You should
read over this page carefully:
-<http://ghc.haskell.org/trac/ghc/wiki/Building/Using>
+<https://gitlab.haskell.org/ghc/ghc/wikis/building/using>
How to communicate with us
==========================
diff --git a/INSTALL.md b/INSTALL.md
index 3ab14df088..08b7048cc1 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -44,5 +44,5 @@ References
==========
[1] http://www.haskell.org/ghc/
- [2] http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation
+ [2] https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation
[3] http://www.haskell.org/haddock/
diff --git a/MAKEHELP.md b/MAKEHELP.md
index 819da9754b..8ebf4bc292 100644
--- a/MAKEHELP.md
+++ b/MAKEHELP.md
@@ -3,9 +3,9 @@ Quick `make` guide for GHC
For a "Getting Started" guide, see:
- https://ghc.haskell.org/trac/ghc/wiki/Building/QuickStart
- https://ghc.haskell.org/trac/ghc/wiki/Building/Using
- https://ghc.haskell.org/trac/ghc/wiki/Building/StandardTargets
+ https://gitlab.haskell.org/ghc/ghc/wikis/building/quick-start
+ https://gitlab.haskell.org/ghc/ghc/wikis/building/using
+ https://gitlab.haskell.org/ghc/ghc/wikis/building/standard-targets
Common commands:
diff --git a/Makefile b/Makefile
index f172ab0b3f..d7885995d0 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/README.md b/README.md
index d445d11c1b..e3678356d2 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ There are two ways to get a source tree:
Note: cloning GHC from Github requires a special setup. See [Getting a GHC
repository from Github][7].
- *See the GHC team's working conventions regarding [how to contribute a patch to GHC](http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/FixingBugs).* First time contributors are encouraged to get started by just sending a Pull Request.
+ *See the GHC team's working conventions regarding [how to contribute a patch to GHC](https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/fixing-bugs).* First time contributors are encouraged to get started by just sending a Pull Request.
Building & Installing
@@ -109,19 +109,19 @@ you to join!
[1]: http://www.haskell.org/ghc/ "www.haskell.org/ghc/"
[2]: http://ghc.haskell.org/trac/ghc "ghc.haskell.org/trac/ghc"
- [3]: http://ghc.haskell.org/trac/ghc/wiki/Building
- "ghc.haskell.org/trac/ghc/wiki/Building"
+ [3]: https://gitlab.haskell.org/ghc/ghc/wikis/building
+ "https://gitlab.haskell.org/ghc/ghc/wikis/building"
[4]: http://www.haskell.org/happy/ "www.haskell.org/happy/"
[5]: http://www.haskell.org/alex/ "www.haskell.org/alex/"
[6]: http://www.haskell.org/haddock/ "www.haskell.org/haddock/"
- [7]: https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#GettingaGHCrepositoryfromGitHub
- "https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#GettingaGHCrepositoryfromGitHub"
- [8]: http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation
- "http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation"
+ [7]: https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github
+ "https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github"
+ [8]: https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation
+ "https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation"
[9]: http://www.haskell.org/cabal/ "http://www.haskell.org/cabal/"
[10]: https://gitlab.haskell.org/ghc/ghc/issues
"https://gitlab.haskell.org/ghc/ghc/issues"
[11]: http://www.haskell.org/pipermail/glasgow-haskell-users/
"http://www.haskell.org/pipermail/glasgow-haskell-users/"
- [12]: http://ghc.haskell.org/trac/ghc/wiki/TeamGHC
- "http://ghc.haskell.org/trac/ghc/wiki/TeamGHC"
+ [12]: https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc
+ "https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc"
diff --git a/aclocal.m4 b/aclocal.m4
index 1d19b30789..5b037326be 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -905,7 +905,7 @@ dnl 2. Find happy in path
dnl 3. Check happy version
dnl
dnl If you increase the minimum version requirement, please also update:
-dnl https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Tools
+dnl https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/tools
dnl
AC_DEFUN([FPTOOLS_HAPPY],
[AC_PATH_PROG(HAPPY,[happy],)
@@ -938,7 +938,7 @@ dnl 2. Find alex in path
dnl 3. Check alex version
dnl
dnl If you increase the minimum version requirement, please also update:
-dnl https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Tools
+dnl https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/tools
dnl
AC_DEFUN([FPTOOLS_ALEX],
[AC_PATH_PROG(ALEX,[alex],)
diff --git a/bindisttest/Makefile b/bindisttest/Makefile
index bc805c8494..e49172c77d 100644
--- a/bindisttest/Makefile
+++ b/bindisttest/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/bindisttest/ghc.mk b/bindisttest/ghc.mk
index cf2e481efd..b1bd16d8ce 100644
--- a/bindisttest/ghc.mk
+++ b/bindisttest/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/boot b/boot
index f534c30d69..939922248d 100755
--- a/boot
+++ b/boot
@@ -53,8 +53,8 @@ def check_for_url_rewrites():
git clone --recursive git://git.haskell.org/ghc.git
For more information, see:
- * https://ghc.haskell.org/trac/ghc/wiki/Newcomers or
- * https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#CloningfromGitHub
+ * https://gitlab.haskell.org/ghc/ghc/wikis/newcomers or
+ * https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github
""")
def check_boot_packages():
@@ -186,7 +186,7 @@ def check_build_mk():
than simply building it to use it.
For information on creating a mk/build.mk file, please see:
- http://ghc.haskell.org/trac/ghc/wiki/Building/Using#Buildconfiguration
+ https://gitlab.haskell.org/ghc/ghc/wikis/building/using#build-configuration
"""))
check_for_url_rewrites()
diff --git a/compiler/Makefile b/compiler/Makefile
index 691448279f..514b345dd3 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/compiler/basicTypes/MkId.hs b/compiler/basicTypes/MkId.hs
index 85e4905305..51abac134f 100644
--- a/compiler/basicTypes/MkId.hs
+++ b/compiler/basicTypes/MkId.hs
@@ -1571,7 +1571,7 @@ It is only effective if the one-shot info survives as long as possible; in
particular it must make it into the interface in unfoldings. See Note [Preserve
OneShotInfo] in CoreTidy.
-Also see https://ghc.haskell.org/trac/ghc/wiki/OneShot.
+Also see https://gitlab.haskell.org/ghc/ghc/wikis/one-shot.
Note [magicDictId magic]
diff --git a/compiler/basicTypes/Module.hs b/compiler/basicTypes/Module.hs
index 9c9547fef1..f5b65e7638 100644
--- a/compiler/basicTypes/Module.hs
+++ b/compiler/basicTypes/Module.hs
@@ -177,7 +177,7 @@ import {-# SOURCE #-} Packages (componentIdString, improveUnitId, PackageConfigM
-- Unit IDs, installed package IDs, ABI hashes, package names,
-- versions, there are a *lot* of different identifiers for closely
-- related things. What do they all mean? Here's what. (See also
--- https://ghc.haskell.org/trac/ghc/wiki/Commentary/Packages/Concepts )
+-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/packages/concepts )
--
-- THE IMPORTANT ONES
--
diff --git a/compiler/basicTypes/RdrName.hs b/compiler/basicTypes/RdrName.hs
index 3dfe916b83..eabbaae7f9 100644
--- a/compiler/basicTypes/RdrName.hs
+++ b/compiler/basicTypes/RdrName.hs
@@ -1216,7 +1216,7 @@ bestImport iss
{- Note [Choosing the best import declaration]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When reporting unused import declarations we use the following rules.
- (see [wiki:Commentary/Compiler/UnusedImports])
+ (see [wiki:commentary/compiler/unused-imports])
Say that an import-item is either
* an entire import-all decl (eg import Foo), or
diff --git a/compiler/basicTypes/Unique.hs b/compiler/basicTypes/Unique.hs
index b5c0fcec58..adb23e0224 100644
--- a/compiler/basicTypes/Unique.hs
+++ b/compiler/basicTypes/Unique.hs
@@ -223,11 +223,11 @@ use `deriving' because we want {\em precise} control of ordering
--
-- As such, to get deterministic builds, the order of the allocated
-- @Uniques@ should not affect the final result.
--- see also wiki/DeterministicBuilds
+-- see also wiki/deterministic-builds
--
-- Note [Unique Determinism and code generation]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- The goal of the deterministic builds (wiki/DeterministicBuilds, #4012)
+-- The goal of the deterministic builds (wiki/deterministic-builds, #4012)
-- is to get ABI compatible binaries given the same inputs and environment.
-- The motivation behind that is that if the ABI doesn't change the
-- binaries can be safely reused.
diff --git a/compiler/cmm/CLabel.hs b/compiler/cmm/CLabel.hs
index 73ca36c848..bc26490700 100644
--- a/compiler/cmm/CLabel.hs
+++ b/compiler/cmm/CLabel.hs
@@ -760,7 +760,7 @@ hasCAF _ = False
-- -----------------------------------------------------------------------------
-- Does a CLabel need declaring before use or not?
--
--- See wiki:Commentary/Compiler/Backends/PprC#Prototypes
+-- See wiki:commentary/compiler/backends/ppr-c#prototypes
needsCDecl :: CLabel -> Bool
-- False <=> it's pre-declared; don't bother
diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs
index bd019b13a8..c8b9ef76e2 100644
--- a/compiler/cmm/PprC.hs
+++ b/compiler/cmm/PprC.hs
@@ -8,7 +8,7 @@
--
-- Print Cmm as real C, for -fvia-C
--
--- See wiki:Commentary/Compiler/Backends/PprC
+-- See wiki:commentary/compiler/backends/ppr-c
--
-- This is simpler than the old PprAbsC, because Cmm is "macro-expanded"
-- relative to the old AbstractC, and many oddities/decorations have
@@ -240,7 +240,7 @@ pprStmt stmt =
cast_fn = parens (cCast (pprCFunType (char '*') cconv hresults hargs) fn)
- -- See wiki:Commentary/Compiler/Backends/PprC#Prototypes
+ -- See wiki:commentary/compiler/backends/ppr-c#prototypes
fnCall =
case fn of
CmmLit (CmmLabel lbl)
diff --git a/compiler/cmm/cmm-notes b/compiler/cmm/cmm-notes
index 136ac38544..e2fb819222 100644
--- a/compiler/cmm/cmm-notes
+++ b/compiler/cmm/cmm-notes
@@ -65,9 +65,9 @@ Things to do:
- See "CAFs" below; we want to totally refactor the way SRTs are calculated
- - Garbage-collect http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/CPS
+ - Garbage-collect https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/cps
moving good stuff into
- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/NewCodeGenPipeline
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/new-code-gen-pipeline
- Currently AsmCodeGen top level calls AsmCodeGen.cmmToCmm, which is a small
C-- optimiser. It has quite a lot of boilerplate folding code in AsmCodeGen
diff --git a/compiler/codeGen/StgCmmTicky.hs b/compiler/codeGen/StgCmmTicky.hs
index e673d216b2..868b52f402 100644
--- a/compiler/codeGen/StgCmmTicky.hs
+++ b/compiler/codeGen/StgCmmTicky.hs
@@ -11,7 +11,7 @@
{- OVERVIEW: ticky ticky profiling
Please see
-http://ghc.haskell.org/trac/ghc/wiki/Debugging/TickyTicky and also
+https://gitlab.haskell.org/ghc/ghc/wikis/debugging/ticky-ticky and also
edit it and the rest of this comment to keep them up-to-date if you
change ticky-ticky. Thanks!
diff --git a/compiler/coreSyn/CoreLint.hs b/compiler/coreSyn/CoreLint.hs
index c29c113b54..8c85685d29 100644
--- a/compiler/coreSyn/CoreLint.hs
+++ b/compiler/coreSyn/CoreLint.hs
@@ -159,7 +159,7 @@ find an occurrence of an Id, we fetch it from the in-scope set.
Note [Bad unsafe coercion]
~~~~~~~~~~~~~~~~~~~~~~~~~~
-For discussion see https://ghc.haskell.org/trac/ghc/wiki/BadUnsafeCoercions
+For discussion see https://gitlab.haskell.org/ghc/ghc/wikis/bad-unsafe-coercions
Linter introduces additional rules that checks improper coercion between
different types, called bad coercions. Following coercions are forbidden:
diff --git a/compiler/deSugar/Check.hs b/compiler/deSugar/Check.hs
index 0142c34409..57ddfc0d89 100644
--- a/compiler/deSugar/Check.hs
+++ b/compiler/deSugar/Check.hs
@@ -280,7 +280,7 @@ instance Monoid PartialResult where
-- More details about the classification of clauses into useful, redundant
-- and with inaccessible right hand side can be found here:
--
--- https://ghc.haskell.org/trac/ghc/wiki/PatternMatchCheck
+-- https://gitlab.haskell.org/ghc/ghc/wikis/pattern-match-check
--
data PmResult =
PmResult {
diff --git a/compiler/deSugar/DsBinds.hs b/compiler/deSugar/DsBinds.hs
index cf94a5edf3..a87a4bbcbb 100644
--- a/compiler/deSugar/DsBinds.hs
+++ b/compiler/deSugar/DsBinds.hs
@@ -530,7 +530,7 @@ thought!
Note [Desugar Strict binds]
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-See https://ghc.haskell.org/trac/ghc/wiki/StrictPragma
+See https://gitlab.haskell.org/ghc/ghc/wikis/strict-pragma
Desugaring strict variable bindings looks as follows (core below ==>)
@@ -598,7 +598,7 @@ tuple `t`, thus:
in tm `seq` <body>
-See https://ghc.haskell.org/trac/ghc/wiki/StrictPragma for a more
+See https://gitlab.haskell.org/ghc/ghc/wikis/strict-pragma for a more
detailed explanation of the desugaring of strict bindings.
Note [Strict binds checks]
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 64615a3c9b..6cd774744d 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/compiler/ghci/GHCi.hs b/compiler/ghci/GHCi.hs
index 579053999f..7ec07fec78 100644
--- a/compiler/ghci/GHCi.hs
+++ b/compiler/ghci/GHCi.hs
@@ -117,7 +117,7 @@ use a different "way", e.g. profiled or dynamic. This means
taking the performance hit on the compiler that profiling would
entail.
-For other reasons see RemoteGHCi on the wiki.
+For other reasons see remote-GHCi on the wiki.
Implementation Overview
~~~~~~~~~~~~~~~~~~~~~~~
@@ -152,7 +152,7 @@ message if it is used with -fexternal-interpreter.
Other Notes on Remote GHCi
~~~~~~~~~~~~~~~~~~~~~~~~~~
* This wiki page has an implementation overview:
- https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/ExternalInterpreter
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/external-interpreter
* Note [External GHCi pointers] in compiler/ghci/GHCi.hs
* Note [Remote Template Haskell] in libraries/ghci/GHCi/TH.hs
-}
diff --git a/compiler/hsSyn/HsDecls.hs b/compiler/hsSyn/HsDecls.hs
index d4742f5052..c194c2e21a 100644
--- a/compiler/hsSyn/HsDecls.hs
+++ b/compiler/hsSyn/HsDecls.hs
@@ -784,7 +784,7 @@ pprTyClDeclFlavour (XTyClDecl x) = ppr x
We kind-check declarations differently if they have a complete, user-supplied
kind signature (CUSK). This is because we can safely generalise a CUSKed
declaration before checking all of the others, supporting polymorphic recursion.
-See ghc.haskell.org/trac/ghc/wiki/GhcKinds/KindInference#Proposednewstrategy
+See https://gitlab.haskell.org/ghc/ghc/wikis/ghc-kinds/kind-inference#proposed-new-strategy
and #9200 for lots of discussion of how we got here.
PRINCIPLE:
diff --git a/compiler/hsSyn/HsExtension.hs b/compiler/hsSyn/HsExtension.hs
index f5e3133788..1bebec0896 100644
--- a/compiler/hsSyn/HsExtension.hs
+++ b/compiler/hsSyn/HsExtension.hs
@@ -32,7 +32,7 @@ import Data.Kind
Note [Trees that grow]
~~~~~~~~~~~~~~~~~~~~~~
-See https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow
+See https://gitlab.haskell.org/ghc/ghc/wikis/implementing-trees-that-grow
The hsSyn AST is reused across multiple compiler passes. We also have the
Template Haskell AST, and the haskell-src-exts one (outside of GHC)
diff --git a/compiler/iface/IfaceSyn.hs b/compiler/iface/IfaceSyn.hs
index b066f5cf37..8ffa337946 100644
--- a/compiler/iface/IfaceSyn.hs
+++ b/compiler/iface/IfaceSyn.hs
@@ -377,7 +377,7 @@ data IfaceIdDetails
{-
Note [Versioning of instances]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-See [http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance#Instances]
+See [https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance#instances]
************************************************************************
diff --git a/compiler/iface/MkIface.hs b/compiler/iface/MkIface.hs
index 440f89fb4c..40b6d025a1 100644
--- a/compiler/iface/MkIface.hs
+++ b/compiler/iface/MkIface.hs
@@ -34,7 +34,7 @@ module MkIface (
A complete description of how recompilation checking works can be
found in the wiki commentary:
- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance
Please read the above page for a top-down description of how this all
works. Notes below cover specific issues related to the implementation.
@@ -645,7 +645,7 @@ addFingerprints hsc_env mb_old_fingerprint iface0 new_decls
-- See Note [Export hash depends on non-orphan family instances]
dep_finsts (mi_deps iface0),
-- dep_pkgs: see "Package Version Changes" on
- -- wiki/Commentary/Compiler/RecompilationAvoidance
+ -- wiki/commentary/compiler/recompilation-avoidance
mi_trust iface0)
-- Make sure change of Safe Haskell mode causes recomp.
diff --git a/compiler/iface/TcIface.hs b/compiler/iface/TcIface.hs
index 732ee1b61a..5c3b64af0f 100644
--- a/compiler/iface/TcIface.hs
+++ b/compiler/iface/TcIface.hs
@@ -1630,7 +1630,7 @@ tcIfaceGlobal name
--
-- There is also a wiki page on the subject, see:
--
--- https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/TyingTheKnot
+-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/tying-the-knot
-- Note [Knot-tying fallback on boot]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index fdc83fa94e..0783189aaf 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -322,7 +322,7 @@ import Foreign (Ptr) -- needed for 2nd stage
-- * Adding the flag to the GHC Wiki
--
-- There is a change log tracking language extension additions and removals
--- on the GHC wiki: https://ghc.haskell.org/trac/ghc/wiki/LanguagePragmaHistory
+-- on the GHC wiki: https://gitlab.haskell.org/ghc/ghc/wikis/language-pragma-history
--
-- See #4437 and #8176.
@@ -5549,7 +5549,7 @@ picCCOpts dflags = pieOpts ++ picOpts
-- otherwise things like stub.c files don't get compiled
-- correctly. They need to reference data in the Haskell
-- objects, but can't without -fPIC. See
- -- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PositionIndependentCode
+ -- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/position-independent-code
| gopt Opt_PIC dflags || WayDyn `elem` ways dflags ->
["-fPIC", "-U__PIC__", "-D__PIC__"]
-- gcc may be configured to have PIC on by default, let's be
diff --git a/compiler/main/HscTypes.hs b/compiler/main/HscTypes.hs
index add0ee95d2..6772668420 100644
--- a/compiler/main/HscTypes.hs
+++ b/compiler/main/HscTypes.hs
@@ -2404,7 +2404,7 @@ noDependencies :: Dependencies
noDependencies = Deps [] [] [] [] []
-- | Records modules for which changes may force recompilation of this module
--- See wiki: http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance
+-- See wiki: https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance
--
-- This differs from Dependencies. A module X may be in the dep_mods of this
-- module (via an import chain) but if we don't use anything from X it won't
diff --git a/compiler/main/Plugins.hs b/compiler/main/Plugins.hs
index 585eab1e45..93297522db 100644
--- a/compiler/main/Plugins.hs
+++ b/compiler/main/Plugins.hs
@@ -120,7 +120,7 @@ data Plugin = Plugin {
-- is supported by most build environment.
--
-- For the full discussion, check the full proposal at:
--- https://ghc.haskell.org/trac/ghc/wiki/ExtendedPluginsProposal
+-- https://gitlab.haskell.org/ghc/ghc/wikis/extended-plugins-proposal
data PluginWithArgs = PluginWithArgs
{ paPlugin :: Plugin
diff --git a/compiler/main/TidyPgm.hs b/compiler/main/TidyPgm.hs
index 6e84530193..ba9cd79e3d 100644
--- a/compiler/main/TidyPgm.hs
+++ b/compiler/main/TidyPgm.hs
@@ -234,8 +234,8 @@ Plan B: include pragmas, make interfaces
Note [Choosing external Ids]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See also the section "Interface stability" in the
-RecompilationAvoidance commentary:
- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance
+recompilation-avoidance commentary:
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance
First we figure out which Ids are "external" Ids. An
"external" Id is one that is visible from outside the compilation
diff --git a/compiler/nativeGen/BlockLayout.hs b/compiler/nativeGen/BlockLayout.hs
index 51ff34d028..8904b4113b 100644
--- a/compiler/nativeGen/BlockLayout.hs
+++ b/compiler/nativeGen/BlockLayout.hs
@@ -52,7 +52,7 @@ import qualified Data.Set as Set
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For additional information also look at
- https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/CodeLayout
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/code-layout
We have a CFG with edge weights based on which we try to place blocks next to
each other.
diff --git a/compiler/nativeGen/X86/Ppr.hs b/compiler/nativeGen/X86/Ppr.hs
index 6ecd4cd170..4f5a5f273e 100644
--- a/compiler/nativeGen/X86/Ppr.hs
+++ b/compiler/nativeGen/X86/Ppr.hs
@@ -212,7 +212,7 @@ pprLabelType' dflags lbl =
"
A good place to check for more
- https://ghc.haskell.org/trac/ghc/wiki/Commentary/PositionIndependentCode
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/position-independent-code
Another possible hack is to create an extra local function symbol for
every code-like thing to give the needed information for to the tools
diff --git a/compiler/parser/ApiAnnotation.hs b/compiler/parser/ApiAnnotation.hs
index 6ae01d6fe0..bfb39c8f7b 100644
--- a/compiler/parser/ApiAnnotation.hs
+++ b/compiler/parser/ApiAnnotation.hs
@@ -125,7 +125,7 @@ until later. 'allocateComments' in 'Lexer' is responsible for
making sure we only attach comments that actually fit in the 'SrcSpan'.)
The wiki page describing this feature is
-https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations
+https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations
-}
-- ---------------------------------------------------------------------
@@ -188,7 +188,7 @@ getAndRemoveAnnotationComments (anns,canns) span =
-- @'DynFlags.DynFlags'@ before parsing.
--
-- The wiki page describing this feature is
--- https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations
+-- https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations
--
-- Note: in general the names of these are taken from the
-- corresponding token, unless otherwise noted
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 7c08ceab78..6feb06b586 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -13,7 +13,7 @@
-- References:
-- [1] https://www.haskell.org/onlinereport/haskell2010/haskellch2.html
-- [2] http://www.haskell.org/alex/
--- [3] https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/Parser
+-- [3] https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/parser
--
-----------------------------------------------------------------------------
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index ed326eb730..469e02d0a6 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -394,8 +394,8 @@ structured editors.
The helper functions are defined at the bottom of this file.
See
- https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations and
- https://ghc.haskell.org/trac/ghc/wiki/GhcAstAnnotations
+ https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations and
+ https://gitlab.haskell.org/ghc/ghc/wikis/ghc-ast-annotations
for some background.
If you modify the parser and want to ensure that the API annotations are processed
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index 6a1be8a486..bfa1ffd7b6 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -5,7 +5,7 @@
-- Primitive Operations and Types
--
-- For more information on PrimOps, see
--- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PrimOps
+-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/prim-ops
--
-----------------------------------------------------------------------
@@ -18,7 +18,7 @@
-- Information on how PrimOps are implemented and the steps necessary to
-- add a new one can be found in the Commentary:
--
--- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PrimOps
+-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/prim-ops
--
-- Note in particular that Haskell block-style comments are not recognized
-- here, so stick to '--' (even for Notes spanning multiple lines).
diff --git a/compiler/rename/RnNames.hs b/compiler/rename/RnNames.hs
index ba0b5f3e26..7c0c6759ea 100644
--- a/compiler/rename/RnNames.hs
+++ b/compiler/rename/RnNames.hs
@@ -1303,7 +1303,7 @@ warnMissingSignatures gbl_env
This code finds which import declarations are unused. The
specification and implementation notes are here:
- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/UnusedImports
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/unused-imports
See also Note [Choosing the best import declaration] in RdrName
-}
diff --git a/compiler/rename/RnSplice.hs b/compiler/rename/RnSplice.hs
index 1d5c68fd5b..522f8dda00 100644
--- a/compiler/rename/RnSplice.hs
+++ b/compiler/rename/RnSplice.hs
@@ -525,7 +525,7 @@ global environment and exposes the current local environment to them [4, 5, 6].
References:
-[1] https://ghc.haskell.org/trac/ghc/wiki/TemplateHaskell/Reify
+[1] https://gitlab.haskell.org/ghc/ghc/wikis/template-haskell/reify
[2] 'rnSpliceExpr'
[3] 'TcSplice.qAddModFinalizer'
[4] 'TcExpr.tcExpr' ('HsSpliceE' ('HsSpliced' ...))
diff --git a/compiler/simplStg/StgLiftLams.hs b/compiler/simplStg/StgLiftLams.hs
index db85b994cf..c3a9c8a478 100644
--- a/compiler/simplStg/StgLiftLams.hs
+++ b/compiler/simplStg/StgLiftLams.hs
@@ -17,7 +17,7 @@ import qualified StgLiftLams.Transformation as Transformation
-- Note [Late lambda lifting in STG]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- $note
--- See also the <https://ghc.haskell.org/trac/ghc/wiki/LateLamLift wiki page>
+-- See also the <https://gitlab.haskell.org/ghc/ghc/wikis/late-lam-lift wiki page>
-- and #9476.
--
-- The basic idea behind lambda lifting is to turn locally defined functions
diff --git a/compiler/simplStg/StgLiftLams/Analysis.hs b/compiler/simplStg/StgLiftLams/Analysis.hs
index 3cdbfcbb3f..c2d4dfdb7c 100644
--- a/compiler/simplStg/StgLiftLams/Analysis.hs
+++ b/compiler/simplStg/StgLiftLams/Analysis.hs
@@ -81,7 +81,7 @@ import Data.Maybe ( mapMaybe )
-- "StgLiftLams.Analysis#clogro" and is what most of this module is ultimately
-- concerned with.
--
--- There's a <https://ghc.haskell.org/trac/ghc/wiki/LateLamLift wiki page> with
+-- There's a <https://gitlab.haskell.org/ghc/ghc/wikis/late-lam-lift wiki page> with
-- some more background and history.
-- Note [Estimating closure growth]
@@ -102,7 +102,7 @@ import Data.Maybe ( mapMaybe )
--
-- A more detailed treatment of computing closure growth, including examples,
-- can be found in the paper referenced from the
--- <https://ghc.haskell.org/trac/ghc/wiki/LateLamLift wiki page>.
+-- <https://gitlab.haskell.org/ghc/ghc/wikis/late-lam-lift wiki page>.
llTrace :: String -> SDoc -> a -> a
llTrace _ _ c = c
diff --git a/compiler/stgSyn/CoreToStg.hs b/compiler/stgSyn/CoreToStg.hs
index 1cb02bfb19..7f60bb21d2 100644
--- a/compiler/stgSyn/CoreToStg.hs
+++ b/compiler/stgSyn/CoreToStg.hs
@@ -115,7 +115,7 @@ import Control.Monad (liftM, ap)
-- bitmap in each info table describing which entries of this table the closure
-- references.
--
--- See also: Commentary/Rts/Storage/GC/CAFs on the GHC Wiki.
+-- See also: commentary/rts/storage/gc/CAFs on the GHC Wiki.
-- Note [What is a non-escaping let]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/compiler/typecheck/TcCanonical.hs b/compiler/typecheck/TcCanonical.hs
index 765abc7c47..c2efeae930 100644
--- a/compiler/typecheck/TcCanonical.hs
+++ b/compiler/typecheck/TcCanonical.hs
@@ -670,7 +670,7 @@ This quantified constraint is needed to solve the
constraint which arises form the (==) definition.
The wiki page is
- https://ghc.haskell.org/trac/ghc/wiki/QuantifiedConstraints
+ https://gitlab.haskell.org/ghc/ghc/wikis/quantified-constraints
which in turn contains a link to the GHC Proposal where the change
is specified, and a Haskell Symposium paper about it.
diff --git a/compiler/typecheck/TcDeriv.hs b/compiler/typecheck/TcDeriv.hs
index 736f44e211..826939d389 100644
--- a/compiler/typecheck/TcDeriv.hs
+++ b/compiler/typecheck/TcDeriv.hs
@@ -2064,7 +2064,7 @@ GHC has a notion of deriving strategies, which allow the user to explicitly
request which approach to use when deriving an instance (enabled with the
-XDerivingStrategies language extension). For more information, refer to the
original issue (#10598) or the associated wiki page:
-https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DerivingStrategies
+https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/deriving-strategies
A deriving strategy can be specified in a deriving clause:
@@ -2105,7 +2105,7 @@ instances instead of "reusing" old instances (by way of `coerce`).
If an explicit deriving strategy is not given, GHC has an algorithm it uses to
determine which strategy it will actually use. The algorithm is quite long,
so it lives in the Haskell wiki at
-https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DerivingStrategies
+https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/deriving-strategies
("The deriving strategy resolution algorithm" section).
Internally, GHC uses the DerivStrategy datatype to denote a user-requested
diff --git a/compiler/typecheck/TcEvidence.hs b/compiler/typecheck/TcEvidence.hs
index b5209a4791..72aed23505 100644
--- a/compiler/typecheck/TcEvidence.hs
+++ b/compiler/typecheck/TcEvidence.hs
@@ -655,7 +655,7 @@ Conclusion: a new wanted coercion variable should be made mutable.
Note [Overview of implicit CallStacks]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-(See https://ghc.haskell.org/trac/ghc/wiki/ExplicitCallStack/ImplicitLocations)
+(See https://gitlab.haskell.org/ghc/ghc/wikis/explicit-call-stack/implicit-locations)
The goal of CallStack evidence terms is to reify locations
in the program source as runtime values, without any support
diff --git a/compiler/typecheck/TcGenFunctor.hs b/compiler/typecheck/TcGenFunctor.hs
index 240fc27103..c2cdef412a 100644
--- a/compiler/typecheck/TcGenFunctor.hs
+++ b/compiler/typecheck/TcGenFunctor.hs
@@ -1052,7 +1052,7 @@ that is syntactically equivalent to the last type parameter, so only E1's
argument will be folded over in a derived Foldable instance.
See #10447 for the original discussion on this feature. Also see
-https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/DeriveFunctor
+https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/derive-functor
for a more in-depth explanation.
Note [FFoldType and functorLikeTraverse]
diff --git a/compiler/typecheck/TcGenGenerics.hs b/compiler/typecheck/TcGenGenerics.hs
index 8e328b0eed..ecf0d8b76d 100644
--- a/compiler/typecheck/TcGenGenerics.hs
+++ b/compiler/typecheck/TcGenGenerics.hs
@@ -890,7 +890,7 @@ mark it. As a result, before we can generate K1 or unK1, we must first check
to see if the type is actually one of the unlifted types for which URec has a
data family instance; if so, we generate that instead.
-See wiki:Commentary/Compiler/GenericDeriving#Handlingunliftedtypes for more
+See wiki:commentary/compiler/generic-deriving#handling-unlifted-types for more
details on why URec is implemented the way it is.
Note [Generating a correctly typed Rep instance]
diff --git a/compiler/typecheck/TcMType.hs b/compiler/typecheck/TcMType.hs
index a31561100d..ce9cca7d86 100644
--- a/compiler/typecheck/TcMType.hs
+++ b/compiler/typecheck/TcMType.hs
@@ -383,7 +383,7 @@ holes should
By defining ExpType, separately from Type, we can achieve goals 1 and 2
statically.
-See also [wiki:Typechecking]
+See also [wiki:typechecking]
Note [TcLevel of ExpType]
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -2200,7 +2200,7 @@ See Note [Levity polymorphism checking] in DsMonad
-}
-- | According to the rules around representation polymorphism
--- (see https://ghc.haskell.org/trac/ghc/wiki/NoSubKinds), no binder
+-- (see https://gitlab.haskell.org/ghc/ghc/wikis/no-sub-kinds), no binder
-- can have a representation-polymorphic type. This check ensures
-- that we respect this rule. It is a bit regrettable that this error
-- occurs in zonking, after which we should have reported all errors.
diff --git a/compiler/typecheck/TcRnDriver.hs b/compiler/typecheck/TcRnDriver.hs
index 60ff3335dd..00765b6a2f 100644
--- a/compiler/typecheck/TcRnDriver.hs
+++ b/compiler/typecheck/TcRnDriver.hs
@@ -4,7 +4,7 @@
\section[TcRnDriver]{Typechecking a whole module}
-https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/TypeChecker
+https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/type-checker
-}
{-# LANGUAGE CPP #-}
diff --git a/compiler/typecheck/TcRnTypes.hs b/compiler/typecheck/TcRnTypes.hs
index bfedaf2ccc..2a2f05eea5 100644
--- a/compiler/typecheck/TcRnTypes.hs
+++ b/compiler/typecheck/TcRnTypes.hs
@@ -3768,7 +3768,7 @@ pprCtOrigin (Shouldn'tHappenOrigin note)
else
vcat [ text "<< This should not appear in error messages. If you see this"
, text "in an error message, please report a bug mentioning" <+> quotes (text note) <+> text "at"
- , text "https://ghc.haskell.org/trac/ghc/wiki/ReportABug >>" ]
+ , text "https://gitlab.haskell.org/ghc/ghc/wikis/report-a-bug >>" ]
pprCtOrigin (ProvCtxtOrigin PSB{ psb_id = (L _ name) })
= hang (ctoHerald <+> text "the \"provided\" constraints claimed by")
diff --git a/compiler/typecheck/TcTypeNats.hs b/compiler/typecheck/TcTypeNats.hs
index 24e12cd15c..8588576acb 100644
--- a/compiler/typecheck/TcTypeNats.hs
+++ b/compiler/typecheck/TcTypeNats.hs
@@ -69,7 +69,7 @@ type-level literals.
See also the Wiki page:
- https://ghc.haskell.org/trac/ghc/wiki/TypeNats
+ https://gitlab.haskell.org/ghc/ghc/wikis/type-nats
Note [Adding built-in type families]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/compiler/types/TyCoRep.hs b/compiler/types/TyCoRep.hs
index dc64ce139a..c90f54d8db 100644
--- a/compiler/types/TyCoRep.hs
+++ b/compiler/types/TyCoRep.hs
@@ -1437,7 +1437,7 @@ Note [Roles]
~~~~~~~~~~~~
Roles are a solution to the GeneralizedNewtypeDeriving problem, articulated
in #1496. The full story is in docs/core-spec/core-spec.pdf. Also, see
-http://ghc.haskell.org/trac/ghc/wiki/RolesImplementation
+https://gitlab.haskell.org/ghc/ghc/wikis/roles-implementation
Here is one way to phrase the problem:
diff --git a/compiler/utils/Fingerprint.hsc b/compiler/utils/Fingerprint.hsc
index 01de554869..377a378bb9 100644
--- a/compiler/utils/Fingerprint.hsc
+++ b/compiler/utils/Fingerprint.hsc
@@ -6,7 +6,7 @@
--
-- Fingerprints for recompilation checking and ABI versioning.
--
--- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance
+-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance
--
-- ----------------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 00304463d4..0f62eebd13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1379,5 +1379,5 @@ To make changes to the default build configuration, copy the file
mk/build.mk.sample to mk/build.mk, and edit the settings in there.
For more information on how to configure your GHC build, see
- http://ghc.haskell.org/trac/ghc/wiki/Building
+ https://gitlab.haskell.org/ghc/ghc/wikis/building
"]
diff --git a/distrib/remilestoning.pl b/distrib/remilestoning.pl
index 51eb19c66c..e8c0d01609 100644
--- a/distrib/remilestoning.pl
+++ b/distrib/remilestoning.pl
@@ -83,7 +83,7 @@ Hello,
You are receiving this mail because you are the reporter, or on the CC
list, for one or more GHC tickets that are automatically having their
priority reduced due to our post-release ticket handling policy:
- http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/BugTracker#Remilestoningticketsafterarelease
+ https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/bug-tracker#re-milestoning-tickets-after-a-release
The list of tickets for which you are the reporter or on the CC list is
given below. If any of these are causing problems for you, please let us
diff --git a/docs/core-spec/core-spec.mng b/docs/core-spec/core-spec.mng
index 3064a556e3..5fdf3af027 100644
--- a/docs/core-spec/core-spec.mng
+++ b/docs/core-spec/core-spec.mng
@@ -235,7 +235,7 @@ and a provenance. The provenance states what created the universal coercion:
Roles label what equality relation a coercion is a witness of. Nominal equality
means that two types are identical (have the same name); representational equality
means that two types have the same representation (introduced by newtypes); and
-phantom equality includes all types. See \url{http://ghc.haskell.org/trac/ghc/wiki/Roles} and \url{http://research.microsoft.com/en-us/um/people/simonpj/papers/ext-f/coercible.pdf}
+phantom equality includes all types. See \url{https://gitlab.haskell.org/ghc/ghc/wikis/roles} and \url{http://research.microsoft.com/en-us/um/people/simonpj/papers/ext-f/coercible.pdf}
for more background.
\gram{\ottR}
@@ -297,7 +297,7 @@ In \ottdrulename{Co\_UnivCo}, function $ \textsf{compatibleUnBoxedTys} $ stands
appropriate element of the target tuple;
\end{itemize}
For function implementation see \coderef{coreSyn/CoreLint.hs}{checkTypes}.
-For further discussion see \url{https://ghc.haskell.org/trac/ghc/wiki/BadUnsafeCoercions}.
+For further discussion see \url{https://gitlab.haskell.org/ghc/ghc/wikis/bad-unsafe-coercions}.
\subsection{Type constructors}
diff --git a/driver/Makefile b/driver/Makefile
index a719b8180e..e8621255f3 100644
--- a/driver/Makefile
+++ b/driver/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/driver/ghc.mk b/driver/ghc.mk
index 11db9f7380..c1adefe5dc 100644
--- a/driver/ghc.mk
+++ b/driver/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/driver/ghc/ghc.mk b/driver/ghc/ghc.mk
index 431dbc81f1..46fccefdfa 100644
--- a/driver/ghc/ghc.mk
+++ b/driver/ghc/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/driver/ghci/Makefile b/driver/ghci/Makefile
index 3a1b49304d..988a40e79c 100644
--- a/driver/ghci/Makefile
+++ b/driver/ghci/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/driver/ghci/ghc.mk b/driver/ghci/ghc.mk
index 0e18a5fbbd..9ddab61649 100644
--- a/driver/ghci/ghc.mk
+++ b/driver/ghci/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/driver/haddock/ghc.mk b/driver/haddock/ghc.mk
index ac26e5eb6a..24417b8d7f 100644
--- a/driver/haddock/ghc.mk
+++ b/driver/haddock/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/ghc.mk b/ghc.mk
index fea964ba38..984dfc61bb 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
@@ -40,7 +40,7 @@
#
# The actual build order is defined by dependencies, and the phase
# ordering used to ensure correct ordering of makefile-generation; see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture/Idiom/PhaseOrdering
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture/idiom/phase-ordering
#
# * With bootstrapping compiler:
# o Build utils/ghc-cabal
@@ -97,7 +97,7 @@ endif
ifeq "$(MAKE_RESTARTS)" ""
else ifeq "$(MAKE_RESTARTS)" "1"
else
-$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug for details)
+$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See https://gitlab.haskell.org/ghc/ghc/wikis/building/troubleshooting#make-has-restarted-itself-3-times-is-there-a-makefile-bug for details)
endif
# -----------------------------------------------------------------------------
@@ -175,7 +175,7 @@ ifeq "$(SPHINXBUILD)" ""
$(error BUILD_SPHINX_HTML=YES, but `sphinx-build` was not found. \
Create a file `mk/validate.mk` containing `BUILD_SPHINX_HTML=NO` \
(when validating), or install `sphinx-build` and rerun `./configure`. \
- See https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation)
+ See https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation)
endif
endif
@@ -183,7 +183,7 @@ ifeq "$(BUILD_SPHINX_PDF)" "YES"
ifeq "$(XELATEX)" ""
$(error BUILD_SPHINX_PDF=YES, but `xelatex` was not found. \
Install `xelatex`, then rerun `./configure`. \
- See https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation)
+ See https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation)
endif
endif
@@ -191,7 +191,7 @@ ifeq "$(HSCOLOUR_SRCS)" "YES"
ifeq "$(HSCOLOUR_CMD)" ""
$(error HSCOLOUR_SRCS=YES, but HSCOLOUR_CMD is empty. \
Run `cabal install hscolour`, then rerun `./configure`. \
- See https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation)
+ See https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation)
endif
endif
@@ -1434,7 +1434,7 @@ maintainer-clean : distclean
.PHONY: all_libraries
.PHONY: bootstrapping-files
-# See https://ghc.haskell.org/trac/ghc/wiki/Building/Porting
+# See https://gitlab.haskell.org/ghc/ghc/wikis/building/porting
bootstrapping-files: $(includes_H_CONFIG)
bootstrapping-files: $(includes_DERIVEDCONSTANTS)
bootstrapping-files: $(includes_GHCCONSTANTS)
@@ -1503,7 +1503,7 @@ endif
# [2]
# find utils -name package-data.mk | xargs grep -l 'DEP_NAMES =.* ghc\($\| \)'
#
-# [3] https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling
+# [3] https://gitlab.haskell.org/ghc/ghc/wikis/building/cross-compiling
#
# [4] * bc31dbe8ee22819054df60f5ef219fed393a1c54
# "Disable any packages built with stage 2 when cross-compiling
diff --git a/ghc/Makefile b/ghc/Makefile
index 46ea37877d..8c7a8afab4 100644
--- a/ghc/Makefile
+++ b/ghc/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index f9a3d1f056..4c3fbdfd88 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/hadrian/README.md b/hadrian/README.md
index 9531bdb667..3ca9787fa8 100644
--- a/hadrian/README.md
+++ b/hadrian/README.md
@@ -291,11 +291,11 @@ projects), as well as Well-Typed.
[ghc]: https://en.wikipedia.org/wiki/Glasgow_Haskell_Compiler
[shake]: https://github.com/ndmitchell/shake
-[make]: https://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
+[make]: https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
[talk]: https://skillsmatter.com/skillscasts/8722-meet-hadrian-a-new-build-system-for-ghc
[issues]: https://github.com/snowleopard/hadrian/issues
-[ghc-preparation]: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation
-[ghc-windows-quick-build]: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows#AQuickBuild
+[ghc-preparation]: https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation
+[ghc-windows-quick-build]: https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/windows#AQuickBuild
[windows-build]: https://gitlab.haskell.org/ghc/ghc/blob/master/hadrian/doc/windows.md
[test-issue]: https://github.com/snowleopard/hadrian/issues/197
[validation-issue]: https://github.com/snowleopard/hadrian/issues/187
diff --git a/hadrian/doc/windows.md b/hadrian/doc/windows.md
index bf7707c6a1..07b505b103 100644
--- a/hadrian/doc/windows.md
+++ b/hadrian/doc/windows.md
@@ -33,7 +33,7 @@ without optimisations. If you need an optimised GHC, drop the `--flavour=quickes
flag from the build command line (this will slow down the build to about an hour).
These are currently not the
-[official GHC building instructions](https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows),
+[official GHC building instructions](https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation/windows),
but are much simpler and may also be more robust.
The `stack build` and `stack exec hadrian` commands can be replaced by an
diff --git a/hadrian/src/Oracles/Setting.hs b/hadrian/src/Oracles/Setting.hs
index a869a31e12..46ae5b5bd0 100644
--- a/hadrian/src/Oracles/Setting.hs
+++ b/hadrian/src/Oracles/Setting.hs
@@ -189,7 +189,7 @@ ghcWithInterpreter = do
return $ goodOs && goodArch
-- | Check whether the target architecture supports placing info tables next to
--- code. See: https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/HeapObjects#TABLES_NEXT_TO_CODE.
+-- code. See: https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/heap-objects#tables_next_to_code.
ghcEnableTablesNextToCode :: Action Bool
ghcEnableTablesNextToCode = notM $ anyTargetArch ["ia64", "powerpc64", "powerpc64le"]
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs
index e261dfe8ff..517c36ebaf 100644
--- a/hadrian/src/Settings/Packages.hs
+++ b/hadrian/src/Settings/Packages.hs
@@ -266,7 +266,7 @@ rtsPackageArgs = package rts ? do
-- The above warning suppression flags are a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See:
- -- http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+ -- https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions#Warnings
, (not <$> flag GccIsClang) ?
inputs ["//Compact.c"] ? arg "-finline-limit=2500"
diff --git a/includes/Cmm.h b/includes/Cmm.h
index 7334eab8c1..ba84328a73 100644
--- a/includes/Cmm.h
+++ b/includes/Cmm.h
@@ -73,7 +73,7 @@
/*
* The RTS must sometimes UNTAG a pointer before dereferencing it.
- * See the wiki page Commentary/Rts/HaskellExecution/PointerTagging
+ * See the wiki page commentary/rts/haskell-execution/pointer-tagging
*/
#define TAG_MASK ((1 << TAG_BITS) - 1)
#define UNTAG(p) (p & ~TAG_MASK)
diff --git a/includes/MachDeps.h b/includes/MachDeps.h
index d6f329f19f..22aec83840 100644
--- a/includes/MachDeps.h
+++ b/includes/MachDeps.h
@@ -9,7 +9,7 @@
* NB: THIS FILE IS INCLUDED IN HASKELL SOURCE!
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/Makefile b/includes/Makefile
index e8e88d6398..c72fe8fc78 100644
--- a/includes/Makefile
+++ b/includes/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/includes/Rts.h b/includes/Rts.h
index eb11536c19..a1a83397f3 100644
--- a/includes/Rts.h
+++ b/includes/Rts.h
@@ -6,7 +6,7 @@
* exposes externally.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/RtsAPI.h b/includes/RtsAPI.h
index 79c4d8ef53..488cab5f3f 100644
--- a/includes/RtsAPI.h
+++ b/includes/RtsAPI.h
@@ -5,7 +5,7 @@
* API for invoking Haskell functions via the RTS
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* --------------------------------------------------------------------------*/
diff --git a/includes/Stg.h b/includes/Stg.h
index 547b36aaeb..f50c352a7e 100644
--- a/includes/Stg.h
+++ b/includes/Stg.h
@@ -19,7 +19,7 @@
* "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/ghc.mk b/includes/ghc.mk
index d08ecfbc07..939bf19933 100644
--- a/includes/ghc.mk
+++ b/includes/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/includes/rts/Adjustor.h b/includes/rts/Adjustor.h
index 49fd62652d..efaee2cade 100644
--- a/includes/rts/Adjustor.h
+++ b/includes/rts/Adjustor.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/BlockSignals.h b/includes/rts/BlockSignals.h
index 23bc9859e0..7d0af0aa94 100644
--- a/includes/rts/BlockSignals.h
+++ b/includes/rts/BlockSignals.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Config.h b/includes/rts/Config.h
index 43057773f2..5161dce945 100644
--- a/includes/rts/Config.h
+++ b/includes/rts/Config.h
@@ -9,7 +9,7 @@
* NB: THIS FILE IS INCLUDED IN NON-C CODE AND DATA! #defines only please.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Constants.h b/includes/rts/Constants.h
index 2f0ee5b10d..9364bccae2 100644
--- a/includes/rts/Constants.h
+++ b/includes/rts/Constants.h
@@ -13,7 +13,7 @@
* DerivedConstants.h by a C program (mkDerivedConstantsHdr).
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/EventLogWriter.h b/includes/rts/EventLogWriter.h
index 347ff5b89c..5eececd20e 100644
--- a/includes/rts/EventLogWriter.h
+++ b/includes/rts/EventLogWriter.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/FileLock.h b/includes/rts/FileLock.h
index 8bc08141cf..978ccf86b6 100644
--- a/includes/rts/FileLock.h
+++ b/includes/rts/FileLock.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h
index 3582e6abde..41fcf088d1 100644
--- a/includes/rts/Flags.h
+++ b/includes/rts/Flags.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/GetTime.h b/includes/rts/GetTime.h
index 5b75b01bb8..53207ce307 100644
--- a/includes/rts/GetTime.h
+++ b/includes/rts/GetTime.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Globals.h b/includes/rts/Globals.h
index 63d26e7814..ff36572c56 100644
--- a/includes/rts/Globals.h
+++ b/includes/rts/Globals.h
@@ -10,7 +10,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Hpc.h b/includes/rts/Hpc.h
index 58d4813ac1..85d00ca485 100644
--- a/includes/rts/Hpc.h
+++ b/includes/rts/Hpc.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/IOManager.h b/includes/rts/IOManager.h
index 5d79a64b00..603cb3f578 100644
--- a/includes/rts/IOManager.h
+++ b/includes/rts/IOManager.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/Linker.h b/includes/rts/Linker.h
index 298dc6a366..06c9402b4f 100644
--- a/includes/rts/Linker.h
+++ b/includes/rts/Linker.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Messages.h b/includes/rts/Messages.h
index c3199b23d9..a56741e0a8 100644
--- a/includes/rts/Messages.h
+++ b/includes/rts/Messages.h
@@ -10,7 +10,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/OSThreads.h b/includes/rts/OSThreads.h
index d2c4a6a54e..322624e8ad 100644
--- a/includes/rts/OSThreads.h
+++ b/includes/rts/OSThreads.h
@@ -8,7 +8,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* --------------------------------------------------------------------------*/
diff --git a/includes/rts/Parallel.h b/includes/rts/Parallel.h
index de1c6e1fae..7577a3967c 100644
--- a/includes/rts/Parallel.h
+++ b/includes/rts/Parallel.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/PrimFloat.h b/includes/rts/PrimFloat.h
index 835a18aac4..26b6f7ceec 100644
--- a/includes/rts/PrimFloat.h
+++ b/includes/rts/PrimFloat.h
@@ -5,7 +5,7 @@
* Primitive floating-point operations
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Profiling.h b/includes/rts/Profiling.h
index f1dafb78f5..b329a493db 100644
--- a/includes/rts/Profiling.h
+++ b/includes/rts/Profiling.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/Signals.h b/includes/rts/Signals.h
index d321b0d0c4..d7abbb86c8 100644
--- a/includes/rts/Signals.h
+++ b/includes/rts/Signals.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/SpinLock.h b/includes/rts/SpinLock.h
index 1dca02f795..037975268e 100644
--- a/includes/rts/SpinLock.h
+++ b/includes/rts/SpinLock.h
@@ -15,7 +15,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/StableName.h b/includes/rts/StableName.h
index d43ffcb2f6..4e4f976dae 100644
--- a/includes/rts/StableName.h
+++ b/includes/rts/StableName.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/StablePtr.h b/includes/rts/StablePtr.h
index 0d3642fbfe..f42c353d2b 100644
--- a/includes/rts/StablePtr.h
+++ b/includes/rts/StablePtr.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/StaticPtrTable.h b/includes/rts/StaticPtrTable.h
index 97a1720823..5753e957bd 100644
--- a/includes/rts/StaticPtrTable.h
+++ b/includes/rts/StaticPtrTable.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/TTY.h b/includes/rts/TTY.h
index 3555818c4a..9892571a17 100644
--- a/includes/rts/TTY.h
+++ b/includes/rts/TTY.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h
index f72f5ed121..4bb480cf2b 100644
--- a/includes/rts/Threads.h
+++ b/includes/rts/Threads.h
@@ -8,7 +8,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Ticky.h b/includes/rts/Ticky.h
index de4e518430..93043d8514 100644
--- a/includes/rts/Ticky.h
+++ b/includes/rts/Ticky.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Time.h b/includes/rts/Time.h
index 12c6d2767d..00d98b4f09 100644
--- a/includes/rts/Time.h
+++ b/includes/rts/Time.h
@@ -5,7 +5,7 @@
* Time values in the RTS
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* --------------------------------------------------------------------------*/
diff --git a/includes/rts/Timer.h b/includes/rts/Timer.h
index f0a63d8d39..c60cd37590 100644
--- a/includes/rts/Timer.h
+++ b/includes/rts/Timer.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Types.h b/includes/rts/Types.h
index 242b831819..51e8f80e66 100644
--- a/includes/rts/Types.h
+++ b/includes/rts/Types.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/Utils.h b/includes/rts/Utils.h
index 4ab025b887..4aee9c3a67 100644
--- a/includes/rts/Utils.h
+++ b/includes/rts/Utils.h
@@ -6,7 +6,7 @@
* exposes externally.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/prof/CCS.h b/includes/rts/prof/CCS.h
index e385a9b8fc..b296a32b8a 100644
--- a/includes/rts/prof/CCS.h
+++ b/includes/rts/prof/CCS.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/prof/LDV.h b/includes/rts/prof/LDV.h
index dc7a0cabdf..73f7786537 100644
--- a/includes/rts/prof/LDV.h
+++ b/includes/rts/prof/LDV.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/rts/storage/MBlock.h b/includes/rts/storage/MBlock.h
index 20aed08e82..3acefda9a0 100644
--- a/includes/rts/storage/MBlock.h
+++ b/includes/rts/storage/MBlock.h
@@ -5,7 +5,7 @@
* MegaBlock Allocator interface.
*
* See wiki commentary at
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/HeapAlloced
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/heap-alloced
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/stg/DLL.h b/includes/stg/DLL.h
index 7ab3594ce1..0c383c54b1 100644
--- a/includes/stg/DLL.h
+++ b/includes/stg/DLL.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/stg/HaskellMachRegs.h b/includes/stg/HaskellMachRegs.h
index c92f6867c1..7b12d12814 100644
--- a/includes/stg/HaskellMachRegs.h
+++ b/includes/stg/HaskellMachRegs.h
@@ -8,7 +8,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/stg/MachRegs.h b/includes/stg/MachRegs.h
index 8095887c2c..0afc88152e 100644
--- a/includes/stg/MachRegs.h
+++ b/includes/stg/MachRegs.h
@@ -8,7 +8,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index 0fc904e770..4cec0b961c 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -8,12 +8,12 @@
* our Cmm code generator doesn't know how to generate local symbols
* for the RTS bits (it assumes all RTS symbols are external).
*
- * See wiki:Commentary/Compiler/Backends/PprC#Prototypes
+ * See wiki:commentary/compiler/backends/ppr-c#prototypes
*
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* --------------------------------------------------------------------------*/
@@ -487,7 +487,7 @@ RTS_FUN_DECL(stg_setThreadAllocationCounterzh);
/* Other misc stuff */
-// See wiki:Commentary/Compiler/Backends/PprC#Prototypes
+// See wiki:commentary/compiler/backends/ppr-c#prototypes
#if IN_STG_CODE && !IN_STGCRUN
diff --git a/includes/stg/Prim.h b/includes/stg/Prim.h
index a18e02caeb..ce691450a1 100644
--- a/includes/stg/Prim.h
+++ b/includes/stg/Prim.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/stg/Regs.h b/includes/stg/Regs.h
index cf9e306504..e37ce3eba4 100644
--- a/includes/stg/Regs.h
+++ b/includes/stg/Regs.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/stg/RtsMachRegs.h b/includes/stg/RtsMachRegs.h
index e1233a1a55..dff389aa93 100644
--- a/includes/stg/RtsMachRegs.h
+++ b/includes/stg/RtsMachRegs.h
@@ -8,7 +8,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/includes/stg/SMP.h b/includes/stg/SMP.h
index 229115e725..16761516ac 100644
--- a/includes/stg/SMP.h
+++ b/includes/stg/SMP.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/stg/Ticky.h b/includes/stg/Ticky.h
index 2341dba88b..d691106277 100644
--- a/includes/stg/Ticky.h
+++ b/includes/stg/Ticky.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/includes/stg/Types.h b/includes/stg/Types.h
index 91ad446993..f270686ebc 100644
--- a/includes/stg/Types.h
+++ b/includes/stg/Types.h
@@ -8,7 +8,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* NOTE: assumes #include "ghcconfig.h"
*
diff --git a/libffi/Makefile b/libffi/Makefile
index ac398bdec2..8364a38fae 100644
--- a/libffi/Makefile
+++ b/libffi/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 6bc8897461..a127612a29 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/libraries/base/Data/Coerce.hs b/libraries/base/Data/Coerce.hs
index bb98393210..9bd7f9a41a 100644
--- a/libraries/base/Data/Coerce.hs
+++ b/libraries/base/Data/Coerce.hs
@@ -14,7 +14,7 @@
-- Safe coercions between data types.
--
-- More in-depth information can be found on the
--- <https://ghc.haskell.org/trac/ghc/wiki/Roles Roles wiki page>
+-- <https://gitlab.haskell.org/ghc/ghc/wikis/roles Roles wiki page>
--
-- @since 4.7.0.0
-----------------------------------------------------------------------------
diff --git a/libraries/base/Data/Typeable.hs b/libraries/base/Data/Typeable.hs
index c9a8711d79..ba0650c8f2 100644
--- a/libraries/base/Data/Typeable.hs
+++ b/libraries/base/Data/Typeable.hs
@@ -36,7 +36,7 @@
-- Since GHC 7.8, 'Typeable' is poly-kinded. The changes required for this might
-- break some old programs involving 'Typeable'. More details on this, including
-- how to fix your code, can be found on the
--- <https://ghc.haskell.org/trac/ghc/wiki/GhcKinds/PolyTypeable PolyTypeable wiki page>
+-- <https://gitlab.haskell.org/ghc/ghc/wikis/ghc-kinds/poly-typeable PolyTypeable wiki page>
--
-----------------------------------------------------------------------------
diff --git a/libraries/base/GHC/OverloadedLabels.hs b/libraries/base/GHC/OverloadedLabels.hs
index 7e27cf6bf4..df0cde2f57 100644
--- a/libraries/base/GHC/OverloadedLabels.hs
+++ b/libraries/base/GHC/OverloadedLabels.hs
@@ -19,7 +19,7 @@
--
-- This module defines the 'IsLabel' class is used by the
-- @OverloadedLabels@ extension. See the
--- <https://ghc.haskell.org/trac/ghc/wiki/Records/OverloadedRecordFields/OverloadedLabels wiki page>
+-- <https://gitlab.haskell.org/ghc/ghc/wikis/records/overloaded-record-fields/overloaded-labels wiki page>
-- for more details.
--
-- When @OverloadedLabels@ is enabled, if GHC sees an occurrence of
diff --git a/libraries/base/GHC/Records.hs b/libraries/base/GHC/Records.hs
index 0292f3ae80..8ac8b680e2 100644
--- a/libraries/base/GHC/Records.hs
+++ b/libraries/base/GHC/Records.hs
@@ -17,7 +17,7 @@
--
-- This module defines the 'HasField' class used by the
-- @OverloadedRecordFields@ extension. See the
--- <https://ghc.haskell.org/trac/ghc/wiki/Records/OverloadedRecordFields
+-- <https://gitlab.haskell.org/ghc/ghc/wikis/records/overloaded-record-fields
-- wiki page> for more details.
--
-----------------------------------------------------------------------------
diff --git a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
index 2465014e48..8c4ff256a9 100644
--- a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
+++ b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
@@ -111,7 +111,7 @@ type Closure = GenClosure Box
-- fields are the payload.
--
-- See
--- <https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/HeapObjects>
+-- <https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/heap-objects>
-- for more information.
data GenClosure b
= -- | A data constructor
diff --git a/libraries/integer-gmp/changelog.md b/libraries/integer-gmp/changelog.md
index 036b14cdcd..33586f4ef2 100644
--- a/libraries/integer-gmp/changelog.md
+++ b/libraries/integer-gmp/changelog.md
@@ -32,7 +32,7 @@
* Bundled with GHC 7.10.1
* Complete rewrite of `integer-gmp`. For more details, see
- https://ghc.haskell.org/trac/ghc/wiki/Design/IntegerGmp2
+ https://gitlab.haskell.org/ghc/ghc/wikis/design/integer-gmp2
## 0.5.1.0 *Feb 2014*
@@ -40,7 +40,7 @@
* Improved Haddock documentation
- * New [PrimBool](https://ghc.haskell.org/trac/ghc/wiki/PrimBool)
+ * New [PrimBool](https://gitlab.haskell.org/ghc/ghc/wikis/prim-bool)
versions of comparison predicates in `GHC.Integer`:
eqInteger# :: Integer -> Integer -> Int#
diff --git a/libraries/integer-gmp/gmp/ghc.mk b/libraries/integer-gmp/gmp/ghc.mk
index 2a9f3ebfc0..5c34691207 100644
--- a/libraries/integer-gmp/gmp/ghc.mk
+++ b/libraries/integer-gmp/gmp/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/libraries/integer-gmp/src/GHC/Integer.hs b/libraries/integer-gmp/src/GHC/Integer.hs
index 00c26b0a7b..6a0d16d553 100644
--- a/libraries/integer-gmp/src/GHC/Integer.hs
+++ b/libraries/integer-gmp/src/GHC/Integer.hs
@@ -53,7 +53,7 @@ module GHC.Integer (
--
-- | These operations return @0#@ and @1#@ instead of 'False' and
-- 'True' respectively. See
- -- <https://ghc.haskell.org/trac/ghc/wiki/PrimBool PrimBool wiki-page>
+ -- <https://gitlab.haskell.org/ghc/ghc/wikis/prim-bool PrimBool wiki-page>
-- for more details
eqInteger#, neqInteger#, leInteger#, gtInteger#, ltInteger#, geInteger#,
diff --git a/libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs b/libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs
index 1d86fc1ff3..6eb88bd943 100644
--- a/libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs
+++ b/libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs
@@ -29,7 +29,7 @@
-- if called with invalid arguments.
--
-- See also
--- <https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/Integer GHC Commentary: Libraries/Integer>.
+-- <https://gitlab.haskell.org/ghc/ghc/wikis/commentary/libraries/integer GHC Commentary: Libraries/Integer>.
module GHC.Integer.GMP.Internals
( -- * The 'Integer' type
diff --git a/libraries/integer-simple/GHC/Integer/Type.hs b/libraries/integer-simple/GHC/Integer/Type.hs
index 33178932b6..cdbeb86a70 100644
--- a/libraries/integer-simple/GHC/Integer/Type.hs
+++ b/libraries/integer-simple/GHC/Integer/Type.hs
@@ -3,7 +3,7 @@
UnliftedFFITypes #-}
-- Commentary of Integer library is located on the wiki:
--- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/Integer
+-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/libraries/integer
--
-- It gives an in-depth description of implementation details and
-- decisions.
diff --git a/libraries/libiserv/Makefile b/libraries/libiserv/Makefile
index f160978c19..88656e7853 100644
--- a/libraries/libiserv/Makefile
+++ b/libraries/libiserv/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs b/libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs
index b08b31c4fe..9b9c016c88 100644
--- a/libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs
+++ b/libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs
@@ -759,13 +759,13 @@ sourceLazy = return SourceLazy
sourceStrict = return SourceStrict
{-# DEPRECATED isStrict
- ["Use 'bang'. See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0. ",
+ ["Use 'bang'. See https://gitlab.haskell.org/ghc/ghc/wikis/migration/8.0. ",
"Example usage: 'bang noSourceUnpackedness sourceStrict'"] #-}
{-# DEPRECATED notStrict
- ["Use 'bang'. See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0. ",
+ ["Use 'bang'. See https://gitlab.haskell.org/ghc/ghc/wikis/migration/8.0. ",
"Example usage: 'bang noSourceUnpackedness noSourceStrictness'"] #-}
{-# DEPRECATED unpacked
- ["Use 'bang'. See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0. ",
+ ["Use 'bang'. See https://gitlab.haskell.org/ghc/ghc/wikis/migration/8.0. ",
"Example usage: 'bang sourceUnpack sourceStrict'"] #-}
isStrict, notStrict, unpacked :: Q Strict
isStrict = bang noSourceUnpackedness sourceStrict
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 0f5bc222f2..80457b6a47 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -96,7 +96,7 @@ endif
#GhcRtsHcOpts += -g3
# Build the "extra" packages (see ./packages). This enables more tests. See:
-# https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/running-tests/running#additional-packages
#BUILD_EXTRA_PKGS=YES
# Uncomment the following to force `integer-gmp` to use the in-tree GMP 6.1.2
diff --git a/mk/compiler-ghc.mk b/mk/compiler-ghc.mk
index f936cc6c5c..739f6157d5 100644
--- a/mk/compiler-ghc.mk
+++ b/mk/compiler-ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 0fc6d4dd16..79191af52e 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -556,7 +556,7 @@ INSTALL_GHC_STAGE= $(if $(filter YES,$(Stage1Only)),1,2)
# 4 CrossCompiling=YES Stage1Only=NO
# Cross-compiling GHC itself. See [1].
#
-# [1] https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling
+# [1] https://gitlab.haskell.org/ghc/ghc/wikis/building/cross-compiling
# Note [Stage1Only vs stage=1]
#
diff --git a/mk/project.mk.in b/mk/project.mk.in
index d620ed5a61..5cc2e4aeb1 100644
--- a/mk/project.mk.in
+++ b/mk/project.mk.in
@@ -73,7 +73,7 @@ ProjectGitCommitId = @ProjectGitCommitId@
# - In the compiler itself, we should test HOST or TARGET depending
# on whether the conditional relates to the code being generated, or
# the platform on which the compiler is running. See the section
-# on "Coding Style" in the commentary for more details.
+# on "coding-style" in the commentary for more details.
#
# - In all other code, we should be testing HOST only.
#
diff --git a/mk/warnings.mk b/mk/warnings.mk
index 9775df7093..323ea75898 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -5,7 +5,7 @@ SRC_HC_OPTS += -Wall
# validate may unnecessarily fail when booting with an older compiler.
# It would be better to only exclude certain warnings from becoming errors
# (e.g. '-Werror -Wno-error=unused-imports -Wno-error=...'), but -Wno-error
-# isn't supported yet (https://ghc.haskell.org/trac/ghc/wiki/Design/Warnings).
+# isn't supported yet (https://gitlab.haskell.org/ghc/ghc/wikis/design/warnings).
#
# See Note [Stage number in build variables] in mk/config.mk.in.
SRC_HC_OPTS_STAGE1 += $(WERROR)
diff --git a/rts/Capability.h b/rts/Capability.h
index 05a827c7b9..dc1c6c2073 100644
--- a/rts/Capability.h
+++ b/rts/Capability.h
@@ -5,7 +5,7 @@
* Capabilities
*
* For details on the high-level design, see
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Scheduler
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/scheduler
*
* A Capability holds all the state an OS thread/task needs to run
* Haskell code: its STG registers, a pointer to its TSO, a nursery
diff --git a/rts/Interpreter.c b/rts/Interpreter.c
index 3450780ba5..e4b9d5696e 100644
--- a/rts/Interpreter.c
+++ b/rts/Interpreter.c
@@ -426,7 +426,7 @@ eval_obj:
// pointer to a FUN is tagged on the stack or elsewhere,
// so we fix the tag here. (#13767)
// For full details of the invariants on tagging, see
- // https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/HaskellExecution/PointerTagging
+ // https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/haskell-execution/pointer-tagging
tagged_obj =
newEmptyPAP(cap,
arity <= TAG_MASK
diff --git a/rts/Libdw.h b/rts/Libdw.h
index 5fd1c9522c..28c6312f7a 100644
--- a/rts/Libdw.h
+++ b/rts/Libdw.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* -------------------------------------------------------------------------- */
diff --git a/rts/Makefile b/rts/Makefile
index 09ff7ea6b5..d6a9db3757 100644
--- a/rts/Makefile
+++ b/rts/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rts/StaticPtrTable.c b/rts/StaticPtrTable.c
index 997987a2ce..f5e6239ad0 100644
--- a/rts/StaticPtrTable.c
+++ b/rts/StaticPtrTable.c
@@ -3,8 +3,8 @@
*
* The Static Pointer Table implementation.
*
- * https://ghc.haskell.org/trac/ghc/wiki/StaticPointers
- * https://ghc.haskell.org/trac/ghc/wiki/StaticPointers/ImplementationPlan
+ * https://gitlab.haskell.org/ghc/ghc/wikis/static-pointers
+ * https://gitlab.haskell.org/ghc/ghc/wikis/static-pointers/implementation-plan
*
*/
diff --git a/rts/Task.h b/rts/Task.h
index 0410407a60..88b567ab87 100644
--- a/rts/Task.h
+++ b/rts/Task.h
@@ -5,7 +5,7 @@
* Tasks
*
* For details on the high-level design, see
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Scheduler
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/scheduler
*
* -------------------------------------------------------------------------*/
diff --git a/rts/Ticky.c b/rts/Ticky.c
index 4587097980..55df113d5d 100644
--- a/rts/Ticky.c
+++ b/rts/Ticky.c
@@ -353,7 +353,7 @@ printRegisteredCounterInfo (FILE *tf)
StgEntCounter *p;
if ( ticky_entry_ctrs != NULL ) {
- fprintf(tf,"\nThe following table is explained by http://ghc.haskell.org/trac/ghc/wiki/Debugging/TickyTicky\nAll allocation numbers are in bytes.\n");
+ fprintf(tf,"\nThe following table is explained by https://gitlab.haskell.org/ghc/ghc/wikis/debugging/ticky-ticky\nAll allocation numbers are in bytes.\n");
fprintf(tf,"\n**************************************************\n\n");
}
fprintf(tf, "%11s%11s%11s %-23s %s\n",
diff --git a/rts/ghc.mk b/rts/ghc.mk
index ff3f18f30c..ae4dcd840c 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
@@ -511,7 +511,7 @@ rts/win32/ThrIOManager_CC_OPTS += -w
# The above warning suppression flags are a temporary kludge.
# While working on this module you are encouraged to remove it and fix
# any warnings in the module. See
-# http://ghc.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+# https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions#Warnings
# for details
# Without this, thread_obj will not be inlined (at least on x86 with GCC 4.1.0)
diff --git a/rts/hooks/Hooks.h b/rts/hooks/Hooks.h
index 24500f19e7..5b36f7637c 100644
--- a/rts/hooks/Hooks.h
+++ b/rts/hooks/Hooks.h
@@ -7,7 +7,7 @@
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/CNF.h b/rts/sm/CNF.h
index 6482130d2b..5377233483 100644
--- a/rts/sm/CNF.h
+++ b/rts/sm/CNF.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c
index 77523aea08..3bfefa7ceb 100644
--- a/rts/sm/Compact.c
+++ b/rts/sm/Compact.c
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Compact.h b/rts/sm/Compact.h
index 570de7a340..db50807217 100644
--- a/rts/sm/Compact.h
+++ b/rts/sm/Compact.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c
index 289031945d..b4050512a6 100644
--- a/rts/sm/Evac.c
+++ b/rts/sm/Evac.c
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Evac.h b/rts/sm/Evac.h
index 11f505c526..168af89bd4 100644
--- a/rts/sm/Evac.h
+++ b/rts/sm/Evac.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 0544fd29da..5aa2d1bc85 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/GC.h b/rts/sm/GC.h
index 437a25f8d9..43cc4ca8a1 100644
--- a/rts/sm/GC.h
+++ b/rts/sm/GC.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/GCTDecl.h b/rts/sm/GCTDecl.h
index d3717d1e45..8306795ade 100644
--- a/rts/sm/GCTDecl.h
+++ b/rts/sm/GCTDecl.h
@@ -5,7 +5,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h
index e865dabe5d..66f604d6cc 100644
--- a/rts/sm/GCThread.h
+++ b/rts/sm/GCThread.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/GCUtils.c b/rts/sm/GCUtils.c
index 31b2913a37..02c26ddf5e 100644
--- a/rts/sm/GCUtils.c
+++ b/rts/sm/GCUtils.c
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/GCUtils.h b/rts/sm/GCUtils.h
index 8b6040769e..a71d6dcb92 100644
--- a/rts/sm/GCUtils.h
+++ b/rts/sm/GCUtils.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* --------------------------------------------------------------------------*/
diff --git a/rts/sm/HeapAlloc.h b/rts/sm/HeapAlloc.h
index 1d9d23758a..cd41adfe4d 100644
--- a/rts/sm/HeapAlloc.h
+++ b/rts/sm/HeapAlloc.h
@@ -17,7 +17,7 @@
It needs to be FAST.
See wiki commentary at
- http://ghc.haskell.org/trac/ghc/wiki/Commentary/HeapAlloced
+ https://gitlab.haskell.org/ghc/ghc/wikis/commentary/heap-alloced
Implementation of HEAP_ALLOCED
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/rts/sm/MarkStack.h b/rts/sm/MarkStack.h
index 51eee5770d..ca519f871f 100644
--- a/rts/sm/MarkStack.h
+++ b/rts/sm/MarkStack.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/MarkWeak.c b/rts/sm/MarkWeak.c
index 3aa28878b7..d5982e2f64 100644
--- a/rts/sm/MarkWeak.c
+++ b/rts/sm/MarkWeak.c
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/MarkWeak.h b/rts/sm/MarkWeak.h
index 2756cb06e2..305134be64 100644
--- a/rts/sm/MarkWeak.h
+++ b/rts/sm/MarkWeak.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c
index 36592af887..73a790e9ed 100644
--- a/rts/sm/Scav.c
+++ b/rts/sm/Scav.c
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Scav.h b/rts/sm/Scav.h
index 6d265a7f40..21ca691bff 100644
--- a/rts/sm/Scav.h
+++ b/rts/sm/Scav.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/ShouldCompact.h b/rts/sm/ShouldCompact.h
index d80076460f..43e53e9fc7 100644
--- a/rts/sm/ShouldCompact.h
+++ b/rts/sm/ShouldCompact.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index 4636bf45e3..71864585f6 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Storage Manager can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Sweep.c b/rts/sm/Sweep.c
index 2cf8399a3b..d6634dcb16 100644
--- a/rts/sm/Sweep.c
+++ b/rts/sm/Sweep.c
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rts/sm/Sweep.h b/rts/sm/Sweep.h
index 02cda8df69..25bfef42c3 100644
--- a/rts/sm/Sweep.h
+++ b/rts/sm/Sweep.h
@@ -7,7 +7,7 @@
* Documentation on the architecture of the Garbage Collector can be
* found in the online commentary:
*
- * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
*
* ---------------------------------------------------------------------------*/
diff --git a/rules/add-dependency.mk b/rules/add-dependency.mk
index 037f7f1a26..1b5a666e86 100644
--- a/rules/add-dependency.mk
+++ b/rules/add-dependency.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/all-target.mk b/rules/all-target.mk
index 769ab99f6d..52fbc02b1e 100644
--- a/rules/all-target.mk
+++ b/rules/all-target.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/bindist.mk b/rules/bindist.mk
index 49d8aa4d34..af3b144222 100644
--- a/rules/bindist.mk
+++ b/rules/bindist.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk
index 1905a0e4d6..3a7491fe51 100644
--- a/rules/build-dependencies.mk
+++ b/rules/build-dependencies.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk
index af1ead8099..49c54461d2 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk
index 122ec60a90..187d9c848d 100644
--- a/rules/build-package-way.mk
+++ b/rules/build-package-way.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-package.mk b/rules/build-package.mk
index c29155c582..e8af273ad0 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/build-prog.mk b/rules/build-prog.mk
index 4ea93e93d5..bc37110bd5 100644
--- a/rules/build-prog.mk
+++ b/rules/build-prog.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/c-objs.mk b/rules/c-objs.mk
index b43cd0bff6..415998ab60 100644
--- a/rules/c-objs.mk
+++ b/rules/c-objs.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/c-sources.mk b/rules/c-sources.mk
index f9a99bdbc8..87ee7b23a5 100644
--- a/rules/c-sources.mk
+++ b/rules/c-sources.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/c-suffix-rules.mk b/rules/c-suffix-rules.mk
index 9b4e3de2fc..d405d155c0 100644
--- a/rules/c-suffix-rules.mk
+++ b/rules/c-suffix-rules.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/clean-target.mk b/rules/clean-target.mk
index 6a7704657a..8b37624af7 100644
--- a/rules/clean-target.mk
+++ b/rules/clean-target.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/cmm-objs.mk b/rules/cmm-objs.mk
index 350e283837..dc517cbf34 100644
--- a/rules/cmm-objs.mk
+++ b/rules/cmm-objs.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/cmm-suffix-rules.mk b/rules/cmm-suffix-rules.mk
index 2832411938..ecf7bcba4b 100644
--- a/rules/cmm-suffix-rules.mk
+++ b/rules/cmm-suffix-rules.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/dependencies.mk b/rules/dependencies.mk
index 8c029316f6..4aae78e4e3 100644
--- a/rules/dependencies.mk
+++ b/rules/dependencies.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/distdir-opts.mk b/rules/distdir-opts.mk
index b8f10bb2ca..fe329c1d31 100644
--- a/rules/distdir-opts.mk
+++ b/rules/distdir-opts.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/distdir-way-opts.mk b/rules/distdir-way-opts.mk
index de2e45d4b9..692f21a70f 100644
--- a/rules/distdir-way-opts.mk
+++ b/rules/distdir-way-opts.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/foreachLibrary.mk b/rules/foreachLibrary.mk
index be79fccc52..dddd61a899 100644
--- a/rules/foreachLibrary.mk
+++ b/rules/foreachLibrary.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 37182bcbe6..f0d686194f 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hi-rule.mk b/rules/hi-rule.mk
index 2920609d49..be4a460abe 100644
--- a/rules/hi-rule.mk
+++ b/rules/hi-rule.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
@@ -20,7 +20,7 @@
# they depend on have not changed.
#
# See:
-# http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance
+# https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/recompilation-avoidance
#
# So how do we express this dependency to make? The exact form of
# this rule is quite fragile. Here are some versions that don't work
diff --git a/rules/hs-objs.mk b/rules/hs-objs.mk
index 8af18f4aa0..f46e527343 100644
--- a/rules/hs-objs.mk
+++ b/rules/hs-objs.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hs-sources.mk b/rules/hs-sources.mk
index 20c286dcbe..1df4ed7a89 100644
--- a/rules/hs-sources.mk
+++ b/rules/hs-sources.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk
index e909db5b42..d7143053ee 100644
--- a/rules/hs-suffix-rules-srcdir.mk
+++ b/rules/hs-suffix-rules-srcdir.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hs-suffix-way-rules-srcdir.mk b/rules/hs-suffix-way-rules-srcdir.mk
index 18bf35324e..78c1be18f4 100644
--- a/rules/hs-suffix-way-rules-srcdir.mk
+++ b/rules/hs-suffix-way-rules-srcdir.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/hs-suffix-way-rules.mk b/rules/hs-suffix-way-rules.mk
index b77806f42d..286e04eee7 100644
--- a/rules/hs-suffix-way-rules.mk
+++ b/rules/hs-suffix-way-rules.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/include-dependencies.mk b/rules/include-dependencies.mk
index e505636a3d..7d4c38b73b 100644
--- a/rules/include-dependencies.mk
+++ b/rules/include-dependencies.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/includes-sources.mk b/rules/includes-sources.mk
index 369985f073..fca114bffd 100644
--- a/rules/includes-sources.mk
+++ b/rules/includes-sources.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/library-path.mk b/rules/library-path.mk
index dbfd4be226..9a398eebf0 100644
--- a/rules/library-path.mk
+++ b/rules/library-path.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/make-command.mk b/rules/make-command.mk
index 761bdfc5f7..17d0921525 100644
--- a/rules/make-command.mk
+++ b/rules/make-command.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/manual-package-config.mk b/rules/manual-package-config.mk
index fe3a5e3b08..2fc6dea5d3 100644
--- a/rules/manual-package-config.mk
+++ b/rules/manual-package-config.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/package-config.mk b/rules/package-config.mk
index a75f611517..4d9737f05d 100644
--- a/rules/package-config.mk
+++ b/rules/package-config.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/prof.mk b/rules/prof.mk
index b278142a6d..5733b415ca 100644
--- a/rules/prof.mk
+++ b/rules/prof.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/sdist-ghc-file.mk b/rules/sdist-ghc-file.mk
index d6a70e10fb..99264488c4 100644
--- a/rules/sdist-ghc-file.mk
+++ b/rules/sdist-ghc-file.mk
@@ -3,8 +3,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk
index bdab6e289d..37d01e6ecd 100644
--- a/rules/shell-wrapper.mk
+++ b/rules/shell-wrapper.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/sphinx.mk b/rules/sphinx.mk
index 32ef3e4fb5..43dff6177b 100644
--- a/rules/sphinx.mk
+++ b/rules/sphinx.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/trace.mk b/rules/trace.mk
index 860cd8f245..ec92fea1d5 100644
--- a/rules/trace.mk
+++ b/rules/trace.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/rules/way-prelims.mk b/rules/way-prelims.mk
index 75a23df632..4709149dff 100644
--- a/rules/way-prelims.mk
+++ b/rules/way-prelims.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/testsuite/README.md b/testsuite/README.md
index 278a668e86..3032c73979 100644
--- a/testsuite/README.md
+++ b/testsuite/README.md
@@ -44,4 +44,4 @@ The various ways that GHC supports are defined in `config/ghc`
Please see the more extensive documentation [here][1].
- [1]: http://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests
+ [1]: https://gitlab.haskell.org/ghc/ghc/wikis/building/running-tests
diff --git a/testsuite/driver/README.md b/testsuite/driver/README.md
index 9324fd3df6..a6646ae37f 100644
--- a/testsuite/driver/README.md
+++ b/testsuite/driver/README.md
@@ -130,4 +130,4 @@ you checkout that commit and run the testsuite (or test).
* Additionally, one will want to look at `compile_and_run`, `simple_run`,
and `simple_build` in testutil.py
- [1]: http://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests
+ [1]: https://gitlab.haskell.org/ghc/ghc/wikis/building/running-tests
diff --git a/testsuite/tests/deriving/should_fail/T11509_1.hs b/testsuite/tests/deriving/should_fail/T11509_1.hs
index 369f51ad39..d684e64fc9 100644
--- a/testsuite/tests/deriving/should_fail/T11509_1.hs
+++ b/testsuite/tests/deriving/should_fail/T11509_1.hs
@@ -17,7 +17,7 @@ import GHC.StaticPtr
{-------------------------------------------------------------------------------
Standard Cloud-Haskell-like infrastructure
- See <https://ghc.haskell.org/trac/ghc/wiki/TypeableT> for a dicussion of 'SC'.
+ See <https://gitlab.haskell.org/ghc/ghc/wikis/typeable-t> for a dicussion of 'SC'.
-------------------------------------------------------------------------------}
class Serializable a -- empty class, just for demonstration purposes
diff --git a/testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs b/testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs
index 96220897e0..49ad7bb5b2 100644
--- a/testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs
+++ b/testsuite/tests/typecheck/should_compile/TcCoercibleCompile.hs
@@ -5,7 +5,7 @@ import Data.Coerce
import Data.Proxy
import Data.Monoid (First(First)) -- check whether the implicit use of First is noted
--- see https://ghc.haskell.org/trac/ghc/wiki/Design/NewCoercibleSolver/V2
+-- see https://gitlab.haskell.org/ghc/ghc/wikis/design/new-coercible-solver/v2
foo1 :: f a -> f a
foo1 = coerce
diff --git a/utils/check-api-annotations/ghc.mk b/utils/check-api-annotations/ghc.mk
index 61f896d3d7..413d433ce5 100644
--- a/utils/check-api-annotations/ghc.mk
+++ b/utils/check-api-annotations/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/check-ppr/ghc.mk b/utils/check-ppr/ghc.mk
index 189b447171..08e4062256 100644
--- a/utils/check-ppr/ghc.mk
+++ b/utils/check-ppr/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/deriveConstants/Makefile b/utils/deriveConstants/Makefile
index ec37231447..26f1432444 100644
--- a/utils/deriveConstants/Makefile
+++ b/utils/deriveConstants/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/deriveConstants/ghc.mk b/utils/deriveConstants/ghc.mk
index e2789991c1..98c8633666 100644
--- a/utils/deriveConstants/ghc.mk
+++ b/utils/deriveConstants/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/gen-dll/Makefile b/utils/gen-dll/Makefile
index 8b17a7ec76..215b80d60a 100644
--- a/utils/gen-dll/Makefile
+++ b/utils/gen-dll/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/gen-dll/ghc.mk b/utils/gen-dll/ghc.mk
index 5b4ba3a398..77c75f07ed 100644
--- a/utils/gen-dll/ghc.mk
+++ b/utils/gen-dll/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/genapply/Main.hs b/utils/genapply/Main.hs
index 7038dc5c09..f35897ba9d 100644
--- a/utils/genapply/Main.hs
+++ b/utils/genapply/Main.hs
@@ -8,7 +8,7 @@
-- The above warning suppression flags are a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See
--- http://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
+-- https://gitlab.haskell.org/ghc/ghc/wikis/commentary/coding-style#warnings
-- for details
module Main(main) where
diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile
index 1d94fcdb73..cc76328b70 100644
--- a/utils/genapply/Makefile
+++ b/utils/genapply/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/genapply/ghc.mk b/utils/genapply/ghc.mk
index e0e5886521..88b3444275 100644
--- a/utils/genapply/ghc.mk
+++ b/utils/genapply/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/genprimopcode/Makefile b/utils/genprimopcode/Makefile
index 11eff3146e..1e35f27228 100644
--- a/utils/genprimopcode/Makefile
+++ b/utils/genprimopcode/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/genprimopcode/ghc.mk b/utils/genprimopcode/ghc.mk
index 790c75dbb2..47250711a9 100644
--- a/utils/genprimopcode/ghc.mk
+++ b/utils/genprimopcode/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/ghc-cabal/Makefile b/utils/ghc-cabal/Makefile
index c405314e61..88396b2e97 100644
--- a/utils/ghc-cabal/Makefile
+++ b/utils/ghc-cabal/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk
index 9e403758fa..3de7a62798 100644
--- a/utils/ghc-cabal/ghc.mk
+++ b/utils/ghc-cabal/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile
index 57fe1445a9..9a3a1cf20b 100644
--- a/utils/ghc-pkg/Makefile
+++ b/utils/ghc-pkg/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/ghc-pkg/ghc.mk b/utils/ghc-pkg/ghc.mk
index 4d5ef4e108..a063e0b787 100644
--- a/utils/ghc-pkg/ghc.mk
+++ b/utils/ghc-pkg/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/hp2ps/Makefile b/utils/hp2ps/Makefile
index 7b31d72494..12c397c6ac 100644
--- a/utils/hp2ps/Makefile
+++ b/utils/hp2ps/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/hp2ps/ghc.mk b/utils/hp2ps/ghc.mk
index 21ce87dcfa..bd62fbedef 100644
--- a/utils/hp2ps/ghc.mk
+++ b/utils/hp2ps/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/hpc/Makefile b/utils/hpc/Makefile
index 378b063b9e..b8707773ad 100644
--- a/utils/hpc/Makefile
+++ b/utils/hpc/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/hpc/ghc.mk b/utils/hpc/ghc.mk
index f70be94599..9b2bce238e 100644
--- a/utils/hpc/ghc.mk
+++ b/utils/hpc/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/iserv-proxy/Makefile b/utils/iserv-proxy/Makefile
index dec92996f7..2ce8bf84d4 100644
--- a/utils/iserv-proxy/Makefile
+++ b/utils/iserv-proxy/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/iserv-proxy/ghc.mk b/utils/iserv-proxy/ghc.mk
index b90a96a1fa..479b72e9b0 100644
--- a/utils/iserv-proxy/ghc.mk
+++ b/utils/iserv-proxy/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/iserv/Makefile b/utils/iserv/Makefile
index 361985852f..6d14213bac 100644
--- a/utils/iserv/Makefile
+++ b/utils/iserv/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/iserv/ghc.mk b/utils/iserv/ghc.mk
index 194621a85c..74f90e60b7 100644
--- a/utils/iserv/ghc.mk
+++ b/utils/iserv/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/mkdirhier/Makefile b/utils/mkdirhier/Makefile
index a27cf2b461..363ccd1cd1 100644
--- a/utils/mkdirhier/Makefile
+++ b/utils/mkdirhier/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/mkdirhier/ghc.mk b/utils/mkdirhier/ghc.mk
index 2e3a301c9a..a574b86861 100644
--- a/utils/mkdirhier/ghc.mk
+++ b/utils/mkdirhier/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/remote-iserv/Makefile b/utils/remote-iserv/Makefile
index c659a21a20..23054135ca 100644
--- a/utils/remote-iserv/Makefile
+++ b/utils/remote-iserv/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/remote-iserv/ghc.mk b/utils/remote-iserv/ghc.mk
index db8f32fc22..f0cd9ffa49 100644
--- a/utils/remote-iserv/ghc.mk
+++ b/utils/remote-iserv/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile
index 01b3b53e29..91230eceb2 100644
--- a/utils/runghc/Makefile
+++ b/utils/runghc/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk
index 50b11a612e..65a3ca88d6 100644
--- a/utils/runghc/ghc.mk
+++ b/utils/runghc/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/touchy/Makefile b/utils/touchy/Makefile
index a16e48bc9a..c0eb696cc6 100644
--- a/utils/touchy/Makefile
+++ b/utils/touchy/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/touchy/ghc.mk b/utils/touchy/ghc.mk
index e1ac2745c5..9c093c19cf 100644
--- a/utils/touchy/ghc.mk
+++ b/utils/touchy/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/unlit/Makefile b/utils/unlit/Makefile
index 24bd615b26..5a6bdc3546 100644
--- a/utils/unlit/Makefile
+++ b/utils/unlit/Makefile
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/utils/unlit/ghc.mk b/utils/unlit/ghc.mk
index 0560aa57b8..fe38cbbd0f 100644
--- a/utils/unlit/ghc.mk
+++ b/utils/unlit/ghc.mk
@@ -5,8 +5,8 @@
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
-# http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
+# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------
diff --git a/validate b/validate
index 8ceaa6105d..6b529cf55b 100755
--- a/validate
+++ b/validate
@@ -7,7 +7,7 @@ show_help () {
Usage: $0 [FLAGS]...
Validate GHC source tree against testsuite; see
-http://ghc.haskell.org/trac/ghc/wiki/TestingPatches for more
+https://gitlab.haskell.org/ghc/ghc/wikis/testing-patches for more
information.
Flags:
@@ -160,7 +160,7 @@ echo "ValidateHpc=$hpc" >> mk/are-validating.mk
# Note [Default build system verbosity].
#
-# From https://ghc.haskell.org/trac/ghc/wiki/Design/BuildSystem:
+# From https://gitlab.haskell.org/ghc/ghc/wikis/design/build-system:
#
# "The build system should clearly report what it's doing (and sometimes
# why), without being too verbose. It should emit actual command lines as