Ticket #161 (closed task: fixed)
Moving classes into separate files
| Reported by: | NilsLindenberg | Owned by: | NilsLindenberg |
|---|---|---|---|
| Priority: | low | Milestone: | 1.1.6.2 |
| Component: | core | Version: | 1.1.6.1 |
| Severity: | normal | Keywords: | class, classes, libs, lib, file structute, code structure |
| Cc: |
Description (last modified by DarTar) (diff)
As of version 1.1.6.1 there are two files which have classes integrated into them:
wikka.php has the class wakka
handlers/page/diff.php has some classes used for the page diff
Since it makes the files difficult to read and the code of the classes difficult to re-use (or to use in external projects), they should be moved into separate files in a special directory.
In a discussion with Dario, we came up with the libs directory (more or less standard for wiki-engines) and wakka.inc.php and diff.inc.php as names (note that http://wikkawiki.org/WikkaCodeStructure will be changed to reflect this)