aboutsummaryrefslogtreecommitdiffstats
path: root/includes/diff/Diff.php
Commit message (Collapse)AuthorAgeFilesLines
* Move DiffEngine and helpers to includes/libs/Diff and put them in a namespaceTim Starling2023-06-201-163/+0
| | | | | | | I will address the dependencies on MW core in a followup. Bug: T339184 Change-Id: I892364b0c9f15c9de4cfc29c683670c172d71764
* Fix doc type of Diff::reverseUmherirrender2020-11-131-1/+1
| | | | Change-Id: I3eb066d5effc9c96b6b9c1b3b63bdcd39790bd3a
* build: Updating mediawiki/mediawiki-codesniffer to 32.0.0Umherirrender2020-10-281-1/+1
| | | | | | | Exclude failing sniff to fix in follow ups Includes some simply fix, most are autofix Change-Id: I5bb4743f08618bb6226bc2a4cc7f4d73a7ad142d
* Replace "@stable for calling" by "@stable to call"daniel2020-07-131-1/+1
| | | | | | | | | | | For compliance with the new version of the table interface policy (T255803). This patch was created by an automated search & replace operation on the includes/ directory. Bug: T257789 Change-Id: If560596f5e1e0a3da91afc36e656e7c27f040968
* Mark additional classes as newable for now.daniel2020-07-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The following glasses are marked as newable per the Stable Interface Policy, even though logically, they should not be newable. This is done for classes that are currently instantiated by extensions, and lack an alternative. A better way for obtaining an instance of these classes should be created in the future. At that point, direct instantiation should be deprecated and replaced. - includes/ApiMain.php - needs factory - includes/media/BitmapMetadataHandler.php - should become a stateless service or use handler pattern - includes/GitInfo.php - should become a stateless service - includes/logging/LogPage.php - should become a stateless service or use command pattern - includes/logging/ManualLogEntry.php - should become a stateless service or use command pattern - includes/poolcounter/PoolCounterWorkViaCallback.php - needs a factory - includes/context/RequestContext.php - needs to be narrowed down, and should use a factory - includes/search/SearchHighlighter.php - should have a factory - includes/TitleArrayFromResult.php - should perhaps be part of TitleFactory - includes/user/User.php - should at least get a factory method for anons - includes/diff/Diff.php: needs a TextDiffGenerator service or a factory - includes/EditPage.php: needs a factory Bug: T247862 Change-Id: I033158e693c98630ee167d9528fc8c9936f978d4
* Use @internal instead of @private per policydaniel2020-06-261-1/+1
| | | | | | | | https://www.mediawiki.org/wiki/Stable_interface_policy mandates the use of @internal. The semantics of @private was never properly defined. Bug: T247862 Change-Id: I4c7c6e7b5a80e86456965521f88d1dfa7d698f84
* Split DairikiDiff to class per fileReedy2019-04-141-0/+160
| | | | Change-Id: Ica426312ec69707b9a99dfe2a7deee945c38ba35
* * (bug 24833) Files name in includes/diff/ are now less confusingAlexandre Emsenhuber2010-11-071-586/+0
| | | | | | | | | Diff.php -> WikiDiff3.php, more descriptive DifferenceEngine.php -> WikiDiff.php, for consistency with the above and to make way for the file below DifferenceInterface.php -> DifferenceEngine.php, since it contains the DifferenceEngine class Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/76252
* * standardised file headersAlexandre Emsenhuber2010-08-081-1/+7
| | | | | | | | * added a basic description * added @file Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70684
* Correct the address of the FSF in some of the GPL headersDerk-Jan Hartman2010-06-211-2/+2
| | | | | | | 59 Temple Place -> 51 Franklin Street Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/68353
* * Add all HTMLDiff-related classes to the autoloader. Chad Horohoe2008-08-251-0/+580
* Move all stuff @ingroup DifferenceEngine to /diff * Split off Node and friends to Nodes.php to make HTMLDiff.php shorter. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/39969