Update docs

This commit is contained in:
Starbeamrainbowlabs 2018-02-14 22:19:11 +00:00
parent 391efeb72b
commit f367237ccc
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
62 changed files with 1054 additions and 941 deletions

30
.gitignore vendored
View File

@ -41,10 +41,26 @@ build/diff.min.js
# The testing zone for the $paths
data_test
# Created by https://www.gitignore.io/api/git
### Git ###
*.orig
# End of https://www.gitignore.io/api/git
# phpdoc - Can't believe I committed this by accident :P
phpdoc
# Created by https://www.gitignore.io/api/git
### Git ###
*.orig
# End of https://www.gitignore.io/api/git
# Created by https://www.gitignore.io/api/composer
### Composer ###
composer.phar
/vendor/
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
# End of https://www.gitignore.io/api/composer

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1153864255"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1107965876"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1153864255" class="accordion-body collapse in">
<div id="namespace-1107965876" class="accordion-body collapse in">
<div class="accordion-inner">
@ -365,7 +365,7 @@ with a URL encoded version of the page name.</em></p>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-820328139"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1672493508"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-820328139" class="accordion-body collapse in">
<div id="namespace-1672493508" class="accordion-body collapse in">
<div class="accordion-inner">
@ -414,7 +414,7 @@ Added image support</p>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-167413318"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1802082726"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-167413318" class="accordion-body collapse in">
<div id="namespace-1802082726" class="accordion-body collapse in">
<div class="accordion-inner">
@ -525,7 +525,7 @@ index.</p>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1633737080"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1859412471"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1633737080" class="accordion-body collapse in">
<div id="namespace-1859412471" class="accordion-body collapse in">
<div class="accordion-inner">
@ -943,7 +943,7 @@ navigation bar.</p></td>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1506521234"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1845438421"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1506521234" class="accordion-body collapse in">
<div id="namespace-1845438421" class="accordion-body collapse in">
<div class="accordion-inner">
@ -919,7 +919,7 @@ in a list of search results.</em></p>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-221792160"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-244214847"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-221792160" class="accordion-body collapse in">
<div id="namespace-244214847" class="accordion-body collapse in">
<div class="accordion-inner">
@ -2487,7 +2487,7 @@ an edit is saved.</em></p>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-579197492"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1846985423"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-579197492" class="accordion-body collapse in">
<div id="namespace-1846985423" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2096227298"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1568925422"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-2096227298" class="accordion-body collapse in">
<div id="namespace-1568925422" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1139473875"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1075669396"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1139473875" class="accordion-body collapse in">
<div id="namespace-1075669396" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-330489182"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1028100166"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-330489182" class="accordion-body collapse in">
<div id="namespace-1028100166" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1658446726"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-570644175"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1658446726" class="accordion-body collapse in">
<div id="namespace-570644175" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1857578391"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-438654213"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1857578391" class="accordion-body collapse in">
<div id="namespace-438654213" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2077238817"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-297484429"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-2077238817" class="accordion-body collapse in">
<div id="namespace-297484429" class="accordion-body collapse in">
<div class="accordion-inner">
@ -298,7 +298,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1350747476"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1649409454"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1350747476" class="accordion-body collapse in">
<div id="namespace-1649409454" class="accordion-body collapse in">
<div class="accordion-inner">
@ -544,7 +544,7 @@ at which the comments are being rendered.</p></td>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1008324170"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1086690381"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1008324170" class="accordion-body collapse in">
<div id="namespace-1086690381" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-963937092"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1517549479"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-963937092" class="accordion-body collapse in">
<div id="namespace-1517549479" class="accordion-body collapse in">
<div class="accordion-inner">
@ -304,7 +304,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-747065120"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1214730968"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-747065120" class="accordion-body collapse in">
<div id="namespace-1214730968" class="accordion-body collapse in">
<div class="accordion-inner">
@ -384,7 +384,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1380378755"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-461751090"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1380378755" class="accordion-body collapse in">
<div id="namespace-461751090" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1996376235"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1960358223"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1996376235" class="accordion-body collapse in">
<div id="namespace-1960358223" class="accordion-body collapse in">
<div class="accordion-inner">
@ -246,7 +246,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1838125378"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1934782792"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1838125378" class="accordion-body collapse in">
<div id="namespace-1934782792" class="accordion-body collapse in">
<div class="accordion-inner">
@ -381,7 +381,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-90756618"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1594508827"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-90756618" class="accordion-body collapse in">
<div id="namespace-1594508827" class="accordion-body collapse in">
<div class="accordion-inner">
@ -503,7 +503,7 @@ the image.</p></td>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1672713533"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-124847631"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1672713533" class="accordion-body collapse in">
<div id="namespace-124847631" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-974590774"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1806874526"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-974590774" class="accordion-body collapse in">
<div id="namespace-1806874526" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1557987198"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1225415547"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1557987198" class="accordion-body collapse in">
<div id="namespace-1225415547" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1127439907"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1051402007"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1127439907" class="accordion-body collapse in">
<div id="namespace-1051402007" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-863606868"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1600661756"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-863606868" class="accordion-body collapse in">
<div id="namespace-1600661756" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-711545980"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1814085800"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-711545980" class="accordion-body collapse in">
<div id="namespace-1814085800" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1186667539"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-630243056"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1186667539" class="accordion-body collapse in">
<div id="namespace-630243056" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1441772616"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1785272022"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1441772616" class="accordion-body collapse in">
<div id="namespace-1785272022" class="accordion-body collapse in">
<div class="accordion-inner">
@ -340,7 +340,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1195236639"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1205710674"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1195236639" class="accordion-body collapse in">
<div id="namespace-1205710674" class="accordion-body collapse in">
<div class="accordion-inner">
@ -295,7 +295,7 @@ enabled, or sha256 otherwise.</p>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-594893006"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1867778079"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-594893006" class="accordion-body collapse in">
<div id="namespace-1867778079" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-814820"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-61663576"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-814820" class="accordion-body collapse in">
<div id="namespace-61663576" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-375120104"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1968917468"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-375120104" class="accordion-body collapse in">
<div id="namespace-1968917468" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-333273259"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-721554424"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-333273259" class="accordion-body collapse in">
<div id="namespace-721554424" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-802788267"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2076603952"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-802788267" class="accordion-body collapse in">
<div id="namespace-2076603952" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-703438141"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-965621944"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-703438141" class="accordion-body collapse in">
<div id="namespace-965621944" class="accordion-body collapse in">
<div class="accordion-inner">
@ -246,7 +246,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-125842645"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1079981442"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-125842645" class="accordion-body collapse in">
<div id="namespace-1079981442" class="accordion-body collapse in">
<div class="accordion-inner">
@ -246,7 +246,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Page Comments",
"version" => "0.2.3",
"version" => "0.3.1",
"author" => "Starbeamrainbowlabs",
"description" => "Adds threaded comments to the bottom of every page.",
"id" => "feature-comments",
@ -214,7 +214,7 @@ register_module([
else {
$comments_html .= "<form class='comment-reply-form disabled no-login'>\n" .
"\t<textarea disabled name='message' placeholder='Type your comment here. You can use the same syntax you use when writing pages.'></textarea>\n" .
"\t<p class='not-logged-in'><a href='?action=login&returnto=" . rawurlencode("?action=view&page=" . rawurlencode($env->page)) . "'>Login</a> to post a comment.</p>\n" .
"\t<p class='not-logged-in'><a href='?action=login&returnto=" . rawurlencode("?action=view&page=" . rawurlencode($env->page) . "#comments") . "'>Login</a> to post a comment.</p>\n" .
"\t<input type='hidden' name='replyto' />\n" .
"\t<input disabled type='submit' value='Post Comment' title='Login to post a comment.' />\n" .
"</form>\n";

View File

@ -1,13 +1,13 @@
<?php
register_module([
"name" => "Page History",
"version" => "0.3",
"version" => "0.3.1",
"author" => "Starbeamrainbowlabs",
"description" => "Adds the ability to keep unlimited page history, limited only by your disk space. Note that this doesn't store file history (yet). Currently depends on feature-recent-changes for rendering of the history page.",
"id" => "feature-history",
"code" => function() {
/**
* @api {get} ?action=history&page={pageName} Get a list of revisions for a page
* @api {get} ?action=history&page={pageName}[&format={format}] Get a list of revisions for a page
* @apiName History
* @apiGroup Page
* @apiPermission Anonymous

View File

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Search",
"version" => "0.6",
"version" => "0.6.1",
"author" => "Starbeamrainbowlabs",
"description" => "Adds proper search functionality to Pepperminty Wiki using an inverted index to provide a full text search engine. If pages don't show up, then you might have hit a stop word. If not, try requesting the `invindex-rebuild` action to rebuild the inverted index from scratch.",
"id" => "feature-search",
@ -528,7 +528,7 @@ class search
public static function tokenize($source)
{
$source = strtolower($source);
$source = str_replace([ '[', ']', '|', '{', '}' ], " ", $source);
$source = str_replace([ '[', ']', '|', '{', '}', '/' ], " ", $source);
return preg_split("/((^\p{P}+)|(\p{P}*\s+\p{P}*)|(\p{P}+$))|\|/u", $source, -1, PREG_SPLIT_NO_EMPTY);
}

View File

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Uploader",
"version" => "0.5.11",
"version" => "0.5.14",
"author" => "Starbeamrainbowlabs",
"description" => "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File/' prefix.",
"id" => "feature-upload",
@ -101,6 +101,10 @@ register_module([
case "POST":
// Recieve file
if(!$settings->editing) {
exit(page_renderer::render_main("Upload failed - $settings->sitename", "<p>Your upload couldn't be processed because editing is currently disabled on $settings->sitename. Please contact $settings->admindetails_name, $settings->sitename's administrator for more information - their contact details can be found at the bottom of this page. <a href='index.php'>Go back to the main page</a>."));
}
// Make sure uploads are enabled
if(!$settings->upload_enabled)
{
@ -311,7 +315,7 @@ register_module([
header("content-disposition: inline; filename=\"$shortFilename\"");
header("last-modified: " . gmdate('D, d M Y H:i:s T', $pageindex->{$env->page}->lastmodified));
// If the size is set or original, then send (or redirect to) the original image
// If the size is set to original, then send (or redirect to) the original image
// Also do the same for SVGs if svg rendering is disabled.
if(isset($_GET["size"]) and $_GET["size"] == "original" or
(empty($settings->render_svg_previews) && $mime_type == "image/svg+xml"))
@ -476,7 +480,7 @@ register_module([
if($mime_type == "application/pdf")
$fileTypeDisplay = "file";
$preview_sizes = [ 256, 512, 768, 1024, 1440 ];
$preview_sizes = [ 256, 512, 768, 1024, 1440, 1920 ];
$preview_html .= "\t\t\t<figure class='preview'>
<img src='$previewUrl' />
<nav class='image-controls'>
@ -504,7 +508,7 @@ register_module([
}
$fileInfo = [];
$fileInfo["Name"] = str_replace("File/", "", $filepath);
$fileInfo["Name"] = str_replace("Files/", "", $filepath);
$fileInfo["Type"] = $mime_type;
$fileInfo["Size"] = human_filesize(filesize($env->storage_prefix . $filepath));
switch($fileTypeDisplay)
@ -515,6 +519,7 @@ register_module([
break;
}
$fileInfo["Uploaded by"] = $pageindex->{$env->page}->lasteditor;
$fileInfo["Short markdown embed code"] = "<input type='text' class='short-embed-markdown-code' value='![" . htmlentities($fileInfo["Name"], ENT_QUOTES | ENT_HTML5) . "](" . htmlentities($filepath, ENT_QUOTES | ENT_HTML5) . " | right | 350x350)' readonly /> <button class='short-embed-markdown-button'>Copy</button>";
$preview_html .= "\t\t\t<h2>File Information</h2>
<table>";
@ -528,6 +533,17 @@ register_module([
}
});
// Add the snippet that copies the embed markdown code to the clipboard
page_renderer::AddJSSnippet('window.addEventListener("load", function(event) {
let button = document.querySelector(".short-embed-markdown-button");
if(button == null) return;
button.addEventListener("click", function(inner_event) {
let input = document.querySelector(".short-embed-markdown-code");
input.select();
button.innerHTML = document.execCommand("copy") ? "Copied!" : "Failed to copy :-(";
});
});');
// Register a section on the help page on uploading files
add_help_section("28-uploading-files", "Uploading Files", "<p>$settings->sitename supports the uploading of files, though it is up to " . $settings->admindetails_name . ", $settings->sitename's administrator as to whether it is enabled or not (uploads are currently " . (($settings->upload_enabled) ? "enabled" : "disabled") . ").</p>
<p>Currently Pepperminty Wiki (the software that $settings->sitename uses) only supports the uploading of images, although more file types should be supported in the future (<a href='//github.com/sbrl/Pepperminty-Wiki/issues'>open an issue on GitHub</a> if you are interested in support for more file types).</p>
@ -610,7 +626,11 @@ function upload_check_svg($temp_filename)
*/
function getsvgsize($svgFilename)
{
$svg = simplexml_load_file($svgFilename); // Load it as XML
global $settings;
libxml_disable_entity_loader(true); // Ref: XXE Billion Laughs Attack, issue #152
$rawSvg = file_get_contents($svgFilename);
$svg = simplexml_load_string($rawSvg); // Load it as XML
unset($rawSvg);
if($svg === false)
{
http_response_code(415);

View File

@ -86,6 +86,12 @@ register_module([
"author_url" => "https://github.com/ikisler",
"thing_url" => "https://github.com/sbrl/Pepperminty-Wiki/pull/140",
"icon" => "https://avatars3.githubusercontent.com/u/12506147?v=3&s=24"
],
"Issue #153: Authenticated DOS attack (XXD billion laughs attack)" => [
"author" => "ProDigySML",
"author_url" => "https://github.com/ProDigySML",
"thing_url" => "https://github.com/sbrl/Pepperminty-Wiki/issues/152",
"icon" => "https://starbeamrainbowlabs.com/images/placeholder/?width=24&height=24"
]
];

View File

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Page editor",
"version" => "0.16",
"version" => "0.17.2",
"author" => "Starbeamrainbowlabs",
"description" => "Allows you to edit pages by adding the edit and save actions. You should probably include this one.",
"id" => "page-edit",
@ -38,8 +38,7 @@ register_module([
global $pageindex, $settings, $env;
$filename = "$env->storage_prefix$env->page.md";
$page = $env->page;
$creatingpage = !isset($pageindex->$page);
$creatingpage = !isset($pageindex->{$env->page});
if((isset($_GET["newpage"]) and $_GET["newpage"] == "true") or $creatingpage)
{
$title = "Creating $env->page";
@ -54,7 +53,7 @@ register_module([
}
$pagetext = "";
if(isset($pageindex->$page))
if(isset($pageindex->{$env->page}))
{
$pagetext = file_get_contents($filename);
}
@ -73,9 +72,9 @@ register_module([
if((!$env->is_logged_in and !$settings->anonedits) or // if we aren't logged in and anonymous edits are disabled
!$settings->editing or // or editing is disabled
(
isset($pageindex->$page) and // or if the page exists
isset($pageindex->$page->protect) and // the protect property exists
$pageindex->$page->protect and // the protect property is true
isset($pageindex->{$env->page}) and // or if the page exists
isset($pageindex->{$env->page}->protect) and // the protect property exists
$pageindex->{$env->page}->protect and // the protect property is true
!$env->is_admin // the user isn't an admin
) or
$isOtherUsersPage // this page actually belongs to another user
@ -89,6 +88,9 @@ register_module([
if($env->is_logged_in)
$sourceViewContent = "<p>$env->page is protected, and you aren't an administrator or moderator. You can view the source of $env->page below, but you can't edit it.</p>\n";
if(!$settings->editing)
$sourceViewContent = "<p>$settings->sitename currently has editing disabled, so you can't make changes to this page at this time. Please contact $settings->admindetails_name, $settings->sitename's administrator for more information - their contact details can be found at the bottom of this page. Even so, you can still view the source of this page. It's disabled below:</p>";
if($isOtherUsersPage)
$sourceViewContent = "<p>$env->page is a special user page which acutally belongs to " . extract_user_from_userpage($env->page) . ", another user on $settings->sitename. Because of this, you are not allowed to edit it (though you can always edit your own page and any pages under it if you're logged in). You can, however, vieww it's source below.</p>";
@ -112,7 +114,7 @@ register_module([
}
}
$content = "<h1>$title</h1>";
$content = "<h1>$title</h1>\n";
$page_tags = implode(", ", (!empty($pageindex->{$env->page}->tags)) ? $pageindex->{$env->page}->tags : []);
if(!$env->is_logged_in and $settings->anonedits)
{
@ -138,6 +140,7 @@ register_module([
$content .= "<form method='post' name='edit-form' action='index.php?action=preview-edit&page=" . rawurlencode($env->page) . "' class='editform'>
<input type='hidden' name='prev-content-hash' value='" . ((isset($old_pagetext)) ? sha1($old_pagetext) : sha1($pagetext)) . "' />
<button class='smartsave-restore' title=\"Only works if you haven't changed the editor's content already!\">Restore Locally Saved Content</button>
<textarea name='content' autofocus tabindex='1'>$pagetext</textarea>
<pre class='fit-text-mirror'></pre>
<input type='text' name='tags' value='" . htmlentities($page_tags, ENT_HTML5 | ENT_QUOTES) . "' placeholder='Enter some tags for the page here. Separate them with commas.' title='Enter some tags for the page here. Separate them with commas.' tabindex='2' />
@ -180,17 +183,25 @@ window.addEventListener("load", function(event) {
// ~
/// ~~~ Smart saving ~~~ ///
// TODO: Add a button to press that restores the content that you were working on before.
page_renderer::AddJSSnippet('document.addEventListener("load", function(event) {
page_renderer::AddJSSnippet('window.addEventListener("load", function(event) {
"use strict";
// Smart saving
function getSmartSaveKey() { return document.querySelector("main h1").innerHTML.replace("Creating ", "").replace("Editing ", "").trim(); }
let getSmartSaveKey = function() { return document.querySelector("main h1").innerHTML.replace("Creating ", "").replace("Editing ", "").trim(); }
// Saving
document.querySelector("textarea[name=content]").addEventListener("keyup", function(event) { window.localStorage.setItem(getSmartSaveKey(), event.target.value) });
// Loading
window.addEventListener("load", function(event) {
var editor = document.querySelector("textarea[name=content]");
if(editor.value.length > 0) return; // Don\'t restore if there\'s data in the editor already
var editor = document.querySelector("textarea[name=content]");
let smartsave_restore = function() {
editor.value = localStorage.getItem(getSmartSaveKey());
}
if(editor.value.length === 0) // Don\'t restore if there\'s data in the editor already
smartsave_restore();
document.querySelector(".smartsave-restore").addEventListener("click", function(event) {
event.stopPropagation();
event.preventDefault();
smartsave_restore();
});
});');
@ -201,6 +212,7 @@ window.addEventListener("load", function(event) {
* @api {post} ?action=preview-edit&page={pageName}[&newpage=yes] Get a preview of the page
* @apiDescription Gets a preview of the current edit state of a given page
* @apiName PreviewPage
* @apiGroup Editing
* @apiPermission Anonymous
*
* @apiUse PageParameter
@ -267,30 +279,29 @@ window.addEventListener("load", function(event) {
if(!$settings->editing)
{
header("location: index.php?page=$env->page");
header("location: index.php?page=" . rawurlencode($env->page));
exit(page_renderer::render_main("Error saving edit", "<p>Editing is currently disabled on this wiki.</p>"));
}
if(!$env->is_logged_in and !$settings->anonedits)
{
http_response_code(403);
header("refresh: 5; url=index.php?page=$env->page");
header("refresh: 5; url=index.php?page=" . rawurlencode($env->page));
exit("You are not logged in, so you are not allowed to save pages on $settings->sitename. Redirecting in 5 seconds....");
}
$page = $env->page;
if((
isset($pageindex->$page) and
isset($pageindex->page->protect) and
$pageindex->$page->protect
isset($pageindex->{$env->page}) and
isset($pageindex->{$env->page}->protect) and
$pageindex->{$env->page}->protect
) and !$env->is_admin)
{
http_response_code(403);
header("refresh: 5; url=index.php?page=$env->page");
exit("$env->page is protected, and you aren't logged in as an administrator or moderator. Your edit was not saved. Redirecting in 5 seconds...");
header("refresh: 5; url=index.php?page=" . rawurlencode($env->page));
exit(htmlentities($env->page) . " is protected, and you aren't logged in as an administrator or moderator. Your edit was not saved. Redirecting in 5 seconds...");
}
if(!isset($_POST["content"]))
{
http_response_code(400);
header("refresh: 5; url=index.php?page=$env->page");
header("refresh: 5; url=index.php?page=" . rawurlencode($env->page));
exit("Bad request: No content specified.");
}
@ -332,9 +343,9 @@ window.addEventListener("load", function(event) {
{
$content .= "<p><strong>Warning: You are not logged in! Your IP address <em>may</em> be recorded.</strong></p>";
}
$content .= "<p>An edit conflict has arisen because someone else has saved an edit to $env->page since you started editing it. Both texts are shown below, along the differences between the 2 conflicting revisions. To continue, please merge your changes with the existing content. Note that only the text in the existing content box will be kept when you press the \"Resolve Conflict\" button at the bottom of the page.</p>
$content .= "<p>An edit conflict has arisen because someone else has saved an edit to " . htmlentities($env->page) . " since you started editing it. Both texts are shown below, along the differences between the 2 conflicting revisions. To continue, please merge your changes with the existing content. Note that only the text in the existing content box will be kept when you press the \"Resolve Conflict\" button at the bottom of the page.</p>
<form method='post' action='index.php?action=save&page=" . rawurlencode($page) . "&action=save' class='editform'>
<form method='post' action='index.php?action=save&page=" . rawurlencode($env->page) . "&action=save' class='editform'>
<h2>Existing content</h2>
<textarea id='original-content' name='content' autofocus tabindex='1'>$existingPageData</textarea>
@ -401,23 +412,22 @@ DIFFSCRIPT;
if(file_put_contents("$env->storage_prefix$env->page.md", $pagedata) !== false)
{
$page = $env->page;
// Make sure that this page's parents exist
check_subpage_parents($page);
check_subpage_parents($env->page);
// Update the page index
if(!isset($pageindex->$page))
if(!isset($pageindex->{$env->page}))
{
$pageindex->$page = new stdClass();
$pageindex->$page->filename = "$env->page.md";
$pageindex->{$env->page} = new stdClass();
$pageindex->{$env->page}->filename = "$env->page.md";
}
$pageindex->$page->size = strlen($_POST["content"]);
$pageindex->$page->lastmodified = time();
$pageindex->{$env->page}->size = strlen($_POST["content"]);
$pageindex->{$env->page}->lastmodified = time();
if($env->is_logged_in)
$pageindex->$page->lasteditor = utf8_encode($env->user);
$pageindex->{$env->page}->lasteditor = utf8_encode($env->user);
else // TODO: Add an option to record the user's IP here instead
$pageindex->$page->lasteditor = utf8_encode("anonymous");
$pageindex->$page->tags = $page_tags;
$pageindex->{$env->page}->lasteditor = utf8_encode("anonymous");
$pageindex->{$env->page}->tags = $page_tags;
// A hack to resave the pagedata if the preprocessors have
// changed it. We need this because the preprocessors *must*
@ -427,7 +437,7 @@ DIFFSCRIPT;
// Execute all the preprocessors
foreach($save_preprocessors as $func)
{
$func($pageindex->$page, $pagedata, $oldpagedata);
$func($pageindex->{$env->page}, $pagedata, $oldpagedata);
}
if($pagedata !== $pagedata_orig)
@ -442,7 +452,7 @@ DIFFSCRIPT;
http_response_code(200);
// header("content-type: text/plain");
header("location: index.php?page=$env->page&edit_status=success&redirect=no");
header("location: index.php?page=" . rawurlencode($env->page) . "&edit_status=success&redirect=no");
exit();
}
else

View File

@ -9,11 +9,13 @@ register_module([
global $settings;
/**
* @api {get} ?action=list List all pages
* @api {get} ?action=list[&format={format}] List all pages
* @apiDescription Gets a list of all the pages currently stored on the wiki.
* @apiName ListPages
* @apiGroup Page
* @apiPermission Anonymous
*
* @apiParam {string} format The format to return the page list in. Default: html. Other foramts available: json, text
*/
/*

View File

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Page mover",
"version" => "0.9.2",
"version" => "0.9.3",
"author" => "Starbeamrainbowlabs",
"description" => "Adds an action to allow administrators to move pages.",
"id" => "page-move",
@ -119,12 +119,20 @@ register_module([
// Move the page in the id index
ids::movepagename($page, $new_name);
// Move the comments file as well, if it exists
if(file_exists("$env->storage_prefix$env->page.comments.json")) {
rename(
"$env->storage_prefix$env->page.comments.json",
"$env->storage_prefix$new_name.comments.json"
);
}
// Exit with a nice message
exit(page_renderer::render_main("Moving $env->page", "<p><a href='index.php?page=$env->page'>$env->page</a> has been moved to <a href='index.php?page=$new_name'>$new_name</a> successfully.</p>"));
exit(page_renderer::render_main("Moving " . htmlentities($env->page), "<p><a href='index.php?page=" . rawurlencode($env->page) . "'>" . htmlentities($env->page) . "</a> has been moved to <a href='index.php?page=" . rawurlencode($new_name) . "'>" . htmlentities($new_name) . "</a> successfully.</p>"));
});
// Register a help section
add_help_section("60-move", "Moving Pages", "<p>If you are logged in as an administrator, then you have the power to move pages. To do this, click &quot;Delete&quot; in the &quot;More...&quot; menu when browsing the pge you wish to move. Type in the new name of the page, and then click &quot;Move Page&quot;.</p>");
add_help_section("60-move", "Moving Pages", "<p>If you are logged in as an administrator, then you have the power to move pages. To do this, click &quot;Move&quot; in the &quot;More...&quot; menu when browsing the pge you wish to move. Type in the new name of the page, and then click &quot;Move Page&quot;.</p>");
}
]);

View File

@ -1,7 +1,7 @@
<?php
register_module([
"name" => "Parsedown",
"version" => "0.9.9",
"version" => "0.9.10",
"author" => "Emanuil Rusev & Starbeamrainbowlabs",
"description" => "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https://github.com/erusev/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.",
"id" => "parser-parsedown",
@ -598,6 +598,7 @@ class PeppermintParsedown extends ParsedownExtra
if($imageCaption)
{
//$rawStyle = $result["element"]["attributes"]["style"] ?? "";
$rawStyle = $result["element"]["attributes"]["style"];
$containerStyle = preg_replace('/^.*float/', "float", $rawStyle);
$mediaStyle = preg_replace('/\s*float.*;/', "", $rawStyle);

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1116693068"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1979943815"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1116693068" class="accordion-body collapse in">
<div id="namespace-1979943815" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -111,7 +111,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1925859721"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-470325388"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1925859721" class="accordion-body collapse in">
<div id="namespace-470325388" class="accordion-body collapse in">
<div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -88,7 +88,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -152,7 +152,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -63,7 +63,7 @@
</li>
<li>
<a href="reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -88,10 +88,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2115885962"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-427073806"></a>
<a href="namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-2115885962" class="accordion-body collapse in">
<div id="namespace-427073806" class="accordion-body collapse in">
<div class="accordion-inner">
@ -3515,7 +3515,7 @@ listed to be cacnonical.</em></p>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -63,7 +63,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -88,10 +88,10 @@
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1177289651"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1657348484"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1177289651" class="accordion-body collapse in">
<div id="namespace-1657348484" class="accordion-body collapse in">
<div class="accordion-inner">
@ -3515,7 +3515,7 @@ listed to be cacnonical.</em></p>
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -64,7 +64,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -142,7 +142,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -64,7 +64,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -1086,7 +1086,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -64,7 +64,7 @@
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">7</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">6</span>
</a>
</li>
<li>
@ -137,7 +137,7 @@
<h3>
<i class="icon-file"></i>
modules/page-edit.php
<small style="float: right;padding-right: 10px;">2</small>
<small style="float: right;padding-right: 10px;">1</small>
</h3>
<div>
<table class="table markers table-bordered">
@ -148,12 +148,7 @@
</tr>
<tr>
<td>TODO</td>
<td>183</td>
<td>Add a button to press that restores the content that you were working on before. </td>
</tr>
<tr>
<td>TODO</td>
<td>418</td>
<td>428</td>
<td>Add an option to record the user&#039;s IP here instead </td>
</tr>
</table>
@ -175,7 +170,7 @@
</tr>
<tr>
<td>TODO</td>
<td>404</td>
<td>408</td>
<td>Add support for ranges here.</td>
</tr>
</table>
@ -265,7 +260,7 @@
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on November 20th, 2017 at 20:40.
on February 14th, 2018 at 22:17.
</section>
</section>
</section>

View File

@ -145,7 +145,7 @@ define({ "api": [
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-login.php.txt",
"filename": "./modules/page-login.php",
"groupTitle": "Authorisation"
},
{
@ -182,25 +182,7 @@ define({ "api": [
}
},
"version": "0.0.0",
"filename": "./modules/page-login.php",
"groupTitle": "Authorisation"
},
{
"type": "post",
"url": "?action=logout",
"title": "Logout",
"description": "<p>Logout. Make sure that your bot requests this URL when it is finished - this call not only clears your cookies but also clears the server's session file as well. Note that you can request this when you are already logged out and it will completely wipe your session on the server.</p>",
"name": "Logout",
"group": "Authorisation",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-logout.php.txt",
"filename": "./docs/ModuleApi/files/modules/page-login.php.txt",
"groupTitle": "Authorisation"
},
{
@ -221,6 +203,24 @@ define({ "api": [
"filename": "./modules/page-logout.php",
"groupTitle": "Authorisation"
},
{
"type": "post",
"url": "?action=logout",
"title": "Logout",
"description": "<p>Logout. Make sure that your bot requests this URL when it is finished - this call not only clears your cookies but also clears the server's session file as well. Note that you can request this when you are already logged out and it will completely wipe your session on the server.</p>",
"name": "Logout",
"group": "Authorisation",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-logout.php.txt",
"groupTitle": "Authorisation"
},
{
"type": "post",
"url": "?action=comment",
@ -368,7 +368,7 @@ define({ "api": [
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-comments.php.txt",
"filename": "./modules/feature-comments.php",
"groupTitle": "Comment"
},
{
@ -418,20 +418,20 @@ define({ "api": [
}
},
"version": "0.0.0",
"filename": "./modules/feature-comments.php",
"filename": "./docs/ModuleApi/files/modules/feature-comments.php.txt",
"groupTitle": "Comment"
},
{
"type": "post",
"url": "?action=delete",
"title": "Delete a page",
"description": "<p>Delete a page and all its associated data.</p>",
"name": "DeletePage",
"group": "Page",
"url": "?action=preview-edit&page={pageName}[&newpage=yes]",
"title": "Get a preview of the page",
"description": "<p>Gets a preview of the current edit state of a given page</p>",
"name": "PreviewPage",
"group": "Editing",
"permission": [
{
"name": "Moderator",
"title": "Only users loggged with a moderator account may use this call.",
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
@ -442,40 +442,74 @@ define({ "api": [
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The name of the page to delete.</p>"
"field": "newpage",
"description": "<p>Set to 'yes' if a new page is being created.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "delete",
"description": "<p>Set to 'yes' to actually delete the page.</p>"
}
]
}
},
"error": {
"fields": {
"Error 4xx": [
{
"group": "Error 4xx",
"optional": false,
"field": "PageNonExistentError",
"description": "<p>The specified page doesn't exist</p>"
"field": "preview-edit",
"description": "<p>Set to a value to preview an edit of a page.</p>"
},
{
"group": "Error 4xx",
"group": "Parameter",
"type": "string",
"optional": false,
"field": "UserNotModeratorError",
"description": "<p>You weren't loggged in as a moderator before sending this request.</p>"
"field": "page",
"description": "<p>The page to operate on.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-delete.php.txt",
"groupTitle": "Page"
"filename": "./modules/page-edit.php",
"groupTitle": "Editing"
},
{
"type": "post",
"url": "?action=preview-edit&page={pageName}[&newpage=yes]",
"title": "Get a preview of the page",
"description": "<p>Gets a preview of the current edit state of a given page</p>",
"name": "PreviewPage",
"group": "Editing",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "newpage",
"description": "<p>Set to 'yes' if a new page is being created.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "preview-edit",
"description": "<p>Set to a value to preview an edit of a page.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page to operate on.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-edit.php.txt",
"groupTitle": "Editing"
},
{
"type": "post",
@ -533,6 +567,62 @@ define({ "api": [
"filename": "./modules/page-delete.php",
"groupTitle": "Page"
},
{
"type": "post",
"url": "?action=delete",
"title": "Delete a page",
"description": "<p>Delete a page and all its associated data.</p>",
"name": "DeletePage",
"group": "Page",
"permission": [
{
"name": "Moderator",
"title": "Only users loggged with a moderator account may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The name of the page to delete.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "delete",
"description": "<p>Set to 'yes' to actually delete the page.</p>"
}
]
}
},
"error": {
"fields": {
"Error 4xx": [
{
"group": "Error 4xx",
"optional": false,
"field": "PageNonExistentError",
"description": "<p>The specified page doesn't exist</p>"
},
{
"group": "Error 4xx",
"optional": false,
"field": "UserNotModeratorError",
"description": "<p>You weren't loggged in as a moderator before sending this request.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-delete.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=edit&page={pageName}[&newpage=yes]",
@ -753,44 +843,7 @@ define({ "api": [
},
{
"type": "get",
"url": "?action=history&page={pageName}",
"title": "Get a list of revisions for a page",
"name": "History",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page name to return a revision list for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "format",
"description": "<p>The format to return the list of pages in. available values: html, json, text. Default: html</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-history.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=history&page={pageName}",
"url": "?action=history&page={pageName}[&format={format}]",
"title": "Get a list of revisions for a page",
"name": "History",
"group": "Page",
@ -827,7 +880,44 @@ define({ "api": [
},
{
"type": "get",
"url": "?action=list",
"url": "?action=history&page={pageName}[&format={format}]",
"title": "Get a list of revisions for a page",
"name": "History",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page name to return a revision list for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "format",
"description": "<p>The format to return the list of pages in. available values: html, json, text. Default: html</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-history.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=list[&format={format}]",
"title": "List all pages",
"description": "<p>Gets a list of all the pages currently stored on the wiki.</p>",
"name": "ListPages",
@ -839,13 +929,26 @@ define({ "api": [
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "format",
"description": "<p>The format to return the page list in. Default: html. Other foramts available: json, text</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./modules/page-list.php",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=list",
"url": "?action=list[&format={format}]",
"title": "List all pages",
"description": "<p>Gets a list of all the pages currently stored on the wiki.</p>",
"name": "ListPages",
@ -857,6 +960,19 @@ define({ "api": [
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "format",
"description": "<p>The format to return the page list in. Default: html. Other foramts available: json, text</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-list.php.txt",
"groupTitle": "Page"
@ -1053,23 +1169,6 @@ define({ "api": [
"filename": "./docs/ModuleApi/files/modules/action-protect.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=random",
"title": "Redirects to a random page.",
"name": "RawSource",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/action-random.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=raw&page={pageName}",
@ -1097,7 +1196,7 @@ define({ "api": [
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/action-raw.php.txt",
"filename": "./docs/ModuleApi/files/modules/api-status.php.txt",
"groupTitle": "Page"
},
{
@ -1157,24 +1256,7 @@ define({ "api": [
}
},
"version": "0.0.0",
"filename": "./modules/api-status.php",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=random",
"title": "Redirects to a random page.",
"name": "RawSource",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./modules/action-random.php",
"filename": "./docs/ModuleApi/files/modules/action-raw.php.txt",
"groupTitle": "Page"
},
{
@ -1204,7 +1286,41 @@ define({ "api": [
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/api-status.php.txt",
"filename": "./modules/api-status.php",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=random",
"title": "Redirects to a random page.",
"name": "RawSource",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/action-random.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=random",
"title": "Redirects to a random page.",
"name": "RawSource",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./modules/action-random.php",
"groupTitle": "Page"
},
{
@ -1348,6 +1464,80 @@ define({ "api": [
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=suggest-pages[&type={type}]",
"title": "Get search suggestions for a query",
"name": "OpenSearchDescription",
"group": "Search",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "text",
"description": "<p>The search query string to get search suggestions for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "type",
"description": "<p>The type of result to return. Default value: json. Available values: json, opensearch</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=suggest-pages[&type={type}]",
"title": "Get search suggestions for a query",
"name": "OpenSearchDescription",
"group": "Search",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "text",
"description": "<p>The search query string to get search suggestions for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "type",
"description": "<p>The type of result to return. Default value: json. Available values: json, opensearch</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-search.php.txt",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=opensearch-description",
@ -1367,9 +1557,9 @@ define({ "api": [
},
{
"type": "get",
"url": "?action=suggest-pages[&type={type}]",
"title": "Get search suggestions for a query",
"name": "OpenSearchDescription",
"url": "?action=query-searchindex&query={text}",
"title": "Inspect the internals of the search results for a query",
"name": "Search",
"group": "Search",
"permission": [
{
@ -1385,15 +1575,8 @@ define({ "api": [
"group": "Parameter",
"type": "string",
"optional": false,
"field": "text",
"description": "<p>The search query string to get search suggestions for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "type",
"description": "<p>The type of result to return. Default value: json. Available values: json, opensearch</p>"
"field": "query",
"description": "<p>The query string to search for.</p>"
}
]
}
@ -1404,9 +1587,9 @@ define({ "api": [
},
{
"type": "get",
"url": "?action=suggest-pages[&type={type}]",
"title": "Get search suggestions for a query",
"name": "OpenSearchDescription",
"url": "?action=search&query={text}",
"title": "Search the wiki for a given query string",
"name": "Search",
"group": "Search",
"permission": [
{
@ -1422,15 +1605,8 @@ define({ "api": [
"group": "Parameter",
"type": "string",
"optional": false,
"field": "text",
"description": "<p>The search query string to get search suggestions for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "type",
"description": "<p>The type of result to return. Default value: json. Available values: json, opensearch</p>"
"field": "query",
"description": "<p>The query string to search for.</p>"
}
]
}
@ -1499,66 +1675,6 @@ define({ "api": [
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=search&query={text}",
"title": "Search the wiki for a given query string",
"name": "Search",
"group": "Search",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "query",
"description": "<p>The query string to search for.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=query-searchindex&query={text}",
"title": "Inspect the internals of the search results for a query",
"name": "Search",
"group": "Search",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "query",
"description": "<p>The query string to search for.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-search.php.txt",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=index&page={pageName}",
@ -1692,7 +1808,7 @@ define({ "api": [
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-search.php.txt",
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
@ -1710,7 +1826,7 @@ define({ "api": [
}
],
"version": "0.0.0",
"filename": "./modules/feature-search.php",
"filename": "./docs/ModuleApi/files/modules/feature-search.php.txt",
"groupTitle": "Search"
},
{
@ -1839,7 +1955,7 @@ define({ "api": [
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-user-preferences.php.txt",
"filename": "./modules/feature-user-preferences.php",
"groupTitle": "Settings"
},
{
@ -1856,23 +1972,6 @@ define({ "api": [
}
],
"version": "0.0.0",
"filename": "./modules/feature-user-preferences.php",
"groupTitle": "Settings"
},
{
"type": "post",
"url": "?action=save-preferences",
"title": "Save your user preferences",
"name": "UserPreferencesSave",
"group": "Settings",
"permission": [
{
"name": "User",
"title": "Only users loggged in may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-user-preferences.php.txt",
"groupTitle": "Settings"
},
@ -1894,21 +1993,21 @@ define({ "api": [
"groupTitle": "Settings"
},
{
"type": "get",
"url": "?action=recentchanges",
"title": "Get a list of recent changes",
"name": "RecentChanges",
"group": "Stats",
"type": "post",
"url": "?action=save-preferences",
"title": "Save your user preferences",
"name": "UserPreferencesSave",
"group": "Settings",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"name": "User",
"title": "Only users loggged in may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./modules/feature-recent-changes.php",
"groupTitle": "Stats"
"filename": "./docs/ModuleApi/files/modules/feature-user-preferences.php.txt",
"groupTitle": "Settings"
},
{
"type": "get",
@ -1927,6 +2026,23 @@ define({ "api": [
"filename": "./docs/ModuleApi/files/modules/feature-recent-changes.php.txt",
"groupTitle": "Stats"
},
{
"type": "get",
"url": "?action=recentchanges",
"title": "Get a list of recent changes",
"name": "RecentChanges",
"group": "Stats",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./modules/feature-recent-changes.php",
"groupTitle": "Stats"
},
{
"type": "get",
"url": "?action=avatar&user={username}[&size={size}]",
@ -2383,23 +2499,6 @@ define({ "api": [
}
],
"version": "0.0.0",
"filename": "./modules/feature-guiconfig.php",
"groupTitle": "Utility"
},
{
"type": "post",
"url": "?action=configure-save",
"title": "Save changes to the global wiki settings",
"name": "ConfigureSettings",
"group": "Utility",
"permission": [
{
"name": "Moderator",
"title": "Only users loggged with a moderator account may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-guiconfig.php.txt",
"groupTitle": "Utility"
},
@ -2417,7 +2516,7 @@ define({ "api": [
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-guiconfig.php.txt",
"filename": "./modules/feature-guiconfig.php",
"groupTitle": "Utility"
},
{
@ -2437,6 +2536,23 @@ define({ "api": [
"filename": "./modules/feature-guiconfig.php",
"groupTitle": "Utility"
},
{
"type": "post",
"url": "?action=configure-save",
"title": "Save changes to the global wiki settings",
"name": "ConfigureSettings",
"group": "Utility",
"permission": [
{
"name": "Moderator",
"title": "Only users loggged with a moderator account may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-guiconfig.php.txt",
"groupTitle": "Utility"
},
{
"type": "get",
"url": "?action=credits",
@ -3138,95 +3254,5 @@ define({ "api": [
"version": "0.0.0",
"filename": "./modules/page-user-list.php",
"groupTitle": "Utility"
},
{
"type": "post",
"url": "?action=preview-edit&page={pageName}[&newpage=yes]",
"title": "Get a preview of the page",
"description": "<p>Gets a preview of the current edit state of a given page</p>",
"name": "PreviewPage",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "newpage",
"description": "<p>Set to 'yes' if a new page is being created.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "preview-edit",
"description": "<p>Set to a value to preview an edit of a page.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page to operate on.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-edit.php.txt",
"group": "_home_sbrl_Documents_code_php_peppermint_docs_ModuleApi_files_modules_page_edit_php_txt",
"groupTitle": "_home_sbrl_Documents_code_php_peppermint_docs_ModuleApi_files_modules_page_edit_php_txt"
},
{
"type": "post",
"url": "?action=preview-edit&page={pageName}[&newpage=yes]",
"title": "Get a preview of the page",
"description": "<p>Gets a preview of the current edit state of a given page</p>",
"name": "PreviewPage",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "newpage",
"description": "<p>Set to 'yes' if a new page is being created.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "preview-edit",
"description": "<p>Set to a value to preview an edit of a page.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page to operate on.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./modules/page-edit.php",
"group": "_home_sbrl_Documents_code_php_peppermint_modules_page_edit_php",
"groupTitle": "_home_sbrl_Documents_code_php_peppermint_modules_page_edit_php"
}
] });

View File

@ -145,7 +145,7 @@
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-login.php.txt",
"filename": "./modules/page-login.php",
"groupTitle": "Authorisation"
},
{
@ -182,25 +182,7 @@
}
},
"version": "0.0.0",
"filename": "./modules/page-login.php",
"groupTitle": "Authorisation"
},
{
"type": "post",
"url": "?action=logout",
"title": "Logout",
"description": "<p>Logout. Make sure that your bot requests this URL when it is finished - this call not only clears your cookies but also clears the server's session file as well. Note that you can request this when you are already logged out and it will completely wipe your session on the server.</p>",
"name": "Logout",
"group": "Authorisation",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-logout.php.txt",
"filename": "./docs/ModuleApi/files/modules/page-login.php.txt",
"groupTitle": "Authorisation"
},
{
@ -221,6 +203,24 @@
"filename": "./modules/page-logout.php",
"groupTitle": "Authorisation"
},
{
"type": "post",
"url": "?action=logout",
"title": "Logout",
"description": "<p>Logout. Make sure that your bot requests this URL when it is finished - this call not only clears your cookies but also clears the server's session file as well. Note that you can request this when you are already logged out and it will completely wipe your session on the server.</p>",
"name": "Logout",
"group": "Authorisation",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-logout.php.txt",
"groupTitle": "Authorisation"
},
{
"type": "post",
"url": "?action=comment",
@ -368,7 +368,7 @@
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-comments.php.txt",
"filename": "./modules/feature-comments.php",
"groupTitle": "Comment"
},
{
@ -418,20 +418,20 @@
}
},
"version": "0.0.0",
"filename": "./modules/feature-comments.php",
"filename": "./docs/ModuleApi/files/modules/feature-comments.php.txt",
"groupTitle": "Comment"
},
{
"type": "post",
"url": "?action=delete",
"title": "Delete a page",
"description": "<p>Delete a page and all its associated data.</p>",
"name": "DeletePage",
"group": "Page",
"url": "?action=preview-edit&page={pageName}[&newpage=yes]",
"title": "Get a preview of the page",
"description": "<p>Gets a preview of the current edit state of a given page</p>",
"name": "PreviewPage",
"group": "Editing",
"permission": [
{
"name": "Moderator",
"title": "Only users loggged with a moderator account may use this call.",
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
@ -442,40 +442,74 @@
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The name of the page to delete.</p>"
"field": "newpage",
"description": "<p>Set to 'yes' if a new page is being created.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "delete",
"description": "<p>Set to 'yes' to actually delete the page.</p>"
}
]
}
},
"error": {
"fields": {
"Error 4xx": [
{
"group": "Error 4xx",
"optional": false,
"field": "PageNonExistentError",
"description": "<p>The specified page doesn't exist</p>"
"field": "preview-edit",
"description": "<p>Set to a value to preview an edit of a page.</p>"
},
{
"group": "Error 4xx",
"group": "Parameter",
"type": "string",
"optional": false,
"field": "UserNotModeratorError",
"description": "<p>You weren't loggged in as a moderator before sending this request.</p>"
"field": "page",
"description": "<p>The page to operate on.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-delete.php.txt",
"groupTitle": "Page"
"filename": "./modules/page-edit.php",
"groupTitle": "Editing"
},
{
"type": "post",
"url": "?action=preview-edit&page={pageName}[&newpage=yes]",
"title": "Get a preview of the page",
"description": "<p>Gets a preview of the current edit state of a given page</p>",
"name": "PreviewPage",
"group": "Editing",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "newpage",
"description": "<p>Set to 'yes' if a new page is being created.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "preview-edit",
"description": "<p>Set to a value to preview an edit of a page.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page to operate on.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-edit.php.txt",
"groupTitle": "Editing"
},
{
"type": "post",
@ -533,6 +567,62 @@
"filename": "./modules/page-delete.php",
"groupTitle": "Page"
},
{
"type": "post",
"url": "?action=delete",
"title": "Delete a page",
"description": "<p>Delete a page and all its associated data.</p>",
"name": "DeletePage",
"group": "Page",
"permission": [
{
"name": "Moderator",
"title": "Only users loggged with a moderator account may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The name of the page to delete.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "delete",
"description": "<p>Set to 'yes' to actually delete the page.</p>"
}
]
}
},
"error": {
"fields": {
"Error 4xx": [
{
"group": "Error 4xx",
"optional": false,
"field": "PageNonExistentError",
"description": "<p>The specified page doesn't exist</p>"
},
{
"group": "Error 4xx",
"optional": false,
"field": "UserNotModeratorError",
"description": "<p>You weren't loggged in as a moderator before sending this request.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-delete.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=edit&page={pageName}[&newpage=yes]",
@ -753,44 +843,7 @@
},
{
"type": "get",
"url": "?action=history&page={pageName}",
"title": "Get a list of revisions for a page",
"name": "History",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page name to return a revision list for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "format",
"description": "<p>The format to return the list of pages in. available values: html, json, text. Default: html</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-history.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=history&page={pageName}",
"url": "?action=history&page={pageName}[&format={format}]",
"title": "Get a list of revisions for a page",
"name": "History",
"group": "Page",
@ -827,7 +880,44 @@
},
{
"type": "get",
"url": "?action=list",
"url": "?action=history&page={pageName}[&format={format}]",
"title": "Get a list of revisions for a page",
"name": "History",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page name to return a revision list for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "format",
"description": "<p>The format to return the list of pages in. available values: html, json, text. Default: html</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-history.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=list[&format={format}]",
"title": "List all pages",
"description": "<p>Gets a list of all the pages currently stored on the wiki.</p>",
"name": "ListPages",
@ -839,13 +929,26 @@
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "format",
"description": "<p>The format to return the page list in. Default: html. Other foramts available: json, text</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./modules/page-list.php",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=list",
"url": "?action=list[&format={format}]",
"title": "List all pages",
"description": "<p>Gets a list of all the pages currently stored on the wiki.</p>",
"name": "ListPages",
@ -857,6 +960,19 @@
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "format",
"description": "<p>The format to return the page list in. Default: html. Other foramts available: json, text</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-list.php.txt",
"groupTitle": "Page"
@ -1053,23 +1169,6 @@
"filename": "./docs/ModuleApi/files/modules/action-protect.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=random",
"title": "Redirects to a random page.",
"name": "RawSource",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/action-random.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=raw&page={pageName}",
@ -1097,7 +1196,7 @@
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/action-raw.php.txt",
"filename": "./docs/ModuleApi/files/modules/api-status.php.txt",
"groupTitle": "Page"
},
{
@ -1157,24 +1256,7 @@
}
},
"version": "0.0.0",
"filename": "./modules/api-status.php",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=random",
"title": "Redirects to a random page.",
"name": "RawSource",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./modules/action-random.php",
"filename": "./docs/ModuleApi/files/modules/action-raw.php.txt",
"groupTitle": "Page"
},
{
@ -1204,7 +1286,41 @@
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/api-status.php.txt",
"filename": "./modules/api-status.php",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=random",
"title": "Redirects to a random page.",
"name": "RawSource",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/action-random.php.txt",
"groupTitle": "Page"
},
{
"type": "get",
"url": "?action=random",
"title": "Redirects to a random page.",
"name": "RawSource",
"group": "Page",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./modules/action-random.php",
"groupTitle": "Page"
},
{
@ -1348,6 +1464,80 @@
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=suggest-pages[&type={type}]",
"title": "Get search suggestions for a query",
"name": "OpenSearchDescription",
"group": "Search",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "text",
"description": "<p>The search query string to get search suggestions for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "type",
"description": "<p>The type of result to return. Default value: json. Available values: json, opensearch</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=suggest-pages[&type={type}]",
"title": "Get search suggestions for a query",
"name": "OpenSearchDescription",
"group": "Search",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "text",
"description": "<p>The search query string to get search suggestions for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "type",
"description": "<p>The type of result to return. Default value: json. Available values: json, opensearch</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-search.php.txt",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=opensearch-description",
@ -1367,9 +1557,9 @@
},
{
"type": "get",
"url": "?action=suggest-pages[&type={type}]",
"title": "Get search suggestions for a query",
"name": "OpenSearchDescription",
"url": "?action=query-searchindex&query={text}",
"title": "Inspect the internals of the search results for a query",
"name": "Search",
"group": "Search",
"permission": [
{
@ -1385,15 +1575,8 @@
"group": "Parameter",
"type": "string",
"optional": false,
"field": "text",
"description": "<p>The search query string to get search suggestions for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "type",
"description": "<p>The type of result to return. Default value: json. Available values: json, opensearch</p>"
"field": "query",
"description": "<p>The query string to search for.</p>"
}
]
}
@ -1404,9 +1587,9 @@
},
{
"type": "get",
"url": "?action=suggest-pages[&type={type}]",
"title": "Get search suggestions for a query",
"name": "OpenSearchDescription",
"url": "?action=search&query={text}",
"title": "Search the wiki for a given query string",
"name": "Search",
"group": "Search",
"permission": [
{
@ -1422,15 +1605,8 @@
"group": "Parameter",
"type": "string",
"optional": false,
"field": "text",
"description": "<p>The search query string to get search suggestions for.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "type",
"description": "<p>The type of result to return. Default value: json. Available values: json, opensearch</p>"
"field": "query",
"description": "<p>The query string to search for.</p>"
}
]
}
@ -1499,66 +1675,6 @@
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=search&query={text}",
"title": "Search the wiki for a given query string",
"name": "Search",
"group": "Search",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "query",
"description": "<p>The query string to search for.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=query-searchindex&query={text}",
"title": "Inspect the internals of the search results for a query",
"name": "Search",
"group": "Search",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "query",
"description": "<p>The query string to search for.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-search.php.txt",
"groupTitle": "Search"
},
{
"type": "get",
"url": "?action=index&page={pageName}",
@ -1692,7 +1808,7 @@
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-search.php.txt",
"filename": "./modules/feature-search.php",
"groupTitle": "Search"
},
{
@ -1710,7 +1826,7 @@
}
],
"version": "0.0.0",
"filename": "./modules/feature-search.php",
"filename": "./docs/ModuleApi/files/modules/feature-search.php.txt",
"groupTitle": "Search"
},
{
@ -1839,7 +1955,7 @@
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-user-preferences.php.txt",
"filename": "./modules/feature-user-preferences.php",
"groupTitle": "Settings"
},
{
@ -1856,23 +1972,6 @@
}
],
"version": "0.0.0",
"filename": "./modules/feature-user-preferences.php",
"groupTitle": "Settings"
},
{
"type": "post",
"url": "?action=save-preferences",
"title": "Save your user preferences",
"name": "UserPreferencesSave",
"group": "Settings",
"permission": [
{
"name": "User",
"title": "Only users loggged in may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-user-preferences.php.txt",
"groupTitle": "Settings"
},
@ -1894,21 +1993,21 @@
"groupTitle": "Settings"
},
{
"type": "get",
"url": "?action=recentchanges",
"title": "Get a list of recent changes",
"name": "RecentChanges",
"group": "Stats",
"type": "post",
"url": "?action=save-preferences",
"title": "Save your user preferences",
"name": "UserPreferencesSave",
"group": "Settings",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"name": "User",
"title": "Only users loggged in may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./modules/feature-recent-changes.php",
"groupTitle": "Stats"
"filename": "./docs/ModuleApi/files/modules/feature-user-preferences.php.txt",
"groupTitle": "Settings"
},
{
"type": "get",
@ -1927,6 +2026,23 @@
"filename": "./docs/ModuleApi/files/modules/feature-recent-changes.php.txt",
"groupTitle": "Stats"
},
{
"type": "get",
"url": "?action=recentchanges",
"title": "Get a list of recent changes",
"name": "RecentChanges",
"group": "Stats",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./modules/feature-recent-changes.php",
"groupTitle": "Stats"
},
{
"type": "get",
"url": "?action=avatar&user={username}[&size={size}]",
@ -2383,23 +2499,6 @@
}
],
"version": "0.0.0",
"filename": "./modules/feature-guiconfig.php",
"groupTitle": "Utility"
},
{
"type": "post",
"url": "?action=configure-save",
"title": "Save changes to the global wiki settings",
"name": "ConfigureSettings",
"group": "Utility",
"permission": [
{
"name": "Moderator",
"title": "Only users loggged with a moderator account may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-guiconfig.php.txt",
"groupTitle": "Utility"
},
@ -2417,7 +2516,7 @@
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-guiconfig.php.txt",
"filename": "./modules/feature-guiconfig.php",
"groupTitle": "Utility"
},
{
@ -2437,6 +2536,23 @@
"filename": "./modules/feature-guiconfig.php",
"groupTitle": "Utility"
},
{
"type": "post",
"url": "?action=configure-save",
"title": "Save changes to the global wiki settings",
"name": "ConfigureSettings",
"group": "Utility",
"permission": [
{
"name": "Moderator",
"title": "Only users loggged with a moderator account may use this call.",
"description": ""
}
],
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/feature-guiconfig.php.txt",
"groupTitle": "Utility"
},
{
"type": "get",
"url": "?action=credits",
@ -3138,95 +3254,5 @@
"version": "0.0.0",
"filename": "./modules/page-user-list.php",
"groupTitle": "Utility"
},
{
"type": "post",
"url": "?action=preview-edit&page={pageName}[&newpage=yes]",
"title": "Get a preview of the page",
"description": "<p>Gets a preview of the current edit state of a given page</p>",
"name": "PreviewPage",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "newpage",
"description": "<p>Set to 'yes' if a new page is being created.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "preview-edit",
"description": "<p>Set to a value to preview an edit of a page.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page to operate on.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./docs/ModuleApi/files/modules/page-edit.php.txt",
"group": "_home_sbrl_Documents_code_php_peppermint_docs_ModuleApi_files_modules_page_edit_php_txt",
"groupTitle": "_home_sbrl_Documents_code_php_peppermint_docs_ModuleApi_files_modules_page_edit_php_txt"
},
{
"type": "post",
"url": "?action=preview-edit&page={pageName}[&newpage=yes]",
"title": "Get a preview of the page",
"description": "<p>Gets a preview of the current edit state of a given page</p>",
"name": "PreviewPage",
"permission": [
{
"name": "Anonymous",
"title": "Anybody may use this call.",
"description": ""
}
],
"parameter": {
"fields": {
"Parameter": [
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "newpage",
"description": "<p>Set to 'yes' if a new page is being created.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "preview-edit",
"description": "<p>Set to a value to preview an edit of a page.</p>"
},
{
"group": "Parameter",
"type": "string",
"optional": false,
"field": "page",
"description": "<p>The page to operate on.</p>"
}
]
}
},
"version": "0.0.0",
"filename": "./modules/page-edit.php",
"group": "_home_sbrl_Documents_code_php_peppermint_modules_page_edit_php",
"groupTitle": "_home_sbrl_Documents_code_php_peppermint_modules_page_edit_php"
}
]

View File

@ -8,7 +8,7 @@ define({
"apidoc": "0.3.0",
"generator": {
"name": "apidoc",
"time": "2017-11-20T20:40:12.522Z",
"time": "2018-02-14T22:17:06.668Z",
"url": "http://apidocjs.com",
"version": "0.17.6"
}

View File

@ -8,7 +8,7 @@
"apidoc": "0.3.0",
"generator": {
"name": "apidoc",
"time": "2017-11-20T20:40:12.522Z",
"time": "2018-02-14T22:17:06.668Z",
"url": "http://apidocjs.com",
"version": "0.17.6"
}

View File

@ -1,13 +1,13 @@
<?php
register_module([
"name" => "Page History",
"version" => "0.3",
"version" => "0.3.1",
"author" => "Starbeamrainbowlabs",
"description" => "Adds the ability to keep unlimited page history, limited only by your disk space. Note that this doesn't store file history (yet). Currently depends on feature-recent-changes for rendering of the history page.",
"id" => "feature-history",
"code" => function() {
/**
* @api {get} ?action=history&page={pageName} Get a list of revisions for a page
* @api {get} ?action=history&page={pageName}[&format={format}] Get a list of revisions for a page
* @apiName History
* @apiGroup Page
* @apiPermission Anonymous

View File

@ -212,6 +212,7 @@ window.addEventListener("load", function(event) {
* @api {post} ?action=preview-edit&page={pageName}[&newpage=yes] Get a preview of the page
* @apiDescription Gets a preview of the current edit state of a given page
* @apiName PreviewPage
* @apiGroup Editing
* @apiPermission Anonymous
*
* @apiUse PageParameter

View File

@ -9,11 +9,13 @@ register_module([
global $settings;
/**
* @api {get} ?action=list List all pages
* @api {get} ?action=list[&format={format}] List all pages
* @apiDescription Gets a list of all the pages currently stored on the wiki.
* @apiName ListPages
* @apiGroup Page
* @apiPermission Anonymous
*
* @apiParam {string} format The format to return the page list in. Default: html. Other foramts available: json, text
*/
/*