Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory usw-pr-cvs1:/tmp/cvs-serv19410/lib/plugin
Modified Files:
RecentChanges.php
Log Message:
Fix <wiki:history> link in RSS.
Index: RecentChanges.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/RecentChanges.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** RecentChanges.php 2001/12/14 20:32:02 1.7
--- RecentChanges.php 2001/12/14 23:01:55 1.8
***************
*** 39,42 ****
--- 39,49 ----
}
+ function historyURL ($rev) {
+ $page = $rev->getPage();
+ return WikiURL(_("PageHistory"),
+ array('page' => $page->getName()),
+ $this->_absurls);
+ }
+
function pageURL ($rev) {
$params = array();
***************
*** 289,295 ****
'wiki:status' => $this->status($rev),
'wiki:diff' => $this->diffURL($rev),
! 'wiki:history' => WikiURL($pagename,
! array('action' => 'info'),
! 'absurl')
);
}
--- 296,300 ----
'wiki:status' => $this->status($rev),
'wiki:diff' => $this->diffURL($rev),
! 'wiki:history' => $this->historyURL($rev)
);
}
|