Kunal Mehta
4efd42d00a
Avoid $wgOut and $wgRequest
...
CategoryViewer extends ContextSource.
Change-Id: I90ca064ee2af6a93d5d4f55fe90cf2fa792eab21
2016-11-07 19:27:56 -08:00
Fomafix
35fce8db4b
Replace array( ... ) by [ ... ] in PHP
...
Change-Id: Ib41735975aa242709846a5f3acd04e540dd2cfd4
2016-10-14 18:24:02 +02:00
addshore
7a749a6e9a
Use public instead of var in classes
...
Change-Id: I6c34c0f15c9759e9e2b04fd6da93e5c577a40ce5
2014-08-17 22:03:48 +01:00
Siebrand Mazeland
402344ac4f
Remove @return void documentation.
...
Change-Id: I6b670e3ac288958bc43d628f06849baf31d802af
2012-08-30 13:53:31 +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
Platonides
95600c14bc
Follow up r72388. Add the hint to the subclass, too.
2010-09-09 22:35:32 +00:00
Aryeh Gregor
07ab72b8aa
Fix extensions to work with category sort changes
...
Three different extensions were copy-pasting all of
CategoryPage::closeShowCategory() just to change which CategoryViewer
descendant was used. I changed the base class to use a member variable
for the CategoryViewer class, so this reduces code duplication too. I
only tested this on CategoryTree; MetavidWiki is certainly still broken,
from the looks of it (assumes $this->from is a string), but
PeopleCategories might be okay. Hard to avoid breaking extensions with
this sort of schema/index change.
2010-08-13 22:07:48 +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
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
Siebrand Mazeland
23187e510a
Remove code that has been commented out since r36815.
2009-02-09 19:28:03 +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
Siebrand Mazeland
bce152a958
Whitespace fixes
2008-02-04 09:22:12 +00:00
Aryeh Gregor
255dd4eb74
Extensions too!
2007-06-29 01:36:09 +00:00
Daniel Kinzler
5edb13009e
introducing and options
2007-04-30 21:18:56 +00:00
Brion Vibber
8559b99d17
Security fix: protect against register_globals setting override
2006-09-03 09:15:52 +00:00
Daniel Kinzler
00ad2685fd
added "notree" override parameter for bots
2006-09-02 12:55:29 +00:00
Daniel Kinzler
63c2fa2745
Added experimental "unified" category page mode
2006-09-02 12:14:12 +00:00
Tim Starling
11b5fec908
Fixed cookie preference
2006-09-01 17:33:14 +00:00
Tim Starling
ccb19bd325
Incorporated tree display into the default category page view (file missing from first commit)
2006-08-24 18:11:35 +00:00