mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Sort orphan pages statistic in the right direction
This commit is contained in:
parent
de61612b18
commit
72825f8755
3 changed files with 4 additions and 4 deletions
|
@ -387,7 +387,7 @@ if($settings->css === "auto")
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
/** The version of Pepperminty Wiki currently running. */
|
/** The version of Pepperminty Wiki currently running. */
|
||||||
$version = "v0.16-dev";
|
$version = "v0.16-dev";
|
||||||
$commit = "75d6fbaa5657495c892ba6c489149013fb57a9ed";
|
$commit = "de61612b18b88b9a2e91d1bc7b85438221d88762";
|
||||||
/// Environment ///
|
/// Environment ///
|
||||||
/** Holds information about the current request environment. */
|
/** Holds information about the current request environment. */
|
||||||
$env = new stdClass();
|
$env = new stdClass();
|
||||||
|
@ -8061,7 +8061,7 @@ register_module([
|
||||||
$orphaned_pages[] = $pagename;
|
$orphaned_pages[] = $pagename;
|
||||||
}
|
}
|
||||||
|
|
||||||
rsort($orphaned_pages);
|
sort($orphaned_pages);
|
||||||
|
|
||||||
$result->value = $orphaned_pages;
|
$result->value = $orphaned_pages;
|
||||||
$result->completed = true;
|
$result->completed = true;
|
||||||
|
|
|
@ -266,7 +266,7 @@
|
||||||
"author": "Emanuil Rusev & Starbeamrainbowlabs",
|
"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.",
|
"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",
|
"id": "parser-parsedown",
|
||||||
"lastupdate": 1524909375,
|
"lastupdate": 1524909661,
|
||||||
"optional": false
|
"optional": false
|
||||||
}
|
}
|
||||||
]
|
]
|
|
@ -101,7 +101,7 @@ register_module([
|
||||||
$orphaned_pages[] = $pagename;
|
$orphaned_pages[] = $pagename;
|
||||||
}
|
}
|
||||||
|
|
||||||
rsort($orphaned_pages);
|
sort($orphaned_pages);
|
||||||
|
|
||||||
$result->value = $orphaned_pages;
|
$result->value = $orphaned_pages;
|
||||||
$result->completed = true;
|
$result->completed = true;
|
||||||
|
|
Loading…
Reference in a new issue