R4.3 To Do

wwwhttp://bugs.wackowiki.org/roadmap_page.php

Contents

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

  1. ENJOY error_reporting (E_ALL); in init class

1.2. Core

  1. bookmarks as <ul> + CSS -> bugs:215
    1. wwwhttp://css.maxdesign.com.au/listamatic/horizontal36.htm
    2. Solution: wwwhttp://lumino.us/weblog/pipe-dream
  2. made lists lists with ul -> li 
    1. handlers
      1. referres
      2. revisions
    2. actions
      1. recentchanges
      2. user
      3. comments
      4. index
      5. tree
      6. toc 
      7. ...
    3. set an css class for all the lists -> default hide the bullets for <ul class="list">
    4. fix nested list -> <ul><li><ul><li></li><ul></li></ul>
      1. tree
      2. toc 
  3. localize WikiEdit, localize at least the help link
  4. WackoFormatter: convertion from & to &amp;
    1. You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
  5. place help text beside the acl settings and Registration (WikiName) for instance
  6. i18n:
    • Spam => Error: Identified Potential Spam -> bugs:21
  7. 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
  8. if ($method && $method != "show") unset($wacko->config["youarehere_text"]);
  9. fix broken breadcrumb camelcasing -> title already works
  10. make numerate_links in print handler optional via sersettings (?)
  11. add option for SSL-Proxy: wwwhttps://ssl.proxydomain.org/domain.org/
  12. /Didier Spaier / Proposed Specifications For Languages Holding
  13. add minor_edit case to SQL query for revisions and recent changes: ($minor_edit ? "AND minor_edit = '0' " : " ")
    1. function Load Revisions?
      1. ..
    2. function Load Recently Changed?
      1. then last revision with minor_edit = 0 must be shown as last change
  14. keywords from pages and keywords ?
    1. Get Keywords? only from keywords table
      if ($this->keywords)
      	return strtolower(implode(', ', $this->keywords));
    2. page settings?

1.3. Cache

  • cache_dir is now defined in two diffrent places
    1. var $cache_dir = "_cache/"; in cache class
    2. "cache_dir" => "_cache/", in config.inc.php
  • bugs:321 – view cache should also depending on language and theme

1.4. Themes

  1. replace the last tables in the themes
  2. some CSS rework, info class
  3. add new css styles for comments to all themes (see rev642-650)
  4. 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; wwwthis is replacing the former popup messages
    1. we can decide to use this box for all system messages
    2. <div id="content">
      <?php
      // here we show messages
      if ($message = $this->GetMessage()) echo "<div class=\"info\">$message</div>";
      ?>

1.5. Actions

  1. mostpopular – parameter 'page' didn't work but should be an valid alias
  2. finish changes in mychanges action -> bugs:152
  3. replace $vars[0] at least with $vars[$varsname] else we got nonsense results for actions like this {{Search style="ul"}}
  4. implement 'title' in several action as parameter to show instead of tag the title
    1. backlinks
    2. pageindex
    3. recentcomments
    4. tree
    5. changes
    6. orphaned
    7. mostpopular
    8. linkstree
    9. mychanges
    10. mypages
    11. allrecentpages
    12. allpageindex
    13. search

1.6. Installer

  1. autodetect the language on the first page
  2. 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
  3. distinct between 4.3 -> 4.3.rc2 -> 4.3.rc3 -> 4.3.0
  4. 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
  5. missing values in config like "multilanguage" => "0|1", or "spam_filter" => 1, after upgrade
  6. set default db port also for pdo !isset
  7. set title for inserted pages

1.6.1. Upgrade

  1. add new case for PDO to update from 4.3.rc1 to rc2
  2. for Upgrade insert other aliases also in groups table
    • $config["aliases"] = array("Admins" => $config["admin_name"]);
  3. remove obsolete ?wakka / ?page or ?index from base_url for upgrade
  4. Set page title for new title field for (empty) fields by taking tag without path

1.7. Database

  1. Normalize database: page_tag -> page_id and user -> user_id – all later changes depends on this like user groups -> bugs:300
    1. 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?
    2. Remove[Acls|watches|...] functions should work with page_id
    3. add function lastInsertId for wwwlast_insert_id() – Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column. -> bugs:302
      1. PDO: wwwPDO->lastInsertId()
      2. msql / mysqli -> LAST_INSERT_ID()

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

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


-> wwwhttp://xdebug.org/


to fix: endless Notices

4. Translation

  1. add after you've ((login logged in)) also to your setup/lang/insert.xy.php -> revision:483
  2. modify "HomeDefault" => "HomePage", e.g. the German equivalent is "StartSeite" -> revision:485

5. Documentation

  1. check all links in the installer if the content is up to date
  2. 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.
  3. AutoComplete feature — in place completion of wiki-links while pressing Ctrl+Space. MSIE users got pretty inplace menu, Mozilla users got toolbar indicator.
    • howto ...
  4. Implemented Feature #31 – Improved text highlighting color system.
  5. action mostpopular: add <fieldset><legend> and [nomark="1"] option, now works also for clusters and on subpages
  6. {{Redirect to="!/NewPage" $permanent="[true]"}}
  7. {{MyChanges [max="Number"] [bydate="1"]}} -> bugs:152
  8. add new actions {{comments [page="CommentThisPage"] [text="your text"]}} and {{edit [page="EditThisPage"] [text="your text"]}}
  9. SQL cache -> info config / howto
  10. {{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
  11. 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


Referring pages: Dev/Release/R43
Dev/Release/R43/ChangeLog
Dev/Release/R43/Languages
Dev/Release/R43/ReleaseNotes
Dev/Roadmap
Dev/TodoList


 
There are no files on this page.[Display files/form]
There is no comment on this page. [Display comments/form]
Time: 0.828 s
Memory: 2.182 Mb