Extension Blocklisting:Code Design: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 8: Line 8:


== Blocklist syntax ==
== Blocklist syntax ==
* The blocklist file has a flexible xml syntax that will use default values for values that are not specified. All Extension Manager items must be children of <tt>emItems</tt> in order to ease the use of this file for additional blocklist items such as plugins that are not managed by the Extension Manager.
* The blocklist file has a flexible xml syntax that will use default values for values that are not specified. All Extension Manager items must be children of <tt>emItems</tt> in order to ease the use of this file for additional blocklist items such as plugins that are not managed by the Extension Manager.


Line 51: Line 50:
     <emItem id="item_5@domain"/>
     <emItem id="item_5@domain"/>
   </emItems>
   </emItems>
  <pluginItems>
    <pluginItem>
      <!-- All match tags must match a plugin to blocklist a plugin -->
      <match name="name" exp="some plugin"/>
      <match name="description" exp="1[.]2[.]3"/>
    </pluginItem> 
  </pluginItems>
</blocklist></pre>
</blocklist></pre>
Examples Explained:
Examples Explained:
3,035

edits

Navigation menu