more changes

This commit is contained in:
2025-07-09 23:22:25 +02:00
parent 1878833ff0
commit d30813633a
6 changed files with 22 additions and 16 deletions

View File

@@ -24,6 +24,8 @@
*/
namespace LinkTitles;
use MediaWiki\Title\Title;
/**
* Performs the actual linking of content to existing pages.
*/
@@ -66,7 +68,7 @@ class Linker {
* callbacks in the Extension class do not always get a WikiPage object in the
* first place.
*
* @param \MediaWiki\Title\Title &$title Title object for the current page.
* @param Title &$title Title 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
*/