User talk:Alexandroslee
Add topicAppearance
Latest comment: 7 years ago by Alexandroslee in topic 我想讓我建立的維基 也能這樣的討論頁?我該怎麼做?
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
我想讓我建立的維基 也能這樣的討論頁?我該怎麼做?
[edit]我想讓我建立的維基 也能這樣的討論頁?我該怎麼做? Alexandroslee (talk) 02:02, 13 August 2018 (UTC)
- Extension:StructuredDiscussions wargo (talk) 06:11, 13 August 2018 (UTC)
- 但是 安裝的前置作業 好複雜! 我裝不起來 Alexandroslee (talk) 08:10, 13 August 2018 (UTC)
- 描述你的问题 wargo (talk) 08:33, 13 August 2018 (UTC)
- 我有下載 也裝到 Extension/Flow 了
- 但是 對於前置作業 看不懂?
- required Extension:Echo for notifications (e.g. replies to your post) 這個下載也裝進去了
- It is required to have an object cache. It is recommended that you use memcached for this. You may encounter problems with Redis currently. 看不懂
- Extension:ParserFunctions for the templates that are automatically installed (e.g. #time) 這個預設裝了
- $wgContentHandlerUseDB. Required for Special:EnableStructuredDiscussions and to avoid corruption if you change the content model of namespaces (towards or away from StructuredDiscussions) if there are already pages in that namespace. 看不懂 不知道要怎麼改
- strongly recommended Parsoid for the option to store posts as HTML ($wgFlowContentFormat = 'html';) which improves performance. This is how WMF wikis are configured, and hence is the most tested configuration by far. If you use MediaWiki-Vagrant, enabling StructuredDiscussions enables Parsoid and sets the format to 'html'.看不懂 請問是改 localSeeting.php 嗎?
- 請問要如何安裝 Parsoid ?
- https://www.mediawiki.org/wiki/Parsoid
- 新手上路 請見諒! Alexandroslee (talk) 09:11, 13 August 2018 (UTC)
- use memcached 是指在 LocalSetting.php 改這個嗎?
- ## Shared memory settings
- $wgMainCacheType = CACHE_NONE;
- $wgMemCachedServers = array();
- 還是 打開這個
- #$wgCacheDirectory = "$IP/cache";
- 抱歉 我很外行 ! Alexandroslee (talk) 09:16, 13 August 2018 (UTC)
- $wgFlowContentFormat = 'html'; 我是放在 LocalSetting.php
- 不知道是不是應該改 include 裡面的 DefaultSettings.php ? Alexandroslee (talk) 09:18, 13 August 2018 (UTC)
- $wgContentHandlerUseDB 不知道 要怎樣改 EnableStructuredDiscussions
- 我因為不懂怎麼改 namespace 所以 應該不會衝撞
- 也不清楚要改哪一個檔案?
- 是 mysql 的 php.ini 還是 LocalSetting.php 還是 DefaultSettings.php ? Alexandroslee (talk) 09:20, 13 August 2018 (UTC)
- 請問要如何安裝 Parsoid ?
- https://www.mediawiki.org/wiki/Parsoid
- 我去 github 下載好了!
- https://github.com/wikimedia/parsoid
- 但是 我看這個安裝說明 完全傻眼 我是用 虛擬主機 都用 ftp 傳輸
- 所以 看到這一段 不知如何下手
- ===Windows[編輯]===
- Requirements:
- Install Nodejs x86
- Install Git x86
- With nodejs you have to install the build tools (as administrator)
npm install --global --production windows-build-tools- You may need to update your npm version to avoid errors
npm -g install npm@latest- npm@next is broken. See https://github.com/npm/npm/issues/16037
- If your current directory is in C:\windows\system32, Perform the following command
cd %USERPROFILE%- Install parsoid
npm install parsoid- Copy the default config and configure parsoid for Windows Vista/7
copy %USERPROFILE%\node_modules\parsoid\localsettings.example.js %USERPROFILE%\node_modules\parsoid\localsettings.js- or for Windows 8+
copy %APPDATA%\npm\node_modules\parsoid\localsettings.example.js %APPDATA%\npm\node_modules\parsoid\localsettings.js- Run parsoid
C:\Users\USERNAME\node_modules\parsoid>node bin/server.js- or on Windows 10+
cd %APPDATA%\npm\node_modules\parsoidnode bin/server.js- You should open your php.ini file and uncomment the next php modules:
- extension=php_curl.dll
- extension=php_openssl.dll
- otherwise you will get troubles with Parsoid Alexandroslee (talk) 09:26, 13 August 2018 (UTC)
- 我的 notebook 有安裝 XAMPP
- 但是 還沒有裝 MEDIAWIKI
- 因為不會用 composer! 慘!
- 虛擬主機是用 BITNAMI 的 one click 裝的 但是 只有 1.26版
- 想裝 1.31 或 1.32 版 不會裝!
- localhost 跟 虛擬主機 都不會裝
- 在local 跑 composer 跑很久 檔案一直跑 但是 結果還是看不知來該怎麼設定 路徑 或 json 等
- 所以 現在只能用 1.26 版在遠端執行 Alexandroslee (talk) 09:34, 13 August 2018 (UTC)
- 會進入 XAMPP 的 sheel
- 但是 缺乏一些基本知識 尤其對於 npm 不了解
- 我想這是核心問題 我看了很久 還是一知半解 Alexandroslee (talk) 09:40, 13 August 2018 (UTC)
- 還有 不安裝 Parsoid 可以裝 StructuredDiscussions 嗎? Alexandroslee (talk) 09:55, 13 August 2018 (UTC)