mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-30 11:07:24 +00:00
Consistent spelling of "subpage"
"Subpage" is usually written as one word in core and in other extensions. Change-Id: Ie10a500790c321e866c02264d55449e42b0110bb
This commit is contained in:
parent
b27574f0b6
commit
15f3f80378
|
@ -170,7 +170,7 @@ class ThreadItemStore {
|
|||
* Find heading items matching some text which:
|
||||
*
|
||||
* 1. appeared at some point in the history of the targetpage, or if this returns no results:
|
||||
* 2. currently appear on a sub-page of the target page, or if this returns no results:
|
||||
* 2. currently appear on a subpage of the target page, or if this returns no results:
|
||||
* 3. currently appears on any page, but only if it is a unique match
|
||||
*
|
||||
* @param string|string[] $heading Heading text to match
|
||||
|
@ -213,7 +213,7 @@ class ThreadItemStore {
|
|||
|
||||
// 2. If the thread item's database hasn't been back-filled with historical revisions
|
||||
// then approach (1) may not work, instead look for matching headings the currently
|
||||
// appear on sub-pages, which matches the archiving convention on most wikis.
|
||||
// appear on subpages, which matches the archiving convention on most wikis.
|
||||
$itemIdInSubPageQueryBuilder = $this->getIdsNamesBuilder()
|
||||
->caller( __METHOD__ . ' case 2' )
|
||||
->join( 'page', null, [ 'page_id = itp_page_id' ] )
|
||||
|
|
Loading…
Reference in a new issue