«Данные» — плагин для «ДокуВики» | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- 24% translated in draft.
If you do not want to register an account, you can sign in with OpenID.
Structured Data — a DokuWiki plugin | ||
====== Structured Data Plugin ====== | ||
---- plugin ---- | ||
description: Add and query structured data in your wiki | description : Даёт возможность использовать базу данных в вики | |
author : Andreas Gohr | ||
email : andi@splitbrain.org | ||
type : syntax, action, helper | ||
lastupdate : 2010-04-25 | ||
compatible : 2009-12-25+ | ||
depends : sqlite | ||
conflicts : | ||
similar : fields, pagemod | ||
tags : database, sqlite, data, tags, tables, listing | tags : database, sqlite, data, tags, tables, listing | |
downloadurl: http://github.com/splitbrain/dokuwiki-plugin-data/zipball/master | downloadurl : http://github.com/splitbrain/dokuwiki-plugin-data/zipball/master | |
sourcerepo : http://github.com/splitbrain/dokuwiki-plugin-data/ | sourcerepo : http://github.com/splitbrain/dokuwiki-plugin-data/ | |
bugtracker : http://github.com/splitbrain/dokuwiki-plugin-data/issues | bugtracker : http://github.com/splitbrain/dokuwiki-plugin-data/issues | |
donationurl: http://donate.dokuwiki.org/data | ||
---- | ||
This plugin allows you to add structured data to any DokuWiki page. Think about this data as additional named attributes. Those attributes can then be queried and aggregated. The plugin is similar to what was done here for the [[plugin:repository|repository plugin]] but its internals are very different to the [[plugin:repository|repository plugin]]. | ||
**This plugin requires the SQLite extension for PHP!** (Should be included with PHP5). | **Для работы плагина нужно расширение SQLite для PHP!** (Должен быть включён в PHP5) | |
===== Download and Installation ===== | ||
This plugin can be downloaded manually or through the [[plugin|Plugin Manager]] from the download link given above. | Плагин можно скачать вручную или через «[[ru:plugin:plugin|менеджер плагинов]]» по ссылке, приводимой выше. | |
==== Changes ==== | ||
{{rss>http://github.com/feeds/splitbrain/commits/dokuwiki-plugin-data/master date}} | {{rss>http://github.com/feeds/splitbrain/commits/dokuwiki-plugin-data/master date}} | |
==== Updating from versions prior to 2010-03-22 ==== | ||
Since 2010-03-22, the data plugin uses the [[plugin:sqlite|sqlite helper plugin]]. Therefor, the database file location and structure changed. If you want to keep your old database, you have to perform the following steps prior to upgrading the data plugin: | ||
- Install the [[sqlite]] plugin | ||
- Move the file ''data/cache/dataplugin.sqlite'' to ''data/meta/data.sqlite'' | - переместите файл ''data/cache/dataplugin.sqlite'' в ''data/meta/data.sqlite''; | |
- Perform the following SQL statements on the database (for example using the sqlite plugin’s admin page)<code sql> | ||
CREATE TABLE opts (opt,val); | ||
CREATE UNIQUE INDEX idx_opt ON opts(opt); | ||
INSERT INTO opts VALUES ('dbversion', 1);</code> |
© Андреас Гор и сообщество «ДокуВики». License: CC Attribution-Noncommercial-Share Alike 3.0 Unported
