mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-09-04 07:16:55 +02:00
Merge branch 'main' of https://github.com/diocloid/LinkTitles
This commit is contained in:
@@ -102,11 +102,11 @@ class Extension {
|
||||
*
|
||||
* Entry point for the SpecialLinkTitles class and the LinkTitlesJob class.
|
||||
*
|
||||
* @param MediaWiki\Title\Title $title Title object.
|
||||
* @param \MediaWiki\Title\Title $title Title object.
|
||||
* @param \RequestContext $context Current request context. If in doubt, call MediaWiki's `RequestContext::getMain()` to obtain such an object.
|
||||
* @return bool True if the page exists, false if the page does not exist
|
||||
*/
|
||||
public static function processPage( MediaWiki\Title\Title $title, \RequestContext $context ) {
|
||||
public static function processPage( \MediaWiki\Title\Title $title, \RequestContext $context ) {
|
||||
$config = new Config();
|
||||
$source = Source::createFromTitle( $title, $config );
|
||||
if ( $source->hasContent() ) {
|
||||
|
Reference in New Issue
Block a user