* Show a warning message when creating/editing a user (talk) page but the user
does not exists
* (bug 8396) Ignore out-of-date serialised message caches
-* Add descriptive <title> to revision difference page
* (bug 12195) Undeleting pages now requires 'undelete' permission
=== Bug fixes in 1.12 ===
$this->mRefreshCache = $refreshCache;
}
- /**
- * Show difference between revisions
- * @param $diffOnly bool show the difference only, no preview
- */
function showDiffPage( $diffOnly = false ) {
global $wgUser, $wgOut, $wgUseExternalEditor, $wgUseRCPatrol;
$fname = 'DifferenceEngine::showDiffPage';
# a diff between a version V and its previous version V' AND the version V
# is the first version of that article. In that case, V' does not exist.
if ( $this->mOldid === false ) {
- $wgOut->setPageTitle( wfMsg( 'difference-title', $this->mTitle->getPrefixedText() ) );
$this->showFirstRevision();
$this->renderNewRevision(); // should we respect $diffOnly here or not?
wfProfileOut( $fname );
$oldTitle = $this->mOldPage->getPrefixedText();
$newTitle = $this->mNewPage->getPrefixedText();
if( $oldTitle == $newTitle ) {
- $wgOut->setPageTitle( wfMsg( 'difference-title', $newTitle ) );
+ $wgOut->setPageTitle( $newTitle );
} else {
- $wgOut->setPageTitle( wfMsg( 'difference-title', $oldTitle . ', ' . $newTitle ) );
+ $wgOut->setPageTitle( $oldTitle . ', ' . $newTitle );
}
+ $wgOut->setSubtitle( wfMsg( 'difference' ) );
$wgOut->setRobotpolicy( 'noindex,nofollow' );
if ( !( $this->mOldPage->userCanRead() && $this->mNewPage->userCanRead() ) ) {
$wgOut->addHTML( $header );
+ $wgOut->setSubtitle( wfMsg( 'difference' ) );
$wgOut->setRobotpolicy( 'noindex,nofollow' );
wfProfileOut( $fname );
wfProfileOut( $fname );
}
}
+
+
+
# Diffs
'history-title' => 'Versionsgeschichte von „$1“',
-'difference-title' => 'Versionsunterschied: „$1“',
+'difference' => '(Unterschied zwischen Versionen)',
'lineno' => 'Zeile $1:',
'compareselectedversions' => 'Gewählte Versionen vergleichen',
'editundo' => 'rückgängig',
'rc_categories_any' => 'Alle',
'rc-change-size' => '$1 {{PLURAL:$1|Byte|Bytes}}',
'newsectionsummary' => 'Neuer Abschnitt /* $1 */',
-'difference' => '(Unterschied zwischen Versionen)',
# Recent changes linked
'recentchangeslinked' => 'Änderungen an verlinkten Seiten',
# Diffs
'history-title' => 'Revision history of "$1"',
-'difference-title' => 'Difference between revisions of "$1"',
+'difference' => '(Difference between revisions)',
'lineno' => 'Line $1:',
'compareselectedversions' => 'Compare selected versions',
'editundo' => 'undo',
'rc_categories_any' => 'Any',
'rc-change-size' => '$1', # only translate this message to other languages if you have to change it
'newsectionsummary' => '/* $1 */ new section',
-'difference' => '(Difference between revisions)',
# Recent changes linked
'recentchangeslinked' => 'Related changes',
),
'diffs' => array(
'history-title',
- 'difference-title',
+ 'difference',
'lineno',
'compareselectedversions',
'editundo',
'rc_categories_any',
'rc-change-size',
'newsectionsummary',
- 'difference',
),
'recentchangeslinked' => array(
'recentchangeslinked',