* (bug 11211) Pass, as a parameter to the protectedpagetext interface message, the...
[lhc/web/wiklou.git] / includes / Title.php
index 63ec737..a8e6ff7 100644 (file)
@@ -1169,7 +1169,7 @@ class Title {
                                $right = 'protect';
                        }
                        if( '' != $right && !$user->isAllowed( $right ) ) {
-                               $errors[] = array( 'protectedpagetext' );
+                               $errors[] = array( 'protectedpagetext', $right );
                        }
                }