MediaWiki  master
ArticleTablesTest Class Reference

Database. More...

Inheritance diagram for ArticleTablesTest:
Collaboration diagram for ArticleTablesTest:

Public Member Functions

 testTemplatelinksUsesContentLanguage ()
 Make sure that T16404 doesn't strike again. More...

Additional Inherited Members

- Protected Member Functions inherited from MediaWikiLangTestCase
 setUp ()

Detailed Description


Definition at line 6 of file ArticleTablesTest.php.

Member Function Documentation

◆ testTemplatelinksUsesContentLanguage()

ArticleTablesTest::testTemplatelinksUsesContentLanguage ( )

Make sure that T16404 doesn't strike again.

We don't want templatelinks based on the user language when {{int:}} is used, only the content language.

Title::getTemplateLinksFrom Title::getLinksFrom

Definition at line 16 of file ArticleTablesTest.php.

References $title, $user, EDIT_UPDATE, WikiPage\factory(), Title\newFromText(), and User.

The documentation for this class was generated from the following file: