summaryrefslogtreecommitdiff
path: root/includes
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 /includes
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
Diffstat (limited to 'includes')
-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
49 files changed, 53 insertions, 53 deletions
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"
*