Difference between revisions of "Metadata:Main Page"
From Neocron Wiki
(Created page with " To add soon. :)") |
(Intro) |
||
Line 1: | Line 1: | ||
+ | == About == | ||
− | To | + | When the Mapping plugin was originally developed, it read the settings from pages within the MediaWiki namespace. However to allow the viewing of the page to work properly, you had to use the .js extension, which isn't ideal. This could easily lead to confusion and the MediaWiki namespace was never really designed for this purpose. |
+ | |||
+ | A new namespace on the THN wiki called MetaData was created and the THN NC Wiki Extensions plugin was re-written to support multiple data types. The type is defined by the extension. Any plugins can access the data from the page via the '''\THN\Wiki\MetaData\Settings''' class. | ||
+ | |||
+ | To keep page and server load times down, all settings are cached in memory by the [[http://en.wikipedia.org/wiki/List_of_PHP_accelerators#Alternative_PHP_Cache_.28APC.29 APC] Cache that this wiki has been using for some time now. | ||
+ | |||
+ | == Security == | ||
+ | |||
+ | At this time files in this namespace are only editable and viewable by Bureaucrats. However there are other ways to view the data in this area. Either by the Wiki API or by simply typing ?action=raw at the end of the URL. This is intended by design to stop causal users from browsing the data and settings. | ||
+ | |||
+ | So if you put any data in this section please note:- | ||
+ | |||
+ | * Data is viewable by using the ?action=raw or the Wiki api | ||
+ | * DO NOT put sensitive information in this namespace such as usernames and password or other sensitive setting. | ||
+ | |||
+ | == Supported types == | ||
+ | |||
+ | These are the current supported types. If a file extension is not recognised, it will default back to wiki text. | ||
+ | |||
+ | === .cfg files === | ||
+ | |||
+ | === .prop files === | ||
+ | |||
+ | === .yaml files === | ||
+ | |||
+ | === .js files === | ||
+ | |||
+ | === .css files === | ||
+ | |||
+ | === .url files === |