Last modified: 2011-09-20 10:37:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32982, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30982 - Subpages activation for some namespaces on WMRU wiki
Subpages activation for some namespaces on WMRU wiki
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ru.wikimedia.org
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-18 23:50 UTC by Paul Kaganer
Modified: 2011-09-20 10:37 UTC (History)
1 user (show)

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


Attachments

Description Paul Kaganer 2011-09-18 23:50:11 UTC
Please activate subpages for some namespaces on WMRU wiki: 

0,1,2,3,4,5, 10,11,12,13

We want it so much!
;)
Comment 1 Sam Reed (reedy) 2011-09-19 08:56:14 UTC
'wgNamespacesWithSubpages' => array(
        'default' => array(
        NS_TALK           => true,
         NS_USER           => true,
         NS_USER_TALK      => true,
         NS_PROJECT_TALK   => true,
         NS_IMAGE_TALK     => true,
         NS_MEDIAWIKI_TALK => true,
         NS_TEMPLATE       => true,
         NS_TEMPLATE_TALK  => true,
         NS_HELP           => true,
         NS_HELP_TALK      => true,
         NS_CATEGORY_TALK  => true,
         100 => true,
         101 => true,
         102 => true,
         103 => true,
        104 => true,
        105 => true,
        106 => true,
        107 => true,
        108 => true,
        109 => true,
        110 => true,
        111 => true,   // extra namespaces usually want subpages
 ),



0 - NS_MAIN
1 - NS_TALK
2 - NS_USER
3 - NS_USER_TALK
4 - NS_PROJECT
5 - NS_PROJECT_TALK

10 - NS_TEMPLATE
11 - NS_TEMPLATE_TALK
12 - NS_HELP
13 - NS_HELP_TALK


http://ru.wikimedia.org/w/api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases

    <namespaces>
      <ns id="-2" case="first-letter" canonical="Media" xml:space="preserve">Медиа</ns>
      <ns id="-1" case="first-letter" canonical="Special" xml:space="preserve">Служебная</ns>
      <ns id="0" case="first-letter" content="" xml:space="preserve" />
      <ns id="1" case="first-letter" subpages="" canonical="Talk" xml:space="preserve">Обсуждение</ns>
      <ns id="2" case="first-letter" subpages="" canonical="User" xml:space="preserve">Участник</ns>
      <ns id="3" case="first-letter" subpages="" canonical="User talk" xml:space="preserve">Обсуждение участника</ns>
      <ns id="4" case="first-letter" subpages="" canonical="Project" xml:space="preserve">Викимедиа</ns>
      <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Обсуждение Викимедиа</ns>
      <ns id="6" case="first-letter" canonical="File" xml:space="preserve">Файл</ns>
      <ns id="7" case="first-letter" subpages="" canonical="File talk" xml:space="preserve">Обсуждение файла</ns>
      <ns id="8" case="first-letter" canonical="MediaWiki" xml:space="preserve">MediaWiki</ns>
      <ns id="9" case="first-letter" subpages="" canonical="MediaWiki talk" xml:space="preserve">Обсуждение MediaWiki</ns>
      <ns id="10" case="first-letter" subpages="" canonical="Template" xml:space="preserve">Шаблон</ns>
      <ns id="11" case="first-letter" subpages="" canonical="Template talk" xml:space="preserve">Обсуждение шаблона</ns>
      <ns id="12" case="first-letter" subpages="" canonical="Help" xml:space="preserve">Справка</ns>
      <ns id="13" case="first-letter" subpages="" canonical="Help talk" xml:space="preserve">Обсуждение справки</ns>
      <ns id="14" case="first-letter" canonical="Category" xml:space="preserve">Категория</ns>
      <ns id="15" case="first-letter" subpages="" canonical="Category talk" xml:space="preserve">Обсуждение категории</ns>
    </namespaces>



As far a I can tell, you're only missing NS_PROJECT (4) that doesn't have subpages enabled
Comment 2 Paul Kaganer 2011-09-19 12:20:48 UTC
Thanks, I'm sorry for the imprecise query.

As far a I can tell, NS_MAIN (0) doesn't have subpages - see http://ru.wikimedia.org/wiki/Test_page/Test_subpage

Please 

(1) add subpage support to NS_MAIN (0)

(2) remove unnecessary subpage support from 
    - NS_FILE_TALK (7)
    - NS_MEDIAWIKI_TALK (9)
    - NS_CATEGORY_TALK (15)
Comment 3 Sam Reed (reedy) 2011-09-20 10:37:00 UTC
Done

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


Navigation
Links