r103649 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103648‎ | r103649 | r103650 >
Date:08:38, 19 November 2011
Author:robin
Status:ok
Tags:
Comment:
Modified paths:
  • /trunk/extensions/WikimediaIncubator/IncubatorTest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikimediaIncubator/IncubatorTest.php
@@ -309,7 +309,7 @@
310310 * @return Boolean
311311 */
312312 static function onGetUserPermissionsErrors( $title, $user, $action, &$result ) {
313 - $notAllowedActions = in_array( array( 'edit', 'createpage' ) );
 313+ $notAllowedActions = in_array( $action, array( 'edit', 'createpage' ) );
314314
315315 $titletext = $title->getText();
316316 $prefixdata = self::analyzePrefix( $titletext );

Follow-up revisions

RevisionCommit summaryAuthorDate
r105776MFT for WikimediaIncubator: r95582, r96122, r96138, r96141, r97175, r98670, r...siebrand00:32, 11 December 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103637Apparently behaviour changed in trunk, so blacklisting actions instead of whi...robin04:17, 19 November 2011

Status & tagging log