DatabaseBase::getFlag() now have documentation
* (bug 19966) MediaWiki:License-header is now used for the licensing header in
the file description page instead of MediaWiki:License
-* (bug 20380) Link to history/log action at the top of Special:RevisionDelete
- are new more displayed when when doing log suppression
+* (bug 20380) Links to history/deleted edits at the top of
+ Special:RevisionDelete are no more displayed when when doing log suppression
* (bug 8143) Localised parser function names are now correctly case insensitive
if they contain non-ASCII characters
protected function showConvenienceLinks() {
global $wgOut, $wgUser, $wgLang;
# Give a link to the logs/hist for this page
- if( $this->targetObj && $this->targetObj->getNamespace() != NS_SPECIAL ) {
+ if( $this->targetObj ) {
$links = array();
$logtitle = SpecialPage::getTitleFor( 'Log' );
$links[] = $this->skin->linkKnown(
array(),
array( 'page' => $this->targetObj->getPrefixedText() )
);
- # Give a link to the page history
- $links[] = $this->skin->linkKnown(
- $this->targetObj,
- wfMsgHtml( 'pagehist' ),
- array(),
- array( 'action' => 'history' )
- );
- # Link to deleted edits
- if( $wgUser->isAllowed('undelete') ) {
- $undelete = SpecialPage::getTitleFor( 'Undelete' );
+ if ( $this->targetObj->getNamespace() != NS_SPECIAL ) {
+ # Give a link to the page history
$links[] = $this->skin->linkKnown(
- $undelete,
- wfMsgHtml( 'deletedhist' ),
+ $this->targetObj,
+ wfMsgHtml( 'pagehist' ),
array(),
- array( 'target' => $this->targetObj->getPrefixedDBkey() )
+ array( 'action' => 'history' )
);
+ # Link to deleted edits
+ if( $wgUser->isAllowed('undelete') ) {
+ $undelete = SpecialPage::getTitleFor( 'Undelete' );
+ $links[] = $this->skin->linkKnown(
+ $undelete,
+ wfMsgHtml( 'deletedhist' ),
+ array(),
+ array( 'target' => $this->targetObj->getPrefixedDBkey() )
+ );
+ }
}
# Logs themselves don't have histories or archived revisions
$wgOut->setSubtitle( '<p>' . $wgLang->pipeList( $links ) . '</p>' );