mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Reversed the display order of page history. Fixes #80.
This commit is contained in:
parent
d1320aa467
commit
fb0389576d
3 changed files with 3 additions and 3 deletions
|
@ -1798,7 +1798,7 @@ register_module([
|
|||
if(!empty($pageindex->{$env->page}->history))
|
||||
{
|
||||
$content .= "\t\t<ul class='page-list'>\n";
|
||||
foreach($pageindex->{$env->page}->history as $revisionData)
|
||||
foreach(array_reverse($pageindex->{$env->page}->history) as $revisionData)
|
||||
{
|
||||
// Only display edits for now
|
||||
if($revisionData->type != "edit")
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
"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",
|
||||
"lastupdate": 1465404004,
|
||||
"lastupdate": 1465405521,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ register_module([
|
|||
if(!empty($pageindex->{$env->page}->history))
|
||||
{
|
||||
$content .= "\t\t<ul class='page-list'>\n";
|
||||
foreach($pageindex->{$env->page}->history as $revisionData)
|
||||
foreach(array_reverse($pageindex->{$env->page}->history) as $revisionData)
|
||||
{
|
||||
// Only display edits for now
|
||||
if($revisionData->type != "edit")
|
||||
|
|
Loading…
Reference in a new issue