mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-09-04 07:16:55 +02:00
more changes
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user