Forum:Should UN be made into an alias to Uncyclopedia?
Jump to navigation
Jump to search
Forums: Index > Village Dump > Should UN be made into an alias to Uncyclopedia?
Note: This topic has been unedited for 858 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.
Right now, many shortcuts start with UN:
, such as UN:VFD and UN:VFH. Should UN be made an alias of Uncyclopedia (much like WP is an alias to Wikipedia on Wikipedia) so that all redirects in the Uncyclopedia namespace are accessible using the UN: prefix? 03:15, 19 May 2022 (UTC)
- Probably should. Unfortunately I don't know how hard/easy that would be to implement. I've kinda always wanted this. MrX 04:45, 19 May 2022 (UTC)
- I think it should be done. It seems easy enough, about something I could do... ARandomPage, the named space (ARandomTalkPage) (Stuff they do) 05:39, 19 May 2022 (UTC)
- Actually, making namespace aliases requires editing the LocalSettings.php file. The manual says so. So if we decide to do this, someone will have to edit LocalSettings.php on the server. 02:26, 22 May 2022 (UTC)
- Oh. I thought it was just a matter of creating new redirects and pasting in the shortcut template, which I can easily do. ARandomPage, the named space (ARandomTalkPage) (Stuff they do) 11:16, 22 May 2022 (UTC)
- Actually, making namespace aliases requires editing the LocalSettings.php file. The manual says so. So if we decide to do this, someone will have to edit LocalSettings.php on the server. 02:26, 22 May 2022 (UTC)
- I support this idea. I'll try passing it along to the people who can actually implement it. -- The Zombiebaron 11:03, 8 June 2022 (UTC)
- This is (somewhat) done now. I set
$wgNamespaceAliases['UN'] = NS_PROJECT;
in the config file and ran thenamespaceDupes.php
maintenance script (which errored out the first time...) to make the pages previously prefixed withUN:
accessible again. - Some pages the script couldn't automatically fix (at least without specifying an option like
--add-suffix
or--add-prefix
to add a suffix or a prefix to pages which now have conflicting names. These pages are:
- This is (somewhat) done now. I set
id=714695 ns=0 dbk=UN:. *** invalid title id=703282 ns=0 dbk=UN::M *** invalid title id=220477 ns=0 dbk=UN:AAN *** dest title exists and --add-prefix not specified id=312025 ns=0 dbk=UN:AFD *** dest title exists and --add-prefix not specified id=751718 ns=0 dbk=UN:BRO *** dest title exists and --add-prefix not specified id=742275 ns=0 dbk=UN:CSD *** dest title exists and --add-prefix not specified id=755713 ns=0 dbk=UN:D *** dest title exists and --add-prefix not specified id=317387 ns=0 dbk=UN:DONUTS *** dest title exists and --add-prefix not specified id=47979 ns=0 dbk=UN:FAQ *** dest title exists and --add-prefix not specified id=351768 ns=0 dbk=UN:FFS *** dest title exists and --add-prefix not specified id=656847 ns=0 dbk=UN:FOAD *** dest title exists and --add-prefix not specified id=334850 ns=0 dbk=UN:Grue_Army *** dest title exists and --add-prefix not specified id=48052 ns=0 dbk=UN:HTBFANJS *** dest title exists and --add-prefix not specified id=171713 ns=0 dbk=UN:ICU *** dest title exists and --add-prefix not specified id=238018 ns=0 dbk=UN:IRC *** dest title exists and --add-prefix not specified id=522969 ns=0 dbk=UN:MUP *** dest title exists and --add-prefix not specified id=105768 ns=0 dbk=UN:NRV *** dest title exists and --add-prefix not specified id=121502 ns=0 dbk=UN:PFP *** dest title exists and --add-prefix not specified id=47801 ns=0 dbk=UN:QVFD *** dest title exists and --add-prefix not specified id=642471 ns=0 dbk=UN:RYA *** dest title exists and --add-prefix not specified id=741525 ns=0 dbk=UN:Shortcut *** dest title exists and --add-prefix not specified id=713532 ns=0 dbk=UN:Skype *** dest title exists and --add-prefix not specified id=746375 ns=0 dbk=UN:Template *** dest title exists and --add-prefix not specified id=746376 ns=0 dbk=UN:Templates *** dest title exists and --add-prefix not specified id=94228 ns=0 dbk=UN:UotM *** dest title exists and --add-prefix not specified id=336475 ns=0 dbk=UN:VD *** dest title exists and --add-prefix not specified id=48046 ns=0 dbk=UN:VFD *** dest title exists and --add-prefix not specified id=48059 ns=0 dbk=UN:VFH *** dest title exists and --add-prefix not specified id=47791 ns=0 dbk=UN:VFP *** dest title exists and --add-prefix not specified id=416658 ns=0 dbk=UN:VFP/Expired *** dest title exists and --add-prefix not specified id=313668 ns=0 dbk=UN:VFS *** dest title exists and --add-prefix not specified id=392533 ns=0 dbk=UN:VPV *** dest title exists and --add-prefix not specified id=445408 ns=0 dbk=UN:idea *** dest title exists and --add-prefix not specified id=445416 ns=0 dbk=Un:Idea *** dest title exists and --add-prefix not specified id=572584 ns=0 dbk=Un:Request *** dest title exists and --add-prefix not specified id=140148 ns=0 dbk=Un:evil *** dest title exists and --add-prefix not specified id=559283 ns=0 dbk=Un:work *** dest title exists and --add-prefix not specified 37 pages to fix, 0 were resolvable.
- --
- Thanks for this! I didn't expect a mostly-working version to come this early. ARandomPage, the named space (ARandomTalkPage) (Stuff they do) 07:42, 12 June 2022 (UTC)
16:31, 8 June 2022 (UTC)
- --
- On the topic of this, please use my message wall for advice on random PHP code to add into your index.php file without review - I have plenty Microsoft for POTUS (talk) 04:23, 19 June 2022 (UTC)