| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
I will address the dependencies on MW core in a followup.
Bug: T339184
Change-Id: I892364b0c9f15c9de4cfc29c683670c172d71764
|
|
|
|
| |
Change-Id: I3eb066d5effc9c96b6b9c1b3b63bdcd39790bd3a
|
|
|
|
|
|
|
| |
Exclude failing sniff to fix in follow ups
Includes some simply fix, most are autofix
Change-Id: I5bb4743f08618bb6226bc2a4cc7f4d73a7ad142d
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ica426312ec69707b9a99dfe2a7deee945c38ba35
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* added a basic description
* added @file
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/70684
|
|
|
|
|
|
|
| |
59 Temple Place -> 51 Franklin Street
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/68353
|
|
* 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
|