Index: trunk/extensions/Makesysop/SpecialMakesysop.php |
— | — | @@ -35,6 +35,9 @@ |
36 | 36 | require_once( "LinksUpdate.php" ); |
37 | 37 | |
38 | 38 | global $wgUser, $wgOut, $wgRequest; |
| 39 | + global $wgMessageCache; |
| 40 | + $wgMessageCache->addMessage('bureaucrattitle', 'Bureaucrat access required'); |
| 41 | + $wgMessageCache->addMessage('bureaucrattext', 'The action you have requested can only be performed by sysops with "bureaucrat" status.'); |
39 | 42 | |
40 | 43 | if ( $wgUser->isAnon() or $wgUser->isBlocked() ) { |
41 | 44 | $wgOut->errorpage( "movenologin", "movenologintext" ); |
— | — | @@ -112,8 +115,9 @@ |
113 | 116 | $makeburo = wfMsg( "setbureaucratflag" ); |
114 | 117 | $wgOut->addHTML( |
115 | 118 | "<tr> |
116 | | - <td> </td><td align=left> |
117 | | - <input type=checkbox name=\"wpSetBureaucrat\" value=1>$makeburo |
| 119 | + <td> </td> |
| 120 | + <td align='left'> |
| 121 | + <input type='checkbox' name='wpSetBureaucrat' value='1'>$makeburo</input> |
118 | 122 | </td> |
119 | 123 | </tr>" |
120 | 124 | ); |