mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-26 05:32:59 +00:00
Bugfix: Link to user pages correctly in the recent changes feed
This commit is contained in:
parent
01a7cb13ce
commit
97c9fdbda9
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Recent Changes",
|
"name" => "Recent Changes",
|
||||||
"version" => "0.3.5",
|
"version" => "0.4",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Adds recent changes. Access through the 'recent-changes' action.",
|
"description" => "Adds recent changes. Access through the 'recent-changes' action.",
|
||||||
"id" => "feature-recent-changes",
|
"id" => "feature-recent-changes",
|
||||||
|
@ -451,7 +451,7 @@ function render_recent_change_atom($recent_changes) {
|
||||||
|
|
||||||
$xml->startElement("author");
|
$xml->startElement("author");
|
||||||
$xml->writeElement("name", $recent_change->user);
|
$xml->writeElement("name", $recent_change->user);
|
||||||
$xml->writeElement("uri", "$full_url_stem?page=".rawurlencode("$settings->user_page_prefix/$recent_change->page"));
|
$xml->writeElement("uri", "$full_url_stem?page=".rawurlencode("$settings->user_page_prefix/$recent_change->user"));
|
||||||
$xml->endElement();
|
$xml->endElement();
|
||||||
|
|
||||||
$xml->endElement();
|
$xml->endElement();
|
||||||
|
|
Loading…
Reference in a new issue