Current configuration on the wiki
Find a file
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
.phan Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
.pipeline Trigger update-train-versions job at end of wmf-publish pipeline 2021-06-29 08:02:03 -07:00
cache
docs ExtensionProcessor: Remove loaderScripts from extension.json schemas 2021-08-20 04:11:53 +00:00
extensions
images
includes Rename ParserOutput::setCategoryLinks() and ::getCategoryLinks() 2021-10-15 09:45:36 -07:00
languages Merge "Rename linter-pager-* messages to avoid conflict with Linter extension" 2021-10-14 01:06:25 +00:00
maintenance profiler: Remove dependency on WebRequest from Profiler 2021-10-09 03:00:45 +00:00
mw-config build: Upgrade stylelint-config-wikimedia from 0.10.3 to 0.11.1 2021-06-29 11:22:30 +01:00
resources mediawiki.rcfilters.filters.ui: Simplify ItemMenuOptionWidget 2021-10-14 20:24:33 +00:00
skins
tests Rename ParserOutput::setCategoryLinks() and ::getCategoryLinks() 2021-10-15 09:45:36 -07:00
.dockerignore
.editorconfig build: Fix .editorconfig to allow spaces in markdown files 2021-04-29 23:56:23 +01:00
.eslintignore build: Add /cache to eslintignore 2021-09-24 00:47:22 +01:00
.eslintrc.json eslint: Remove no-shadow setting, already set upstream 2021-06-05 14:50:18 +01:00
.fresnel.yml
.gitattributes
.gitignore
.gitreview
.mailmap Update credits ahead of the 1.37 release 2021-09-14 10:07:31 +03:00
.phpcs.xml Remove $wgShellLocale, always use C 2021-09-24 17:25:01 -07:00
.stylelintrc.json stylelint: Enforce no-unsupported-browser-features 2021-06-05 14:42:03 +01:00
.svgo.config.js build: Update SVGO to latest v2.3.0 and re-crush SVGs 2021-05-18 05:50:18 -07:00
.vsls.json
api.php Change trivial use of getVal('action') to getRawVal 2021-08-26 22:11:58 +01:00
autoload.php Merge "Add SpecialExportGetExtraPagesHook" 2021-10-11 22:00:33 +00:00
CODE_OF_CONDUCT.md
composer.json Upgrading wikimedia/wrappedstring (v3.2.0 => v4.0.1) 2021-10-12 23:30:27 +00:00
composer.local.json-sample
COPYING
CREDITS Update credits ahead of the 1.37 release 2021-09-14 10:07:31 +03:00
DEVELOPERS.md docs: Document in DEVELOPERS.md how to stop or restart the thing 2021-10-12 16:52:44 +00:00
docker-compose.yml MediaWiki-Docker: Remove injection of MW_SCRIPT_PATH 2021-09-11 22:32:58 +00:00
FAQ
Gruntfile.js build: Update SVGO to latest v2.3.0 and re-crush SVGs 2021-05-18 05:50:18 -07:00
HISTORY Add 1.31.16/1.35.4/1.36.2 to HISTORY 2021-09-30 22:37:56 +00:00
img_auth.php
index.php
INSTALL Prepare for REL1_37 cut, labelling master as 1.38-alpha 2021-09-13 19:19:42 -07:00
jsduck.json
load.php resourceloader: Avoid repeatly calls to getter functions 2021-09-26 01:55:13 +02:00
opensearch_desc.php
package-lock.json build: Updating dependencies 2021-10-04 06:38:39 +00:00
package.json build: Updating dependencies 2021-10-04 06:38:39 +00:00
phpunit.xml.dist PHPUnit: enable convertDeprecationsToExceptions 2021-09-25 10:05:18 +00:00
README.md
RELEASE-NOTES-1.37 Merge "Add $wgParserEnableLegacyMediaDOM to REL1-37 release notes" 2021-10-14 20:41:34 +00:00
RELEASE-NOTES-1.38 Rename ParserOutput::setCategoryLinks() and ::getCategoryLinks() 2021-10-15 09:45:36 -07:00
rest.php
SECURITY
thumb.php
thumb_handler.php
UPGRADE

MediaWiki

MediaWiki is a free and open-source wiki software package written in PHP. It serves as the platform for Wikipedia and the other Wikimedia projects, used by hundreds of millions of people each month. MediaWiki is localised in over 350 languages and its reliability and robust feature set have earned it a large and vibrant community of third-party users and developers.

MediaWiki is:

  • feature-rich and extensible, both on-wiki and with hundreds of extensions;
  • scalable and suitable for both small and large sites;
  • simple to install, working on most hardware/software combinations; and
  • available in your language.

For system requirements, installation, and upgrade details, see the files RELEASE-NOTES, INSTALL, and UPGRADE.

MediaWiki is the result of global collaboration and cooperation. The CREDITS file lists technical contributors to the project. The COPYING file explains MediaWiki's copyright and license (GNU General Public License, version 2 or later). Many thanks to the Wikimedia community for testing and suggestions.