jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/805379 )
Change subject: [IMPR] move api.py to api.__init__.py
......................................................................
[IMPR] move api.py to api.__init__.py
Change-Id: I1a49e9c0ddf40d79adab09dfdf1cc61da215832f
---
M pywikibot/CONTENT.rst
R pywikibot/data/api/__init__.py
2 files changed, 4 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/CONTENT.rst b/pywikibot/CONTENT.rst
index 5404ec6..318c2e9 100644
--- a/pywikibot/CONTENT.rst
+++ b/pywikibot/CONTENT.rst
@@ -89,8 +89,10 @@
+----------------------------+------------------------------------------------------+
| data | Module providing layers of data access to wiki
|
+============================+======================================================+
- | api.py | Interface to MediaWiki's api.php
|
-
+----------------------------+------------------------------------------------------+
+ | api.py | Interface Module to MediaWiki's api
|
+ |
+-------------+----------------------------------------+
+ | | __init__.py | Interface to MediaWiki's api.php
|
+
+----------------------------+-------------+----------------------------------------+
| mysql.py | Miscellaneous helper functions for mysql queries
|
+----------------------------+------------------------------------------------------+
| sparql.py | Objects representing SPARQL query API
|
diff --git a/pywikibot/data/api.py b/pywikibot/data/api/__init__.py
similarity index 100%
rename from pywikibot/data/api.py
rename to pywikibot/data/api/__init__.py
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/805379
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I1a49e9c0ddf40d79adab09dfdf1cc61da215832f
Gerrit-Change-Number: 805379
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged