72 lines
No EOL
4.1 KiB
HTML
72 lines
No EOL
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>CLiki: CL-MediaWiki</title>
|
|
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
|
|
href="https://www.cliki.net/site/feed/article.atom?title=CL-MediaWiki">
|
|
<link rel="stylesheet" href="static/css/style.css">
|
|
<link rel="stylesheet" href="static/css/colorize.css">
|
|
</head>
|
|
|
|
<body>
|
|
<span class="hidden">CLiki - CL-MediaWiki</span>
|
|
<div id="content"><div id="content-area"><div id="article-title">CL-MediaWiki</div><div id="article">CL-MediaWiki is a wrapper in Common Lisp around the media wiki <a href="web API.html" class="category">web API</a>.<p>CL-MediaWiki can be found at its new github location:<a href="https://github.com/AccelerationNet/cl-mediawiki">https://github.com/AccelerationNet/cl-mediawiki</a>. Any questions, bug reports, or comments should be <a href="https://github.com/AccelerationNet/cl-mediawiki/issues/new">added as issue</a> on the github issue tracker.<p>Examples:
|
|
<pre>
|
|
;; Gets the content of page "Pigment" from wikipedia
|
|
(with-mediawiki ("http://en.wikipedia.org/w")
|
|
(get-page-content "Pigment"))
|
|
|
|
;; Gets the content of page "Pigment" from a private mediawiki that requires authentication
|
|
(with-mediawiki ((make-instance 'mediawiki
|
|
:url "http://wiki.yourdomain.net"
|
|
:auth (list "user" "pass")))
|
|
(get-page-content "Pigment"))
|
|
|
|
;; Sets the content of page "Pigment" to be "This is the new content"
|
|
(with-mediawiki (...)
|
|
(set-page-content "Pigment" "This is the new content"))
|
|
|
|
;; Get the ids, user, and size of the last 10 revisions
|
|
(with-mediawiki ("http://en.wikipedia.org/w")
|
|
(get-revisions "Pigment" :rvprop "ids|user|size" :rvlimit 10))
|
|
|
|
</pre><p>
|
|
Topic: <a href="AccelerationNet.html" class="category">AccelerationNet</a></div></div>
|
|
<div id="footer" class="buttonbar"><ul><li><a href="CL-MediaWiki.html">Current version</a></li>
|
|
<li><a href="https://www.cliki.net/site/history?article=CL-MediaWiki">History</a></li>
|
|
<li><a href="https://www.cliki.net/site/backlinks?article=CL-MediaWiki">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=CL-MediaWiki&from-revision=3686414889">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
|
|
</div>
|
|
<div id="header-buttons" class="buttonbar">
|
|
<ul>
|
|
<li><a href="https://www.cliki.net/">Home</a></li>
|
|
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
|
|
<li><a href="CLiki.html">About</a></li>
|
|
<li><a href="Text Formatting.html">Text Formatting</a></li>
|
|
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
|
|
</ul>
|
|
<div id="search">
|
|
<form action="https://www.cliki.net/site/search">
|
|
<label for="search_query" class="hidden">Search CLiki</label>
|
|
<input type="text" name="query" id="search_query" value="" />
|
|
<input type="submit" value="search" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div id="pageheader">
|
|
<div id="header">
|
|
<span id="logo">CLiki</span>
|
|
<span id="slogan">the common lisp wiki</span>
|
|
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
|
|
<label for="login_name" class="hidden">Account name</label>
|
|
<input type="text" name="name" id="login_name" class="login_input" />
|
|
<label for= "login_password" class="hidden">Password</label>
|
|
<input type="password" name="password" id="login_password" class="login_input" />
|
|
<input type="submit" name="login" value="login" id="login_submit" /><br />
|
|
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
|
|
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body></html> |