mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
3101bfc537
This should have been done from the beginning; the model manager pulls models by their symbolic names. So far, we've used the source for that, but that assumes that two modules always have different sources, and that is absolutely not necessarily the case. For example, internal local bundles will each be a model, but have the same ('local') source. They should still be differentiated in the manager by their names, but the source should state clearly that it is local. For this, the models now have "getName" method and the name is created separately from their source. Items also preserve a reference to their parent's symbolic name so they can provide that for items that require the controller to manipulate a specific model. Change-Id: I8c39d5d28383d11fb330addce21e07d5c424da6f |
||
---|---|---|
.. | ||
mw.echo.dm.CrossWikiNotificationItem.js | ||
mw.echo.dm.FiltersModel.js | ||
mw.echo.dm.js | ||
mw.echo.dm.ModelManager.js | ||
mw.echo.dm.NotificationGroupsList.js | ||
mw.echo.dm.NotificationItem.js | ||
mw.echo.dm.NotificationsList.js | ||
mw.echo.dm.PaginationModel.js | ||
mw.echo.dm.SortedList.js | ||
mw.echo.dm.UnreadNotificationCounter.js |