*/
public function __construct( $id, $title, $c = null ) {
if ( is_string( $title ) ) {
*/
public function __construct( $id, $title, $c = null ) {
if ( is_string( $title ) ) {
$this->title = Title::newFromText( $title );
if ( $this->title === null ) {
throw new InvalidArgumentException( "Cannot construct the title: $title" );
$this->title = Title::newFromText( $title );
if ( $this->title === null ) {
throw new InvalidArgumentException( "Cannot construct the title: $title" );