R4.3 To Do
http://bugs.wackowiki.org/roadmap_page.php
1. Source Code
To Fix
- get LAST_INSERT_ID function to work
- ongoing: replace comment_on with comment_on_id and acls [tag -> page_id]
- session management for Freecap
Ongoing refactoring of WackoWiki code.
1.1. Most Annoying Bugs
- ENJOY error_reporting (E_ALL); in init class
1.2. Core
- bookmarks as <ul> + CSS -> bugs:215
- made lists lists with ul -> li
- handlers
- referres
-
revisions
- actions
-
recentchanges - user
-
comments -
index - tree
- toc
- ...
-
-
set an css class for all the lists -> default hide the bullets for <ul class="list"> - fix nested list -> <ul><li><ul><li></li><ul></li></ul>
- tree
- toc
- handlers
- localize WikiEdit, localize at least the help link
- WackoFormatter: convertion from & to &
- You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
- place help text beside the acl settings and Registration (WikiName) for instance
- i18n:
- Spam => Error: Identified Potential Spam -> bugs:21
- made X11colors optional via config – it is hardly used (in my opinion it shouldn't be used at all) and load the code part and CSS only if set to active -> bugs:31
- it contradicts for me the concept of a Wiki, wich means using a very small subset for formatting
- if ($method && $method != "show") unset($wacko->config["youarehere_text"]);
- fix broken breadcrumb camelcasing -> title already works
- make numerate_links in print handler optional via sersettings (?)
- add option for SSL-Proxy:
https://ssl.proxydomain.org/domain.org/
- /Didier Spaier / Proposed Specifications For Languages Holding
- add minor_edit case to SQL query for revisions and recent changes: ($minor_edit ? "AND minor_edit = '0' " : " ")
- keywords from pages and keywords ?
- Get Keywords? only from keywords table
if ($this->keywords) return strtolower(implode(', ', $this->keywords)); - page settings?
- Get Keywords? only from keywords table
1.3. Cache
- cache_dir is now defined in two diffrent places
- var $cache_dir = "_cache/"; in cache class
- "cache_dir" => "_cache/", in config.inc.php
- bugs:321 – view cache should also depending on language and theme
1.4. Themes
- replace the last tables in the themes
- some CSS rework, info class
- add new css styles for comments to all themes (see rev642-650)
- adapt themes (structure / CSS) so <div class="info"> fits in the layout -> revision:411 (see default theme for comparison -> e.g. change the meta description of a page;
this is replacing the former popup messages
- we can decide to use this box for all system messages
-
<div id="content"> <?php // here we show messages if ($message = $this->GetMessage()) echo "<div class=\"info\">$message</div>"; ?>
1.5. Actions
- mostpopular – parameter 'page' didn't work but should be an valid alias
- finish changes in mychanges action -> bugs:152
- replace $vars[0] at least with $vars[$varsname] else we got nonsense results for actions like this {{Search style="ul"}}
- implement 'title' in several action as parameter to show instead of tag the title
- backlinks
- pageindex
- recentcomments
- tree
- changes
- orphaned
- mostpopular
- linkstree
- mychanges
- mypages
- allrecentpages
- allpageindex
- search
1.6. Installer
- autodetect the language on the first page
- create a robot.txt with the installer
- this makes only sense if the file is located behid the first slash / in the url else it will be ignored
- distinct between 4.3 -> 4.3.rc2 -> 4.3.rc3 -> 4.3.0
- writes the value "rewrite_mode | multilanguage" => "on", but the value should be [0|1] -> Configuration and if off multilanguage is totally missing in the config
- missing values in config like "multilanguage" => "0|1", or "spam_filter" => 1, after upgrade
- set default db port also for pdo !isset
- set title for inserted pages
1.6.1. Upgrade
- add new case for PDO to update from 4.3.rc1 to rc2
- for Upgrade insert other aliases also in groups table
- $config["aliases"] = array("Admins" => $config["admin_name"]);
- remove obsolete ?wakka / ?page or ?index from base_url for upgrade
- Set page title for new title field for (empty) fields by taking tag without path
1.7. Database
- Normalize database: page_tag -> page_id and user -> user_id – all later changes depends on this like user groups -> bugs:300
- Optimize queries -> add a Get User Id? function, we don't need the user name in every case which reqires a table look up – e.g. action with user / owner parameter, then we just compare WHERE upload.user_id = Get User Id?
- Remove[Acls|watches|...] functions should work with page_id
- add function lastInsertId for
last_insert_id() – Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column. -> bugs:302
- PDO:
PDO->lastInsertId()
- msql / mysqli -> LAST_INSERT_ID()
- PDO:
2. Testing
- create test pages
- create db dumps (for upgrade testing: 4.2 and 4.3rc)
- SQL cache: $this->LoadAll/LoadSingle($sql, $cache); $cache = [0|1] -> bugs:308
- run debug 3 to identify costly queries -> if so test it with the parameter set for cache if you get better results (actions, hacks, handlers, core)
- $cache is already set in some queries
- run debug 3 to identify costly queries -> if so test it with the parameter set for cache if you get better results (actions, hacks, handlers, core)
3. Debugging
3.1. PHP Notices and Warnings
bugs:237 -> replace in class/init.php Line 78: error_reporting (E_ALL ^ E_NOTICE); with error_reporting (E_ALL); ENJOY
to fix: endless Notices
4. Translation
- add after you've ((login logged in)) also to your setup/lang/insert.xy.php -> revision:483
- modify "HomeDefault" => "HomePage", e.g. the German equivalent is "StartSeite" -> revision:485
5. Documentation
- check all links in the installer if the content is up to date
- rewrite /Doc / English / Installation
- Changed Flash action to accept url instead of always using a local file path, this will stop breaks with wikis that already use the old flash action.
- AutoComplete feature — in place completion of wiki-links while pressing Ctrl+Space. MSIE users got pretty inplace menu, Mozilla users got toolbar indicator.
- howto ...
- Implemented Feature #31 – Improved text highlighting color system.
- action mostpopular: add <fieldset><legend> and [nomark="1"] option, now works also for clusters and on subpages
- {{Redirect to="!/NewPage" $permanent="[true]"}}
- {{MyChanges [max="Number"] [bydate="1"]}} -> bugs:152
- add new actions {{comments [page="CommentThisPage"] [text="your text"]}} and {{edit [page="EditThisPage"] [text="your text"]}}
- SQL cache -> info config / howto
- {{pageindex [max="50"] [letter="a"]}}
- max optional – number of pages to show at one time, if there are more pages then this the next/prev buttons are shown
- letter optional – only display pages whose name starts with this letter
-
Most Popular Pages Action All arguments are optional, the "dontrecurse" argument is only used when the "for" argument is used and even then it's still optional {{mostpopular [max="50"] // maximum number of pages to retrieve [for|page="PageName"] // page name to start from in the page hierarchy [nomark="1"] // makes it possible to hide frame around [dontrecurse="true|false"] // if set to true the list will only include pages that are direct children of the "for" page }}
new mode_rewrite off does not require ?page= anymore
config:
"base_url" => "http://localhost/svn_fresh/",
"rewrite_mode" => "0",
pls. test
6. Requests
DrFreeman: Please turn off wiki and tikiwiki links in the configuration by default
7. Organisation
Participating in the community
- mailing list for development
- created:
https://lists.sourceforge.net/lists/listinfo/wackowiki-developer
- add howto for usage for dummies like me
- should the list be open / private – its archived – do we need an additional Archive add google groups like tortoisesvn, ...
- created:
-
Jabber chat room: wackowiki@conference.jaber.org - Forum: set links from Wki to Forum for each section ...
- ...
There are no files on this page.[Display files/form]
There is no comment on this page. [Display comments/form]