Subject: [PATCH v3 27/53] gnu: emacs-mediawiki-el: Rename package to emacs-mediawiki.

From: Nicolas Graves <[email-masked]>
Date: Sun, 18 May 2025 10:16:26 +0200

* gnu/packages/emacs-xyz.scm (emacs-mediawiki-el): Define in terms of
'deprecated-package'.
(emacs-mediawiki): New variable, formerly known as
"emacs-mediawiki-el".  Run guix style.
---
 gnu/packages/emacs-xyz.scm | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d56e7c9ac7..e9f1420710 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5417,19 +5417,19 @@ (define-public emacs-howm
 searches.  Unlike @code{emacs-wiki.el}, it can be combined with any format.")
     (license license:gpl1+)))
 
-(define-public emacs-mediawiki-el
+(define-public emacs-mediawiki
   (package
-    (name "emacs-mediawiki-el")
+    (name "emacs-mediawiki")
     (version "2.3.1")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                     (url "https://github.com/hexmode/mediawiki-el.git")
-                     (commit version)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1d05jw2sa19rgzskvavh21bfmbh07yza1drfbgypsvay3nkjfd2z"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hexmode/mediawiki-el")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1d05jw2sa19rgzskvavh21bfmbh07yza1drfbgypsvay3nkjfd2z"))))
     (build-system emacs-build-system)
     (synopsis "Mediawiki editor for Emacs")
     (description "This package provides a way to edit mediawiki sites from
@@ -5437,6 +5437,9 @@ (define-public emacs-mediawiki-el
     (home-page "https://github.com/hexmode/mediawiki-el")
     (license license:agpl3+)))
 
+(define-deprecated/public emacs-mediawiki-el emacs-mediawiki
+  (deprecated-package "emacs-mediawiki-el" emacs-mediawiki))
+
 (define-public emacs-bm
   (package
     (name "emacs-bm")
-- 
2.49.0