* Hook added to check for exempt from account creation throttle
* (bug 30344) Add configuration variable for setting custom priorities when
generating sitemaps
+* (bug 16428) Include permalink in printable version
=== Bug fixes in 1.19 ===
* $wgUploadNavigationUrl should be used for file redlinks if
return $bottomScriptText;
}
- /** @return string Retrievied from HTML text */
+ /**
+ * Text with the permalink to the source page,
+ * usually shown on the footer of a printed page
+ *
+ * @return string HTML text with an URL
+ */
function printSource() {
- $url = htmlspecialchars( $this->getTitle()->getFullURL() );
+ $oldid = $this->getRevisionId();
+ $url = htmlspecialchars( $this->getTitle()->getFullURL( 'oldid=' . $oldid ) );
return wfMsg( 'retrievedfrom', '<a href="' . $url . '">' . $url . '</a>' );
}