Last modified: 2010-06-19 21:38:40 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 T26042, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24042 - Namespace Aliases for English Wikibooks
Namespace Aliases for English Wikibooks
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Rob Halsell
http://en.wikibooks.org/w/index.php?t...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-19 13:04 UTC by aaron.adrignola
Modified: 2010-06-19 21:38 UTC (History)
2 users (show)

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


Attachments

Description aaron.adrignola 2010-06-19 13:04:31 UTC
Please add

$wgNamespaceAliases = array('WB' => 4, 'WJ' => 110, 'CAT' => 14, 'COOK' => 102, 'SUB' => 112); 

to the configuration for English Wikibooks to create namespace aliases such that WB -> Wikibooks, WJ -> Wikijunior, CAT -> Category, COOK -> Cookbook, and SUB -> Subject.
Comment 1 JeLuF 2010-06-19 20:42:49 UTC
Done.
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 892)
+++ InitialiseSettings.php	(working copy)
@@ -1849,6 +1849,13 @@
     	'WP' => NS_PROJECT,
     	'WT' => NS_PROJECT_TALK,
     ),
+    'enwikibooks' => array(
+	'WB' => 4,
+	'WJ' => 110,
+	'CAT' => 14,
+	'COOK' => 102,
+	'SUB' => 112,
+    ), 
     'enwikinews' => array(
 	    'WN' => NS_PROJECT,
         'CAT' => NS_CATEGORY,
Comment 2 JeLuF 2010-06-19 20:44:23 UTC
Please have a look at the following pages, they had to be renamed:

... 42622 (0,"WB:")
...  *** cannot resolve automatically; illegal title ***
...  *** old title
...  *** new title --DUP
...  *** using suffixed form [[Wikibooks:--DUP]] ***
... resolving on page...
ok.
... 149702 (0,"WB:AWB") -> (4,"AWB") [[Wikibooks:AWB]]
...  *** cannot resolve automatically; page exists with ID 103039 ***
...  *** old title AWB
...  *** new title AWB--DUP
...  *** using suffixed form [[Wikibooks:AWB--DUP]] ***
... resolving on page...
ok.
... 48510 (0,"WB:FAQ") -> (4,"FAQ") [[Wikibooks:FAQ]]
...  *** cannot resolve automatically; page exists with ID 78526 ***
...  *** old title FAQ
...  *** new title FAQ--DUP
...  *** using suffixed form [[Wikibooks:FAQ--DUP]] ***
... resolving on page...
ok.
... 43070 (0,"WB:IRC") -> (4,"IRC") [[Wikibooks:IRC]]
...  *** cannot resolve automatically; page exists with ID 177223 ***
...  *** old title IRC
...  *** new title IRC--DUP
...  *** using suffixed form [[Wikibooks:IRC--DUP]] ***
... resolving on page...
ok.
... 127020 (0,"WB:PDF") -> (4,"PDF") [[Wikibooks:PDF]]
...  *** cannot resolve automatically; page exists with ID 78229 ***
...  *** old title PDF
...  *** new title PDF--DUP
...  *** using suffixed form [[Wikibooks:PDF--DUP]] ***
... resolving on page...
ok.
... 210156 (0,"WB:Sandbox") -> (4,"Sandbox") [[Wikibooks:Sandbox]]
...  *** cannot resolve automatically; page exists with ID 220790 ***
...  *** old title Sandbox
...  *** new title Sandbox--DUP
...  *** using suffixed form [[Wikibooks:Sandbox--DUP]] ***
... resolving on page...
ok.
Comment 3 aaron.adrignola 2010-06-19 21:38:40 UTC
(In reply to comment #2)

Taken care of.  Thank you for the fast response, on the weekend even!

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


Navigation
Links