Last modified: 2011-01-22 12:09:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11776 - Showing also articles in the CategoryTree of categories in he-wiki
Showing also articles in the CategoryTree of categories in he-wiki
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-27 10:29 UTC by yonidebest
Modified: 2011-01-22 12:09 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description yonidebest 2007-10-27 10:29:56 UTC
Hi, I would like to enable the viewing of pages, as well as subcategories, in the CategoryTree of categories in the Hebrew Wikipedia.

I was told the config is as follows:
$wgCategoryTreeCategoryPageMode = CT_MODE_PAGES;

The discussion was held here: http://he.wikipedia.org/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94:%D7%9E%D7%96%D7%A0%D7%95%D7%9F#.D7.94.D7.A6.D7.92.D7.AA_.D7.A2.D7.A8.D7.9B.D7.99.D7.9D_.D7.A9.D7.9C_.D7.A7.D7.98.D7.92.D7.95.D7.A8.D7.99.D7.95.D7.AA_.D7.9E.D7.A9.D7.A0.D7.94_.D7.91.D7.93.D7.A4.D7.99_.D7.A7.D7.98.D7.92.D7.95.D7.A8.D7.99.D7.95.D7.AA

Thanks,
Yonidebest
Comment 2 JeLuF 2007-11-05 20:54:21 UTC
Done.
Comment 3 Brion Vibber 2007-11-14 17:25:26 UTC
r27175 was marked as fixing this, but I've reverted it (r27490) as it's clearly incorrect (fails to initialise globals if they've been previously set, exposing them to being set via register_globals if enabled).

This implies that there's an error in the configuration; that is the setting is being set before the extension is loaded.
Comment 4 Daniel Kinzler 2008-07-02 09:11:43 UTC
The problem keeping this bug open seems to be one of getting the config scripts sorted out. However, I would like to point out that the "right" way to set this option has changed as of r36772. Please use the following now:

$wgCategoryTreeCategoryPageOptions['mode'] = CT_MODE_PAGES;
Comment 5 Daniel Kinzler 2008-07-02 10:04:59 UTC
moving to wikimedia/site-requests, since it's a config issue, not a CT bug
Comment 6 Sam Reed (reedy) 2010-12-01 18:25:18 UTC
Ping
Comment 7 Antoine "hashar" Musso (WMF) 2011-01-22 12:09:50 UTC
Should be good now:

 // CT_MODE_CATEGORIES	0
 // CT_MODE_PAGES		10
 // CT_MODE_ALL			20
+# OBSOLETE !!
 'wgCategoryTreeCategoryPageMode' => array(
 	'default' => 0,
 	'hewiki' => 10,
 ),
+
+'wgCategoryTreeCategoryPageOptions' => array(
+    'hewiki' => array( 'mode' => CT_MODE_PAGES ), # bug 11776
+),
+
+# @} end of CATEGORY TREE EXTENSION
+

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links