Commit graph

38 commits

Author SHA1 Message Date
Reedy b2a50356fd Change raw sql into query wrapper
Remove some unused variables (set to '' and never set for use in query)

Wrap some long lines

Add a few braces

Add CategoryTreeCategoryViewer to AutoloadClasses

Add @var type docs for member variable

Change-Id: I77c870a9159a4e16a4fe172ac007b28a221cb090
2012-11-22 16:53:49 +00:00
eranroz f5d36e1dbd Namespace selection option in Special:CategoryTree
This patch adds namespace selection interface in Special:CategoryTree.
Without this patch, this useful option is allowed only through URL manipulation.
The options are now wrapped within table.

Change-Id: Ib7152320c18edc8a428846945aa0949b43df39f2
2012-11-02 00:28:43 +02:00
Siebrand Mazeland 92f3e2f909 Maintenance for CategoryTree extension
* Drop MSIE 5.0 and 5.5 hack in CSS.
* Replace use of deprecated wfMsg* functions.
* Update documentation for two methods.
* Update code formatting (long lines, {}).

Change-Id: I9601e9263b9a188d4a843c3be8ee6808d2e7a117
2012-08-29 00:35:39 +02:00
Sam Reed 079968308b Documentation, stylize, remove some global dependencies 2012-02-09 01:23:31 +00:00
Sam Reed 77c0d329a3 Fix Xml::Html from r75646/Bug 26114 - When clicking Category Tree at Special Pages an error occurs 2010-11-26 19:09:35 +00:00
Sam Reed c65836766a More deprecated method call removals and updates 2010-10-29 15:32:44 +00:00
Sam Reed 95209ca5d7 Start removing/fixing calls to deprecated methods in WMF used extensions 2010-10-29 15:14:44 +00:00
Chad Horohoe 7b3001d705 More php4 constructors. Missed these somehow 2010-08-30 17:18:13 +00:00
Sam Reed 7beb050639 More wrong static method calls fixed 2010-07-26 13:30:31 +00:00
Sam Reed 78d6b8163d Remove some more unused globals
Kill a couple of other unused variables
2010-07-25 17:12:50 +00:00
Siebrand Mazeland ebff4d349b Replace Title::makeTitle[Safe]( NS_SPECIAL, 'x' ) with SpecialPage::getTitleFor ( 'x' )
And a few other minor changes.
2010-06-08 19:30:48 +00:00
Alexandre Emsenhuber 261d68c15a Big changes to extensions' documentation:
* changed all @addtogroup to @ingroup
* added some @file where needed
* changed some @package/@subpackage to @ingroup
2010-06-06 15:12:22 +00:00
Chad Horohoe 896cd1397f Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh. 2010-05-27 15:56:53 +00:00
Chad Horohoe 146353cc73 Large commit. Removed 800+ references to no-op wfLoadExtensionMessages() 2010-05-26 22:25:32 +00:00
Siebrand Mazeland bc388d6493 * stylize.php, trailing whitespace removed, indentation updated
* removed CategoryTree::init(). Loading messages explicitly is no longer needed
* removed commented out code bits.
2010-04-20 22:00:34 +00:00
Sam Reed 5d1c27e51a Mass convert NULL -> null. Left strings and comments alone, obviously.
As per ^demon's suggestion
2010-01-06 21:24:10 +00:00
Raimond Spekking 9a55931d12 Replaced some hardcoded colons with the colon-separator message 2009-01-07 22:49:54 +00:00
Siebrand Mazeland 7da35fe357 Consistent casing for addHTML() 2008-11-06 22:20:29 +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 2696d25af4 use wgMsgXXX consistently. Add support for {{PLURAL}} where appropriate (bug 14690). 2008-07-01 13:36:50 +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
Raimond Spekking 56bd285d84 * Add a nice fieldset around the input form
* Use proper XML function
2008-03-18 17:38:32 +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
Brion Vibber b6181e71b5 bug 7653 -- only do transformations on header message in rendering, not at message load, so it don't break templates :D 2007-08-25 13:23:26 +00:00
Brion Vibber 051fccd98d Bug 10006 -- arrange form to pass special page title in the form so it doesn't break on ugly-URLs installations 2007-08-25 13:05:08 +00:00
Aryeh Gregor 255dd4eb74 Extensions too! 2007-06-29 01:36:09 +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
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 5f862d4e19 added sanity checks, especially for empty category names 2006-08-11 23:36:53 +00:00
Daniel Kinzler f4cb1a26fe Made Special:CategoryTRee show up on Special:Specialpages 2006-07-29 17:37:08 +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 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