Commit graph

59 commits

Author SHA1 Message Date
Alexandre Emsenhuber 6a91ac58e5 PHP 5.3.0alpha1 compatibility (same issue as r38995: E_WARNING: argument 2 cannot be passed by reference, value given) 2008-08-09 14:33:16 +00:00
Daniel Kinzler 63e2567287 adding option for expandable category-bar. not fully functional until skin refactoring is merged in. Just dont use $wgCategoryTreeHijackPageCategories until then. 2008-07-11 23:18:41 +00:00
Daniel Kinzler 20c74ecc5e support special page aliases 2008-07-04 22:58:28 +00:00
Rotem Liss 200485740b Removing 'font-weight: bold' for the subcategories: Seems weird in category pages, as any subcategory is bold, and doesn't help much when only subcategories are shown. Even when both subcategories and articles are shown in Special:CategoryTree, the subcategories are already distinct because of the + sign. 2008-07-04 14:21:12 +00:00
Daniel Kinzler 76e22d15df added EXPERIMENTAL option to hijack category links and make them expandable (inverse) category trees. 2008-07-02 21:16:55 +00:00
Daniel Kinzler bbdba735c6 optionally show category tree in the sidebar (requires skin update from r36917) 2008-07-02 15:13:45 +00:00
Daniel Kinzler 40f8a88138 added noparse flag to parserfunction output, as requested by bug 13028 2008-07-02 09:58:18 +00:00
Daniel Kinzler e366e21edd added inverse mode to navigate parent categories 2008-07-02 09:49:28 +00:00
Daniel Kinzler bd7a5de2bf added to force inclusion of ct scripts on all pages 2008-07-02 08:49:13 +00:00
Daniel Kinzler f1ae48340e introduced configurable namespace filtering (and fixed some glitches) 2008-07-01 21:40:42 +00:00
Daniel Kinzler 30739f8a50 support common tag attributes 2008-06-30 21:35:01 +00:00
Daniel Kinzler d7958d00cf smarter modes for hideprefix option. namespace is now hidden for subcategories per default 2008-06-30 21:22:03 +00:00
Daniel Kinzler 595c3cfaef Show member counts in category tree. Requires r36814 of Category.php and CategoryPage.php. 2008-06-30 14:09:47 +00:00
Daniel Kinzler dbfd3e4833 Restructuring and revamping; more messages, more options, better config, more flexible ajax interface. Should be fully backwards compatible. It will hopefully even work for people with old JS code cached. 2008-06-28 20:13:20 +00:00
Danny B. eb65656ba2 * correcting my last commit (copypasting is evil :-/) 2008-06-25 14:48:56 +00:00
Danny B. dba4199551 * adding to proper group on Special:SpecialPages 2008-06-25 14:45:50 +00:00
Tim Starling 5c2a6236a4 Don't call preg_replace ~80 times per request. Leave the heavy lifting to Special:Version, using the new svn-revision member of $wgExtensionCredits. 2008-05-06 11:59:58 +00:00
Raimond Spekking 56bd285d84 * Add a nice fieldset around the input form
* Use proper XML function
2008-03-18 17:38:32 +00:00
Niklas Laxström de7401f502 * Some performance and validity tweaks 2008-03-02 13:37:26 +00:00
Daniel Kinzler f0e96d91c3 versioning (test for svn:keywords) 2008-02-27 10:37:52 +00:00
Siebrand Mazeland 18ba9f7daa * CategoryTree uses wfLoadExtensionMessages now
* add descriptionmsg and version in extension credits where missing
* update Translate
2008-02-04 10:25:48 +00:00
Siebrand Mazeland bce152a958 Whitespace fixes 2008-02-04 09:22:12 +00:00
Bertrand Grondin 6bddbad132 Add internationalization extension description message in [[Special:Version]] 2008-02-03 17:57:14 +00:00
Tim Starling d9c4d11b84 Use isHTML, noargs/noparse don't exist in the new parser. Can't reproduce the whitespace problem mentioned in the comment, and there are other ways to deal with them anyway. 2008-01-25 10:44:05 +00:00
Siebrand Mazeland d7c3a1eb4e revert r28306, r28308, r28309, r28312 2007-12-16 18:45:23 +00:00
Siebrand Mazeland bcc9ee49dc * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-09 12:56:07 +00:00
Brion Vibber 5ec542b685 Revert r27175: always initialise globals; prevent register_globals exploits. 2007-11-14 17:23:26 +00:00
Jens Frank 047f6c892f Don't initialise wgCategoryTreeDefaultMode and wgCategoryTreeCategoryPageMode if they are already set.
Needed for http://bugzilla.wikimedia.org/show_bug.cgi?id=11776
2007-11-04 17:51:28 +00:00
Daniel Kinzler 5f5e788fe6 support parser-function syntax 2007-09-13 10:23:45 +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
Aryeh Gregor 255dd4eb74 Extensions too! 2007-06-29 01:36:09 +00:00
Nick Jenkins 9a927e234e Minor tweak to prevent E_STRICT mode warning -
Undefined index:  depth in extensions/CategoryTree/CategoryTree.php on line 194
(only happens because this error reporting mode disregards the @ error control operator)
2007-05-02 01:56:43 +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
Raimond Spekking dea077a525 * (bug 8918) Enable PLURAL option for MediaWiki:showingresults and
MediaWiki:showingresultsnum
* RELEASE-NOTES forgotten in r20075
* Update URL for CategoryTree
2007-02-27 22:39:04 +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
Antoine Musso 9030be01c7 Add descriptions for some extensions used on wikipedia 2007-01-07 13:57:35 +00:00
Nick Jenkins 75b86d229b E_STRICT tweaks for three extensions:
* Strict Standards: Undefined index:  blank in extensions/Cite/Cite.php on line 280
* Strict Standards: Assigning the return value of new by reference is deprecated in extensions/Makesysop/SpecialMakesysop_body.php on line 364
* Strict Standards: Undefined index:  style in extensions/CategoryTree/CategoryTree.php on line 123
* Strict Standards: Undefined index:  mode in extensions/CategoryTree/CategoryTree.php on line 125
* Strict Standards: Undefined index:  hideroot in extensions/CategoryTree/CategoryTree.php on line 137
2006-11-29 13:06:21 +00:00
Daniel Kinzler 3770663bac added option (Bug 8011) 2006-11-22 21:48:54 +00:00
Daniel Kinzler 1df9698baa $wgCategoryTreeUnifiedView = true per default; use "#" for dummy url; updated documentation 2006-09-03 11:26:57 +00:00
Brion Vibber 8559b99d17 Security fix: protect against register_globals setting override 2006-09-03 09:15:52 +00:00
Brion Vibber 92d1a81488 Security fixes:
* Protect against register_globals attacks on configuration settings
* Protect against XSS attacks using Internet Explorer Javascript-in-CSS hacks
2006-09-02 21:54:21 +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 65ba7cc5e2 Don't terminate the hook chain 2006-08-28 17:13:16 +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