aboutsummaryrefslogtreecommitdiffstats
path: root/includes/content/FallbackContent.php
Commit message (Collapse)AuthorAgeFilesLines
* content: Improve class docs for various Content classesTimo Tijhof2025-03-121-7/+2
| | | | | | | | | | | | | * Move duplicate brief and ingroup from file doc to class doc. <https://gerrit.wikimedia.org/r/q/message:ingroup+owner:Krinkle> * Ensure methods have an understable brief, separate from other text. <https://www.mediawiki.org/wiki/Manual:Coding_conventions/Documentation> * Remove obsolete `todo` comments. Bug: T364652 Change-Id: I6eebbf20775e73d008ef86c592a7128456abcb06
* Move remaining four classes in includes/content into Content namespaceJames D. Forrester2024-08-101-3/+0
| | | | | Bug: T353458 Change-Id: Ia0f3e22078550be410c4b87faf6aa4eabe6e270d
* Add MediaWiki\Content namespace to FallbackContent{,Handler}Ebrahim Byagowi2024-05-211-0/+7
| | | | | | | | | This adds MediaWiki\Content namespace to FallbackContent and FallbackContentHandler and declares the unnamespaced version as deprecated since version 1.43. Bug: T353458 Change-Id: I3ee80aea379788b71539cc1c7a4ec216b753e042
* Fix documentation on FallbackContent[Handler]. New in 1.36 not 1.34Brian Wolff2023-05-091-1/+1
| | | | | | Follow-up to a67cad6d0fc5b6a Change-Id: I26da1bb17f1a1855080c24a60af9c0f1ccf36d10
* content: Remove UnknownContent/UnknownContentHandler class aliasUmherirrender2022-05-291-4/+2
| | | | | | | Renamed in a67cad6 in 1.36 The fallback content is designed for internal use only Change-Id: I6977a9cf1eab0e701fd6969b1a2b5d1dfcecfdfa
* Move Content::getParserOutput & AbstractContent::fillParserOutput to ↵Roman Stolar2021-09-291-16/+0
| | | | | | | | | | ContentHandler Update/Create override classes of ContentHandler. Soft-deprecate and remove method from Content and classes that override them. Bug: T287158 Change-Id: Idfcfbfe1a196cd69a04ca357281d08bb3d097ce2
* Create fallback for undefined content models.daniel2020-07-221-0/+167
This causes RevisionStore to use FallbackContent instances to represent content for which no content handler is defined. This may happen when loading revisions using a model that was defined by an extension that has since been uninstalled. Bug: T220594 Bug: T220793 Bug: T228921 Change-Id: I5cc9e61223ab22406091479617b077512aa6ae2d