pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki:
Common.css and MediaWiki:Monobook.css.
* (bug 8869) Introduce Special:Uncategorizedtemplates
+* (bug 8734) Different log message when article protection level is changed
== Bugfixes since 1.10 ==
* (bug 9383) Don't set a default value for BLOB column in rc-deleted
database patch
* (bug 10149) Don't show full template list on section-0 edit
-* Fix maintenance/importImages.php so it doesn't barf PHP errors when no
- suitable files are found, and make the list of extensions an option (defaults
- to $wgFileExtensions)
* (bug 9909) Ensure access to binary fields in the math table use encodeBlob()
and decodeBlob()
* (bug 6743) Don't link broken image links to the upload form when uploads
* Add support for wgMaxTocLevel option in parserTests
* (bug 6823) Disable article view counter in maintenance/dumpHTML.php
+* Fix maintenance/importImages.php so it doesn't barf PHP errors when no
+ suitable files are found, and make the list of extensions an option (defaults
+ to $wgFileExtensions)
== Languages updated since 1.10 ==
=== IRC help ===
-There's usually someone online in #mediawiki on irc.freenode.net
\ No newline at end of file
+There's usually someone online in #mediawiki on irc.freenode.net
}
# Prepare a null revision to be added to the history
- $comment = $wgContLang->ucfirst( wfMsgForContent( $protect ? 'protectedarticle' : 'unprotectedarticle', $this->mTitle->getPrefixedText() ) );
+ $modified = $current != '' && $protect;
+ if ( $protect ) {
+ $comment_type = $modified ? 'modifiedarticleprotection' : 'protectedarticle';
+ } else {
+ $comment_type = 'unprotectedarticle';
+ }
+ $comment = $wgContLang->ucfirst( wfMsgForContent( $comment_type, $this->mTitle->getPrefixedText() ) );
foreach( $limit as $action => $restrictions ) {
# Check if the group level required to edit also can protect pages
$log = new LogPage( 'protect' );
if( $protect ) {
- $log->addEntry( 'protect', $this->mTitle, trim( $reason . " [$updated]$cascade_description$expiry_description" ) );
+ $log->addEntry( $modified ? 'modify' : 'protect', $this->mTitle, trim( $reason . " [$updated]$cascade_description$expiry_description" ) );
} else {
$log->addEntry( 'unprotect', $this->mTitle, $reason );
}
'block/block' => 'blocklogentry',
'block/unblock' => 'unblocklogentry',
'protect/protect' => 'protectedarticle',
+ 'protect/modify' => 'modifiedarticleprotection',
'protect/unprotect' => 'unprotectedarticle',
'rights/rights' => 'rightslogentry',
'delete/delete' => 'deletedarticle',
wfMsg( 'unblocklink' ),
'action=unblock&ip=' . urlencode( $s->log_title ) ) . ')';
// show change protection link
- } elseif ( $s->log_action == 'protect' && $wgUser->isAllowed( 'protect' ) ) {
+ } elseif ( ( $s->log_action == 'protect' || $s->log_action == 'modify' ) && $wgUser->isAllowed( 'protect' ) ) {
$revert = '(' . $skin->makeKnownLink( $title->getPrefixedDBkey() ,
wfMsg( 'protect_change' ),
'action=unprotect' ) . ')';
Bitte gehen Sie zurück und versuchen den Vorgang erneut auszuführen.',
'protectlogpage' => 'Seitenschutz-Logbuch',
'protectlogtext' => 'Dies ist das Seitenschutz-Logbuch. Siehe die [[{{ns:special}}:Protectedpages|Liste der geschützten Seiten]] für alle aktuell geschützten Seiten.',
-'protectedarticle' => 'änderte den Seitenschutzstatus von [[$1]]',
-'unprotectedarticle' => 'hob den Schutz von $1 auf',
+'protectedarticle' => 'schützte „$1“',
+'modifiedarticleprotection' => 'änderte den Schutz von „$1“',
+'unprotectedarticle' => 'hob den Schutz von „$1“ auf',
'protectsub' => '(Schutz ändern von „$1“)',
'confirmprotecttext' => 'Soll diese Seite wirklich geschützt werden?',
'confirmprotect' => 'Seitenschutzstatus ändern',
Please hit "back" and reload the page you came from, then try again.',
'protectlogpage' => 'Protection log',
'protectlogtext' => 'Below is a list of page locks and unlocks. See the [[Special:Protectedpages|protected pages list]] for the list of currently operational page protections.',
-'protectedarticle' => 'protected "[[$1]]"',
-'unprotectedarticle' => 'unprotected "[[$1]]"',
+'protectedarticle' => 'protected "$1"',
+'modifiedarticleprotection' => 'changed protection level for "$1"',
+'unprotectedarticle' => 'unprotected "$1"',
'protectsub' => '(Protecting "$1")',
'confirmprotecttext' => 'Do you really want to protect this page?',
'confirmprotect' => 'Confirm protection',
Пожалуйста, нажмите кнопку «Назад» и перезагрузите страницу, с которой вы пришли.',
'protectlogpage' => 'Журнал защиты',
'protectlogtext' => 'Ниже приведён журнал установок и снятий защиты со статей. Вы можете также просмотреть [[{{ns:special}}:Protectedpages|список страниц, которые в данный момент защищены]].',
-'protectedarticle' => 'защищена страница «[[$1]]»',
-'unprotectedarticle' => 'снята защита со страницы «[[$1]]»',
+'protectedarticle' => 'защищена страница «$1»',
+'modifiedarticleprotection' => 'изменён уровень защиты страницы «$1»',
+'unprotectedarticle' => 'снята защита со страницы «$1»',
'protectsub' => '(Установка защиты для «$1»)',
'confirmprotecttext' => 'Вы действительно хотите установить защиту этой страницы?',
'confirmprotect' => 'Подтвердите установку защиты страницы',
'protectlogpage',
'protectlogtext',
'protectedarticle',
+ 'modifiedarticleprotection',
'unprotectedarticle',
'protectsub',
'confirmprotecttext',