Umherirrender
8e4bff8976
Add phpcs and make pass
...
Change-Id: I52845fc95b53eca5149a947dfc6a1b39100da97b
2017-05-30 20:23:16 +02:00
Fomafix
8989d4428b
Fix whitespaces
...
Change-Id: I592138cb4643ef5031cbe341bbbe5d9e78562d4c
2017-04-18 01:42:24 +00:00
Fomafix
35fce8db4b
Replace array( ... ) by [ ... ] in PHP
...
Change-Id: Ib41735975aa242709846a5f3acd04e540dd2cfd4
2016-10-14 18:24:02 +02:00
jenkins-bot
c2739d7736
Merge "Use $this->msg() instead of wfMessage() for proper context :)"
2016-10-14 15:46:27 +00:00
Chad Horohoe
e83b551377
Use $this->msg() instead of wfMessage() for proper context :)
...
Change-Id: Ifac0fa4739db8fc60043f98de3abb8d3227bbc7b
2016-10-13 15:05:27 -07:00
Chad Horohoe
a1736a4f07
Remove inclusion guards on class-only files
...
Change-Id: I432d22fae9e40a21e2118b6e04843047e3fbf654
2016-10-13 15:04:03 -07:00
Sethakill
34f629cf5e
Fixing Special:CategoryTree by skipping data from request for 'mode' field.
...
Change-Id: Idd4bd03215a52c815d35093a7abce9be64d616a7
Follow-Up: Ib26b471a31b3f957195e02f44230fbc3dd0e3cec
2016-06-24 18:18:39 +02:00
Sethakill
10310de3bd
Convert Special:CategoryTree to use OOUI.
...
Bug: T135645
Change-Id: Ib26b471a31b3f957195e02f44230fbc3dd0e3cec
2016-06-23 15:15:39 +02:00
Sébastien Santoro
070e6af90c
CategoryTreeMode and CategoryTreeHidePrefix constants classes
...
The extension CT_* defines are replaced by class constants.
We currently keep the former defines in CategoryTree.php,
to help to set the default configuration. When the code
will be migrated to use the extension registration, we'll
remove the defines.
Bug: T87888
Change-Id: I59e6b9319fd5130c51a23f21ea81d4dbf3f28b8e
2016-04-02 01:50:18 +00:00
Umherirrender
bb2dce0c24
Allow auto suggestion for subpages of Special:CategoryTree
...
The autocomplete search allows special pages to define the list of
subpages to be excepted. Fill up the function to show auto suggestion
for subpages of Special:CategoryTree
Change-Id: I304ddaa01a874015936fbdc598bceb44928c72d5
2015-12-29 11:30:19 +01:00
umherirrender
ffa6e0cc53
Replace deprecated $wgSpecialPageGroups
...
$wgSpecialPageGroups is deprecated since 1.21
override SpecialPage::getGroupName instead
Change-Id: Id783a062acb023b80704c2e24aaf8736f7cd75e7
2015-05-16 13:20:47 +02:00
addshore
7a749a6e9a
Use public instead of var in classes
...
Change-Id: I6c34c0f15c9759e9e2b04fd6da93e5c577a40ce5
2014-08-17 22:03:48 +01:00
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