/**
* Main execution point
*
- * @param string $par title fragment
+ * @param string $par Title fragment
*/
public function execute( $par ) {
$this->setHeaders();
$fields = array(
'Target' => array(
'type' => 'text',
- 'label-message' => 'ipadressorusername',
+ 'label-message' => 'ipaddressorusername',
'tabindex' => '1',
'size' => '45',
'default' => $this->target,
),
);
$context = new DerivativeContext( $this->getContext() );
- $context->setTitle( $this->getTitle() ); // Remove subpage
+ $context->setTitle( $this->getPageTitle() ); // Remove subpage
$form = new HTMLForm( $fields, $context );
$form->setMethod( 'get' );
$form->setWrapperLegendMsg( 'ipblocklist-legend' );
protected $page;
/**
- * @param $page SpecialPage
- * @param $conds Array
+ * @param SpecialPage $page
+ * @param array $conds
*/
function __construct( $page, $conds ) {
$this->page = $page;
* Basically don't do any validation. If it's a number that's fine. Also,
* add it to the list if it's not there already
*
- * @param $value
- * @param $alldata
+ * @param string $value
+ * @param array $alldata
* @return bool
*/
function validate( $value, $alldata ) {