more changes

This commit is contained in:
2025-07-09 23:33:49 +02:00
parent aefcf2367e
commit ddcccb1fce
5 changed files with 19 additions and 19 deletions

View File

@@ -24,7 +24,7 @@
*/
namespace LinkTitles;
use MediaWiki\Title\Title;
use MediaWiki\Title\Title as MWTitle;
/**
* Performs the actual linking of content to existing pages.
@@ -63,12 +63,12 @@ class Linker {
/**
* Core function of the extension, performs the actual parsing of the content.
*
* This method receives a Title object and the string representation of the
* This method receives a MWTitle object and the string representation of the
* source page. It does not work on a WikiPage object directly because the
* callbacks in the Extension class do not always get a WikiPage object in the
* first place.
*
* @param Title &$title Title object for the current page.
* @param MWTitle &$title MWTitle object for the current page.
* @param String $text String that holds the article content
* @return String|null Source page text with links to target pages, or null if no links were added
*/