Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
209 changes: 204 additions & 5 deletions SpeciesHelper/modules/MOSOrderPositionFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,30 +207,229 @@ export class MOSOrderPositionFinder {

// https://en.wikipedia.org/wiki/Wikipedia:Hatnote
this.sectionStartPositions.hatnotes = this._lookForTemplates( this.wikitext, [
'About-distinguish',
'About',
'About other people',
'About otherpeople',
'About year',
'About-confuse',
'About-confused',
'About-distinguish',
'About-other people',
'About-other-people',
'About-otherpeople',
'Alternateuses',
'Bài cùng tên',
'Bhutanese name',
'Bhutanese Name',
'Brazilian name',
'British barrelled name',
'Broader',
'Broader2',
'Bulgarian name',
'Chinese name',
'Chinese name 2',
'Chinese name2',
'Confuse',
'Confused',
'Confusion',
'Dab link',
'Dablink',
'Dabnote',
'Dinka name',
'Disambig-acronym',
'Distinguish',
'Distinguish redirect',
'Distinguish-about',
'Distinguish-for',
'Distinguish-redirect',
'Eastern name order',
'Efn Catalan name',
'Efn Chinese name',
'Efn chinese name',
'Efn Korean name',
'Efn Spanish name',
'Ethiopian name',
'Fam',
'Family name explanation',
'Family name footnote',
'Family name hatnote',
'Fijian name',
'Fijian name hatnote',
'Filipino name',
'Fne',
'Fnf',
'Fnh',
'FNH',
'For',
'FOR',
'For introduction',
'For LMST',
'For other uses',
'For the',
'For-distinguish',
'For1',
'For2',
'Forthe',
'Given name footnote',
'Given name hatnote',
'Gnf',
'Hat note',
'Hatlink',
'Hatn',
'Hatnote',
'HATNOTE',
'Highway detail hatnote',
'Hungarian name',
'Icelandic name',
'Indian name',
'Indian patronymic',
'Indonesian name',
'Korean name 2',
'Main LMST',
'Malay name',
'Malay name2',
'Norse name',
'Not to be confused',
'Not to be confused with',
'Nottobeconfusedwith',
'NTBCW',
'Ntbcw',
'On Wikipedia',
'On wikipedia',
'Other',
'Other hurricane uses',
'Other hurricanes',
'Other locations',
'Other meanings',
'Other people',
'Other people 2',
'Other people 5',
'Other people2',
'Other people5',
'Other persons',
'Other places',
'Other places3',
'Other ships',
'Other uses of',
'Other uses',
'Other stars by Bayer designation',
'Other storms',
'Other use',
'Other uses',
'Other uses of',
'Other uses1',
'Otherhurricaneuses',
'Otherhurricaneuses2',
'Othermeanings',
'Otherpeople',
'Otherpeople2',
'Otherpeople3',
'Otherpeople5',
'Otherpersons',
'Otherpersons2',
'Otherplaces',
'Otherplaces3',
'Others',
'Otherships',
'Otherships2',
'Otheruse',
'OtherUses',
'Otheruses',
'Otheruses-word',
'Otheruses1',
'Otheruses3',
'Otheruses4',
'Otherusesof',
'Othervalues',
'Ou',
'Pakistani name',
'Patronymic name',
'Patronymic names',
'Philippine name',
'Portuguese name',
'Rdf',
'RDR',
'Rdr',
'Redir',
'Redir-dist',
'Redir-distinguish',
'Redir-for',
'Redir-multi',
'Redir-several',
'Redir2',
'Redirect',
'REDIRECT',
'Redirect distinguish',
'Redirect distinguish for',
'Redirect for',
'Redirect hatnote',
'Redirect multi',
'Redirect refer',
'Redirect several',
'Redirect-2',
'Redirect-acronym',
'Redirect-confuse',
'Redirect-confuse2',
'Redirect-confuse6',
'Redirect-confused',
'Redirect-confused2',
'Redirect-confused6',
'Redirect-dist',
'Redirect-distinguish',
'Redirect-distinguish-for',
'Redirect-distinguish-text',
'Redirect-distinguish2',
'Redirect-distinguish6',
'Redirect-for',
'Redirect-multi',
'Redirect',
'Redirect-multiple',
'Redirect-several',
'Redirect-synonym',
'Redirect1',
'Redirect2',
'Redirect3',
'Redirect8',
'Redirects',
'Redirects here',
'Rellink',
'See dab',
'See intro',
'See Intro',
'See introduction',
'See Wiktionary',
'See wiktionary',
'See wt',
'Seeintro',
'SeeIntro',
'Seewiktionary',
'Self reference',
'Several terms',
'Similar names',
'Spanish colonial name',
'Spanish married name',
'Surname hatnote',
'Tchr',
'Technical reasons',
'Malay name' // TODO: add more {{X name}} type templates.
'Technical redirect',
'Technical restrictions',
'This',
'This article',
'This article is about',
'Traditional Norwegian name',
'Transcluded article',
'Transcluded section',
'Transcluded-section',
'Transcluding',
'Transcluding article',
'Transcluding articles',
'Transcluding section',
'Transcludingarticle',
'Transclusion notice',
'Western name order',
'Western Slavic name',
'WikiIPA',
'Wiktionary hatnote',
'Year dab',
'Другие значения',
'Однофамильцы'
] );

this.sectionStartPositions.featured = this._lookForTemplates( this.wikitext, [
Expand Down
Loading