From e524393a7526f656cdec909226d5fbdaa23a6b89 Mon Sep 17 00:00:00 2001
From: Magnus Giesbert <magnus@fsmpi.rwth-aachen.de>
Date: Tue, 30 Aug 2022 11:57:18 +0200
Subject: [PATCH] =?UTF-8?q?add=20=C2=B4get=5Fpagelist=C2=B4=20to=20wikibot?=
 =?UTF-8?q?.py?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 wikibot.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/wikibot.py b/wikibot.py
index 06308c7..4365402 100644
--- a/wikibot.py
+++ b/wikibot.py
@@ -15,6 +15,12 @@ def get_time():
     return proxy.dokuwiki.getTime()
 
 
+def get_pagelist():
+    """shortcut for dokwuki getPagelist call
+        Returns a list of dictionaries with keys: "id" (full pagename), "size" (number of characters of page), "rev" (timestamp of last revision), "mtime" (same as rev).
+    """
+    return proxy.dokuwiki.getPagelist()
+
 def strip_namespace(full_name):
     """Returns the pure pagename without namespace.
         If a namespace withoput pagename is given like "n1:n2:" then the last namespace is returned .
-- 
GitLab