wiki.techinc.nl/includes/search
C. Scott Ananian 5ae946d3a6 Rename ParserOutput::setCategoryLinks() and ::getCategoryLinks()
Make ::setCategory() consistent with the corresponding singular method,
which is ::addCategory(), not ::addCategoryLink().  Also, don't return
a value.

This renaming is in preparation for factoring out a write-only base
class from ParserOutput suitable to be used by Parsoid.

Note that OutputPage does distinguish a 'category link' from a
'category list', and there are separate OutputPage::getCategories()
and OutputPage::getCategoryLinks() methods.  However, the category
map in ParserOutput isn't exactly the same as either of these:
it's actually a map (or list of pairs) of category name to sort key.

Rename ParserOutput::getCategoryLinks() to ::getCategoryNames()
in order to clarify that the concept involved is not the same as
the OutputPage "category links" methods.

Code search:
https://codesearch.wmcloud.org/deployed/?q=-%3E(get%7Cset)CategoryLinks%5C(&i=nope&files=&excludeFiles=&repos=

(Note that many of the code search matches are for the methods in
OutputPage, which we are trying to disambiguate here.)

Bug: T287216
Change-Id: Idb383d3d9ef7b76f8a0208a057a3cb8c639465c9
2021-10-15 09:45:36 -07:00
..
Entity
Hook
searchwidgets SECURITY: Pass escaped HTML to FullSearchResultWidget::buildMeta 2021-09-30 15:49:36 +01:00
BaseSearchResultSet.php build: Update mediawiki/mediawiki-phan-config to 0.11.0 2021-09-07 17:19:05 +02:00
DummySearchIndexFieldDefinition.php
FauxSearchResult.php
FauxSearchResultSet.php
ISearchResultSet.php
NullIndexField.php
PaginatingSearchEngine.php
ParserOutputSearchDataExtractor.php Rename ParserOutput::setCategoryLinks() and ::getCategoryLinks() 2021-10-15 09:45:36 -07:00
PerRowAugmentor.php
PrefixSearch.php search: Replace deprecated Language::autoConvertToAllVariants 2021-08-04 03:36:51 +02:00
ResultAugmentor.php
ResultSetAugmentor.php
RevisionSearchResult.php
RevisionSearchResultTrait.php
SearchDatabase.php
SearchEngine.php Remove unneeded variable assignment 2021-09-03 22:51:22 +00:00
SearchEngineConfig.php Various updates and fixes to PHPDoc documentation 2021-08-09 09:26:23 +02:00
SearchEngineDummy.php
SearchEngineFactory.php
SearchExactMatchRescorer.php
SearchHighlighter.php build: Update mediawiki/mediawiki-phan-config to 0.11.0 2021-09-07 17:19:05 +02:00
SearchIndexField.php
SearchIndexFieldDefinition.php
SearchMySQL.php search: Replace deprecated Language::autoConvertToAllVariants 2021-08-04 03:36:51 +02:00
SearchNearMatcher.php
SearchNearMatchResultSet.php
SearchPostgres.php
SearchResult.php
SearchResultSet.php docs: Fix nullable documentation for class properties 2021-09-24 00:54:53 +00:00
SearchResultSetTrait.php
SearchResultTrait.php
SearchSqlite.php
SearchSuggestion.php
SearchSuggestionSet.php
SqlSearchResult.php
SqlSearchResultSet.php
StringPrefixSearch.php
TitlePrefixSearch.php