mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-28 16:00:28 +00:00
badde6ba75
This reverts commit 1ed75b4ae0
.
Fixed the one which caused errors, by making articleFromTitle
only use WikiPage, instead of silently mixing WikiPage and Article.
Note for reviewers: this patch is identical to the one which was
previously +2ed, which was mostly correct. To see the actual change,
diff AFComputedVariable with 1..current.
Change-Id: I6747eaed861af6c40a3b1610aebcc1174296e9ed
15 lines
217 B
PHP
15 lines
217 B
PHP
<?php
|
|
|
|
class AFPParserState {
|
|
public $pos, $token;
|
|
|
|
/**
|
|
* @param AFPToken $token
|
|
* @param int $pos
|
|
*/
|
|
public function __construct( AFPToken $token, $pos ) {
|
|
$this->token = $token;
|
|
$this->pos = $pos;
|
|
}
|
|
}
|