Page MenuHomePhabricator

Remove cyclic dependency between Title and User classes
Open, MediumPublic

Description

Two of the most used classes of MediaWiki core are the Title class and the User class. Currently, they depend on each other. Removing this circular dependency is an important step in modularizing MediaWiki core.

Top priority should be given top publicly visible direct dependencies, but eventually, all dependencies binding the two classes together in a circular way should be removed, including indirect dependencies, and dependencies in private code.

This is one of the outcomes of T206080: Wikimedia Technical Conference 2018 Session - Architecting core: layers/components/libraries.

1280px-Techconf_-_Architecting_Core_2_-_Layers_Components_Libraries5.jpg (960×1 px, 95 KB)

Related Objects

StatusSubtypeAssignedTask
OpenNone
ResolvedVedmaka
ResolvedCCicalese_WMF
ResolvedBPirkle
ResolvedDannyS712
DuplicateArt-Baltai
ResolvedDannyS712
Resolved Clarakosi
ResolvedDannyS712
OpenNone
ResolvedPeter.ovchyn
DuplicateNone
ResolvedTchanders
Declined Pchelolo
Resolveddaniel
DeclinedNone
ResolvedVedmaka
ResolvedVedmaka
ResolvedCCicalese_WMF
ResolvedCCicalese_WMF

Event Timeline

daniel renamed this task from Remove circular dependency between Title and User classes to Remove cyclic dependency between Title and User classes.Feb 13 2019, 4:28 PM

Removing task assignee due to inactivity, as this open task has been assigned for more than two years (see emails sent to assignee on May26 and Jun17, and T270544). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be very welcome!

(See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)