Module:Static/doc: Difference between revisions
| Line 21: | Line 21: | ||
== Dev spec == | == Dev spec == | ||
Because data stored through this module can be invoked by any modules used in the same page. To avoid being interfered with by other modules, a module '''MUST''' store data in their own namespace, and '''NEVER''' modify data in other namespace. | Because data stored through this module can be invoked by any modules used in the same page. To avoid being interfered with by other modules, a module '''MUST''' store data in their own namespace (a sub-table, see below), and '''NEVER''' modify data in other namespace. | ||
For example, in "Module:Example": | For example, in "Module:Example": | ||