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:
Amir E. Aharoni 2024-08-06 03:44:51 -04:00
parent b27574f0b6
commit 15f3f80378

View file

@ -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' ] )