Talk:Imports

Hello, I'm the sysop of a quite large, 11 years old Wikia/FANDOM wiki, and I'm searching for hosting alternatives. AFAIK Wikia only provides XML dump of content pages, no images and no user data included. That would make a proper relocation almost impossible, so I wonder if there's any way to import a full wiki from Wikia (I guess not).--Wedhro (talk) 09:35, 22 May 2018 (UTC)
 * You can use wikiteam's tool to export images. I can't guarantee it will work on Wikia. &mdash; revi  12:00, 22 May 2018 (UTC)
 * It's worth giving it a try. So I must assume there's not way to export user data?--Wedhro (talk) 20:50, 22 May 2018 (UTC)
 * If by user data, you mean usernames, passwords, and preferences and the like, then no. However, user contributions can always be attached to an account if desired. -- Void  Whispers 22:31, 22 May 2018 (UTC)
 * That's right; there is a single user namespace across all of Miraheze and it doesn't correspond to anything at Wikia, so each Nonciclopedia user would have to create a new account here. However, during the fork of the English-language Uncyclopedia, Wikia provided a copy of the complete wiki, including images.  They may have had to make adjustments, but they certainly didn't edit all 30,000 articles.  You should ask them, as they are probably still as eager to help people leave Wikia as Wikia itself seems to be.   23:52 22-May-2018
 * I had exactly the same question, so I'll keep track of anything that happens here. --Ooswesthoesbes (talk) 09:02, 23 May 2018 (UTC)
 * And while it's a draft, there's also Moving a wiki to Miraheze, which I wrote without knowing this page. &mdash; revi  10:51, 23 May 2018 (UTC)

Local_Settings.php
Just curious, if one has the following Local_Settings.php, could any of it still be used in one form or the other, on Miraheze? Thanks. Jidanni (talk) 17:05, 9 November 2019 (UTC) <?php $mysites = array(   array( '台掃', 'radioscanningtw.jidanni.org', 'radioscanningtw' ),    array( 'ABJ',    'abj.jidanni.org',             'mwabj' )); foreach(array('createaccount','edit','createpage','createtalk','writeapi')as $i){$wgGroupPermissions['*'][$i]=false;} switch($wgSitename) { case 'ABJ':$wgLocaltimezone='America/Chicago';$wgLogo='/images/abj/abj.jpg'; $wgRightsUrl='https://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License'; //function JidanniNoLoginLinkOnEveryPage(&$personal_urls){unset($personal_urls['login']);return true;} //$wgHooks['PersonalUrls'][]='JidanniNoLoginLinkOnMainPage'; $wgDefaultUserOptions['date']='ISO 8601'; break; case '台掃':$wgSpamRegex[]='//'; $wgFilterCallback='JidanniTitleFilter'; function JidanniTitleFilter($getTitle){ if (preg_match("/^\d/", $getTitle->getText) && $getTitle->getNamespace <= NS_TALK) { EditPage::spamPage ('***請退（"←"鍵），另存所打的字，然後見「首頁」=>「使用說明」中之「頻率編入其單位」. 謝謝. ***'); return true;} return false;} //$wgGroupPermissions['*']['createpage']=$wgGroupPermissions['user']['createpage']=false; //but allow them to make talk, user_talk, user, project talk ... pages! default: $wgLogo="/images/$wgDBname/$wgDBname.png"; function JidanniLoginFormMessage(&$template){global $wgSitename; $template->set( 'header',   "（需本${wgSitename}帳號來編輯者，請聯絡${wgSitename}管理員，告知欲立帳名，直接用中文姓名亦可. （所有使用者名稱的第一個字母是會自動成為大寫. ）台描帳號則自行另立. ）"); return true;} $wgHooks['UserLoginForm'][]= #$wgHooks['MobileFrontendHooks::onUserLoginForm'][]= 'JidanniLoginFormMessage'; array_push($wgSpamRegex,'/^\B$/','/<[Aa]/','/^[^{]ascii:*$/');$wgLocaltimezone='Asia/Taipei'; $wgLanguageCode='zh-tw';$wgRightsUrl='https://zh.wikipedia.org/wiki/Wikipedia:GNU自由文檔許可證文本';} $wgNamespaceProtection[NS_CATEGORY]=$wgNamespaceProtection[NS_CATEGORY_TALK]=array('editinterface'); function JidanniBlueLinkCategoryPages($linker,$target,&$text,&$customAttribs,&$query,&$options){ switch($target->getNamespace){case NS_CATEGORY:case NS_CATEGORY_TALK:$options[0]='known';}return true;} $wgHooks['LinkBegin'][]='JidanniBlueLinkCategoryPages';


 * 1) https://phabricator.wikimedia.org/T201829 no longer works:
 * 2) function JidanniDontInviteEdit(&$article,&$outputDone){if($article->getID===0){
 * 3)    switch($article->getTitle->getNamespace){case NS_CATEGORY:case NS_CATEGORY_TALK:$outputDone=true;}}return true;}
 * 4) $wgHooks['ArticleViewHeader'][]='JidanniDontInviteEdit';//Bug 17630

function JidanniLessUselessNavigation($sktemplate,&$links){ foreach($links['namespaces'] as $ns=>&$value){ if($value['context']=='talk' && $value['class']=='new' && !$sktemplate->getTitle->quickUserCan('createtalk')){ unset($links['namespaces'][$ns]);} if($ns=='category' && $value['class']=='selected new'){ $value['class']='selected'; if(isset($links['actions']['watch'])){unset($links['actions']['watch']);}}} return true;} $wgHooks['SkinTemplateNavigation'][]='JidanniLessUselessNavigation'; switch($wgSitename){case 'ABJ':$i=14;break;default:$i=9;}unset($wgRCLinkDays);foreach(range(0,$i)as $j){ $wgRCLinkDays[]=pow(2,$j);}$wgRCMaxAge=3600*24*($wgDefaultUserOptions['rcdays']=end($wgRCLinkDays)); function JidanniOpenGraphMetaPageHook(&$out,&$sk){global $wgLogo; $out->addHeadItem("meta:property:og:image",		   Html::element('meta',array('property'=>'og:image','content'=>wfExpandUrl($wgLogo)))."\n");return true;} $wgHooks['BeforePageDisplay'][] = 'JidanniOpenGraphMetaPageHook'; $wgExportAllowHistory=!$wgExportFromNamespaces=$wgMiserMode= $wgDisableAnonTalk=$wgRCFilterByAge=$wgSpecialVersionShowHooks=$wgDisableCounters=$wgEnableSidebarCache=true; $wgUseRCPatrol=$wgUseNPPatrol=$wgGroupPermissions['sysop']['autopatrol']=$wgEnableUserEmail=$wgEnableEmail= $wgEmailAuthentication=$wgFavicon=$wgShowIPinHeader=$wgNoFollowLinks=$wgInvalidateCacheOnLocalSettingsChange=false; array_push($wgHiddenPrefs,'realname','gender','nickname','oldsig','fancysig','imagesize','thumbsize','externaldiff',	  'nolangconversion'); $wgLogRestrictions['newusers']='editinterface';


 * Apparently not. Well at least Miraheze offers plenty of extensions. Jidanni (talk) 01:55, 16 November 2019 (UTC)
 * It is possible by using Special:ManageWiki/settings and Special:ManageWiki/extensions. What is not there can additionally be requested at Phabricator for system administrators to configure. Reception123 (talk) ('C' ) 15:47, 16 November 2019 (UTC)

Spelling Error in "Technical" Header
Just a quick note, "Technical" is misspelled in the header of that Technical section. I can't edit it, so calling it out at the risk of being nitpicky. Grivander (talk) 20:17, 17 May 2020 (UTC)