Commit graph

35 commits

Author SHA1 Message Date
Brion Vibber 6d8cbbd891 * (bug 11383) Don't pull subcategories for non-category pages in category tree 2007-09-18 15:52:30 +00:00
Daniel Kinzler dd5b464ccd avoid filesort. downside: subcategories are more likely to be lost if categories and pages are listed together, and the limit is hit; that is, the limit is not applied to the list as displayed. This is counter-intuitive (kind of like the paging of subcategories on category pages) 2007-09-01 11:26:00 +00:00
Brion Vibber d0b1db56b4 * (bug 11015) Handle HTTP errors for CategoryTree ajax request more gracefully. Instead of dumping the entire error page's HTML inline, display a nice clean bit of text with a functional retry link.
* Added $wgCategoryTreeVersion variable to bump JS and CSS URLs on update
2007-08-25 15:23:20 +00:00
Brion Vibber eafc0d758a Fix for bug 10883: correctly handle categories that look like interwikis if you ignore the namespace part 2007-08-25 12:40:40 +00:00
Aryeh Gregor 255dd4eb74 Extensions too! 2007-06-29 01:36:09 +00:00
Daniel Kinzler 26097022fb fixed off-by-one error in CategoryTreeFunctions (oops) 2007-05-01 12:14:45 +00:00
Daniel Kinzler 5edb13009e introducing and options 2007-04-30 21:18:56 +00:00
Daniel Kinzler b6b7bae7a6 Bug 9509, patch by IvanLanin: added to support installation in a non-standard place 2007-04-06 10:30:43 +00:00
Daniel Kinzler 14620fc4af added several comments for incomplete support for depth parameter in ajax mode (follow-up for changes to CategoryTree.php that accidentally slipped into the previous commit) 2007-03-30 13:43:37 +00:00
Daniel Kinzler ad82c9e7d7 removing empty spans for w3c conformity, as suggested by Miki11 2007-03-30 13:28:59 +00:00
Steve Sanbeg 93882a1cc4 Add depth argument to allow auto-expanding tree (to small, configurable limit) 2007-03-13 22:24:38 +00:00
Daniel Kinzler 06647afe4a introducing onlyroot option (and removing obsolete email address) 2007-03-13 11:39:12 +00:00
Antoine Musso 9dbda5f800 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage
This is like r19502 but for extensions.
2007-01-20 15:10:35 +00:00
Daniel Kinzler 3770663bac added option (Bug 8011) 2006-11-22 21:48:54 +00:00
Greg Sabino Mullane afc4b79463 Change to more standard CASE WHEN THEN form. 2006-10-31 13:19:20 +00:00
Nick Jenkins 63dee2cfb5 Adding some var prefixes to variable declarations, as per http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Statements:var 2006-10-10 06:27:07 +00:00
Daniel Kinzler 07ad6232ea Hack to keep dummy link from jumping to the top of the page. There gotta be a better way to make a link that does nothing... 2006-09-04 12:17:40 +00:00
Daniel Kinzler a1a524f304 Use "expand" instead of "load" label, even if the node is not yet loaded. Users don't care about the difference, it just causes confusion. 2006-09-04 11:39:45 +00:00
Daniel Kinzler da918ba108 use separate "nothing found" messages for each mode (categories, pages, all) 2006-09-03 23:20:08 +00:00
Daniel Kinzler 42abde6986 Fixed bug causing message file to be included many many times 2006-09-03 23:17:36 +00:00
Daniel Kinzler ff7a3daa0a Workaround for 7219: Safari doesn't like empty HTTP responses. 2006-09-03 21:44:47 +00:00
Daniel Kinzler 1df9698baa $wgCategoryTreeUnifiedView = true per default; use "#" for dummy url; updated documentation 2006-09-03 11:26:57 +00:00
Rotem Liss a043a75238 Fixing the category tree margin in RTL. 2006-09-02 11:11:20 +00:00
Daniel Kinzler 4692a2b204 Avoid fatal error on invalid title 2006-09-01 13:12:57 +00:00
Daniel Kinzler 3d9d5d62bc Fixed sort order (use cl_sortky), better wgUseAjax check, updated documentation 2006-09-01 12:53:07 +00:00
Daniel Kinzler 5f72216a9e updated CategoryTree extension to work with new ajax interface 2006-08-29 15:49:23 +00:00
Tim Starling 026cc40790 * Incorporated tree display into the default category page view
* Implemented memcached caching for ajax requests with invalidation via page_touched
* General refactoring, moved some global functions into a class
* Lazy initialisation of messages, initialise the <head> section in the output only when a categorytree tag is present.
* Eliminated all $wgUser and $wgLang accesses from ajax requests, using message placeholders.
* Added speak:none style in .CategoryTreeBullet in case voice browsers try to read out the punctuation
2006-08-24 17:12:13 +00:00
Daniel Kinzler d2b21e46fa CategoryTree: removed references to wgOut and wgParser; added http cache option 2006-08-23 19:23:17 +00:00
Daniel Kinzler 5f862d4e19 added sanity checks, especially for empty category names 2006-08-11 23:36:53 +00:00
Daniel Kinzler 8855dc9a18 Fixes for CategoryTreeExtension: Implemented dynamic load with hide-root,
postpone on-demand JS/CSS until ParserOutput supports it. Fixed some glitches.
2006-07-29 09:18:34 +00:00
Daniel Kinzler 0726e27270 added $wgCategoryTreeDynamicTag option
added README
2006-07-28 16:07:55 +00:00
Daniel Kinzler 8a665bde57 Made DOM navigation in CategoryTree.js resilient to text nodes injected by tidy et.al. 2006-07-27 07:32:05 +00:00
Daniel Kinzler eb499be300 removed blank lines from end of files in CategoryTree extension 2006-07-27 00:56:16 +00:00
Daniel Kinzler 65c9ffb775 fixing table prefixes, include path 2006-07-26 23:11:23 +00:00
Daniel Kinzler 5a5f823367 Adding Ajax based CategoryTree extension.
Pending: internationalization

(weeee... first commit to the MW repository... thanks Tim!)
2006-07-26 17:12:30 +00:00