Extension Dependencies: Difference between revisions

Jump to navigation Jump to search
m
Line 36: Line 36:
When installing or upgrading using a manager (e.g. Extension / Theme Manager) after all installations in progress complete if a dependency is not satisfied the item would have the appDisabled property set to true and the user would be notified via a dialog that an item requires additional items to be installed or enabled.
When installing or upgrading using a manager (e.g. Extension / Theme Manager) after all installations in progress complete if a dependency is not satisfied the item would have the appDisabled property set to true and the user would be notified via a dialog that an item requires additional items to be installed or enabled.


If the required item is installed and disabled the item will automatically be enables unless the user has manually disabled tthe item.
If the required item is installed and disabled the item will automatically be enables unless the user has manually disabled the item.


If the required item is not installed (future):
When an item that is a dependency of another item is being upgraded and the upgrade will disable the item that depends on it the user would be notified and given the option to not upgrade the item.
 
'''Future:''' If the required item is not installed:
* if <tt>em:requires</tt> provides a <tt>homepageURL</tt> the user would be provided with a link to the required item's home page.
* if <tt>em:requires</tt> provides a <tt>homepageURL</tt> the user would be provided with a link to the required item's home page.
* the user will always be given the option of installing the required items since <tt>updateURL</tt> will default to UMO when it is not specified.
* the user will always be given the option of installing the required items since <tt>updateURL</tt> will default to UMO when it is not specified.
'''Q:''' I believe that UMO has only recently started to return the rdf data when the item installed was the same version as the latest item available. It appears that it is now returning the data in this case and implementing this would require UMO to always return the data.
'''Q:''' I believe that UMO has only recently started to return the rdf data when the item installed was the same version as the latest item available. It appears that it is now returning the data in this case and implementing this would require UMO to always return the data.
When an item that is a dependency of another item is being upgraded and the upgrade will disable the item that depends on it the user would be notified and given the option to not upgrade the item.


== Item Uninstall ==
== Item Uninstall ==
Confirmed users
1,041

edits

Navigation menu