Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2513494

Browse files
zaycodesbrendajerop
authored andcommitted
shortened example description
1 parentfaa32a8 commit2513494

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

‎python/README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ Code snippets in Python demonstrating how to use various modules of the [MediaWi
174174
*[API:Deletedrevisions](https://www.mediawiki.org/wiki/API:Deletedrevisions)
175175
*[deleted_revisions.py](deleted_revisions.py): Get a list of deleted revisions for Talk:Main Page.
176176
*[API:Revisiondelete](https://www.mediawiki.org/wiki/API:Revisiondelete)
177-
*[revision_delete.py](revision_delete.py): Hide all information about a certain revision ID.
178-
(The target, Sample Page, is unnecessary in this case.)
177+
*[revision_delete.py](revision_delete.py): Hide all information about a certain revision ID.
179178

180179
###Search
181180
*[API:Search](https://www.mediawiki.org/wiki/API:Search)

‎python/revision_delete.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
revision_delete.py
55
66
MediaWiki API Demos
7-
Demo of `Revisiondelete` module: Hide all information about a certain revision ID.
8-
(The target, Sample Page, is unnecessary in this case.)
7+
Demo of `Revisiondelete` module: Hide all information about a certain revision ID.
98
109
MIT license
1110
"""
@@ -56,8 +55,7 @@
5655

5756
CSRF_TOKEN=DATA["query"]["tokens"]["csrftoken"]
5857

59-
# Step 4: Send a POST request to hide all information about a certain revision ID.
60-
# (The target, Sample Page, is unnecessary in this case.)
58+
# Step 4: Send a POST request to hide all information about a certain revision ID.
6159
PARAMS_4= {
6260
"action":"revisiondelete",
6361
"type":"revision",

‎python/vend.xml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Envelopexmlns:ns2="http://webservices.ems.momas.com/"xmlns:ns3="http://schemas.xmlsoap.org/soap/envelope/">
2+
<Body>
3+
<Vend>
4+
<Amount>10</Amount>
5+
<Msg>Virtual Top Up</Msg>
6+
<SequenceNo>397098</SequenceNo>
7+
<DealerNo>ISW</DealerNo>
8+
<Password>ISW</Password>
9+
<DestAccount>0101170003368</DestAccount>
10+
<ProductCode>12122234</ProductCode>
11+
</Vend>
12+
</Body>
13+
</Envelope>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp