「Mediawiki 諸site」修訂間的差異

出自六年制學程
跳至導覽 跳至搜尋
 
(未顯示同一使用者於中間所作的 17 次修訂)
第10行: 第10行:
 
<th>[http://www.lua.org/ Lua]<br/>版本<br/>須1.34+</th>
 
<th>[http://www.lua.org/ Lua]<br/>版本<br/>須1.34+</th>
 
<th>資料庫</th>
 
<th>資料庫</th>
<th>prefix<br/>([[::Mediawiki/跨維基嵌入/設定|有新舊版]])</th>
+
<th>prefix<br/>([[Mediawiki/跨維基嵌入/設定|有新舊版]])</th>
 
<th>SimpleMathJax<br/>須1.29+</th>
 
<th>SimpleMathJax<br/>須1.29+</th>
 
<th>備註</th>
 
<th>備註</th>
第69行: 第69行:
 
<th>福留子孫</th>
 
<th>福留子孫</th>
 
<th>DS720/wellBeingNg<br/>DS218舊</th>
 
<th>DS720/wellBeingNg<br/>DS218舊</th>
<th>1.23.10</th>
+
<th>1.35.14</th>
<th>7.4.9(fpm-fcgi)</th>
+
<th>8.1.31(fpm-fcgi)</th>
<th>5.5.68-MariaDB</th>
+
<th>10.11.11-MariaDB</th>
<th></th>
+
<th>64.2</th>
<th></th>
+
<th>5.1.5</th>
 
<th>wiki</th>
 
<th>wiki</th>
 
<th>wellBeingNg<br/>wbn</th>
 
<th>wellBeingNg<br/>wbn</th>
<th>不可</th>
+
<th>0.7.4</th>
 
<th></th>
 
<th></th>
 
</tr>
 
</tr>
第82行: 第82行:
 
<th>六年制學程</th>
 
<th>六年制學程</th>
 
<th>DS720/wiki1231<br/>DS218舊</th>
 
<th>DS720/wiki1231<br/>DS218舊</th>
<th>1.23.10</th>
+
<th>1.35.14</th>
<th>7.4.9 (fpm-fcgi)</th>
+
<th>8.1.31 (fpm-fcgi)</th>
<th>5.5.68-MariaDB</th>
+
<th>10.11.11-MariaDB</th>
<th></th>
+
<th>64.2</th>
<th></th>
+
<th>5.1.5</th>
 
<th>wiki1232</th>
 
<th>wiki1232</th>
 
<th>jendo</th>
 
<th>jendo</th>
<th>不可</th>
+
<th>0.7.4</th>
 
<th></th>
 
<th></th>
 
</tr>
 
</tr>
第95行: 第95行:
 
<th>國一wiki</th>
 
<th>國一wiki</th>
 
<th>DS720/wikiGrade1<br/>DS218舊</th>
 
<th>DS720/wikiGrade1<br/>DS218舊</th>
<th>1.23.2</th>
+
<th>1.35.14</th>
<th>7.3.16(fpm-fcgi)</th>
+
<th>8.1.31(fpm-fcgi)</th>
<th>5.5.68-MariaDB</th>
+
<th>10.11.11-MariaDB</th>
 +
<th>64.2</th>
 +
<th>5.1.5</th>
 +
<th>wiki1211</th>
 
<th></th>
 
<th></th>
 +
<th>0.7.4</th>
 
<th></th>
 
<th></th>
<th>wiki1211</th>
 
<th></th>
 
<th>不可</th>
 
<th>待拆</th>
 
 
</tr>
 
</tr>
 
<tr>
 
<tr>
第136行: 第136行:
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
<br/>
 +
===升級「福留子孫」,wiki1231,wikiGrade1===
 +
{{:升級至1.35版}}
  
===升級===
 
# 保留舊版的 LocalSettings.php ,但修改
 
#*logo<br/>$wgResourceBasePath = $wgScriptPath;<br/>$wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/logo.png" ];
 
#*wfLoadSkin( 'MonoBook' );<br/>wfLoadSkin( 'Timeless' );<br/>wfLoadSkin( 'Vector' );
 
# 保留舊版的 ./images 但換上新版的 .htaccess
 
# /volume1/@appstore/PHP8.1/usr/local/bin/php81 maintenance/update.php
 
 
===PHP 版本===
 
===PHP 版本===
 
控制使用的 PHP 版本,用 .htaccess ,如:<pre>
 
控制使用的 PHP 版本,用 .htaccess ,如:<pre>
第167行: 第164行:
  
 
===跨校選修===
 
===跨校選修===
{{alWiki::當代教育的核心提問}}
+
{{alwiki::當代教育的核心提問}}
 
===均優===
 
===均優===
 
{{ql::2016論壇/閉幕}}
 
{{ql::2016論壇/閉幕}}
 
===全民科學平台===
 
===全民科學平台===
 
{{s4e::全民科學平台生態解說}}
 
{{s4e::全民科學平台生態解說}}

於 2026年2月18日 (三) 08:54 的最新修訂

Site 位於 Media
Wiki
版本
PHP
版本
MariaDB
版本
Unicode國
際化組件
(ICU)版本
Lua
版本
須1.34+
資料庫 prefix
(有新舊版)
SimpleMathJax
須1.29+
備註
跨校選修 DS720/alWiki
DS218舊
1.35.1 7.4.33(fpm-fcgi) 10.11.6-MariaDB 64.2 5.1.5 alWiki alWiki
alwiki
0.7.4
不錯學群 DS720/nlWiki
DS218舊
1.34.2 7.4.33(fpm-fcgi) 10.11.6-MariaDB 64.2 5.1.5 nlWiki nlWiki
nlwiki
0.7.4 待拆
機構辦學 DS216/CAS 1.30.0 7.3.33(fpm-fcgi) 10.3.32-MariaDB CAS 0.7.4
穹頂之下 DS218/WUTD 1.30.0 7.3.33(fpm-fcgi) 10.3.32-MariaDB 64.2 WUTD 0.7.4
福留子孫 DS720/wellBeingNg
DS218舊
1.35.14 8.1.31(fpm-fcgi) 10.11.11-MariaDB 64.2 5.1.5 wiki wellBeingNg
wbn
0.7.4
六年制學程 DS720/wiki1231
DS218舊
1.35.14 8.1.31 (fpm-fcgi) 10.11.11-MariaDB 64.2 5.1.5 wiki1232 jendo 0.7.4
國一wiki DS720/wikiGrade1
DS218舊
1.35.14 8.1.31(fpm-fcgi) 10.11.11-MariaDB 64.2 5.1.5 wiki1211 0.7.4
均優(新) 均優/wiki1341 1.34.1 7.3.33(cgi-fcgi) 5.7.33-MySQL 50.2 5.1.5 wiki ql 0.7.4
四項倡議 0.7.4
全民科學 s4e/MediaWiki 1.30.0 7.4.33(cgi-fcgi) 5.5.28-log-MySQL 67.1 無法 wiki4 s4e 0.7.4


升級「福留子孫」,wiki1231,wikiGrade1

下載 1.35.14 版

「tar zxvf mediawiki-core-1.35.14.tar.gz -C .」得到資料夾「mediawiki-1.35.14」,請重新命名為想要的名稱

  1. 保留舊版的 LocalSettings.php ,但修改
    • logo
      $wgResourceBasePath = $wgScriptPath;
      $wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/logo.png" ];
    • wfLoadSkin( 'MonoBook' );
      wfLoadSkin( 'Timeless' );
      wfLoadSkin( 'Vector' );
    • 「$wgServer = "http://域名";」:其實不會引用,但不能沒有
    • 檢查 Database settings ,帳密要可用
  2. 保留舊版的 ./images 但換上新版的 .htaccess
    • 將 images 改名為 images-
    • scp -rp 帳號@另一部伺服器的ip:/volume1/web/資料夾/images /volume1/web/資料夾
    • 先「rm -f .htaccess」再「cp -a ../images-/.htaccess .」
  3. 抄來 skins:cp -a ../另一個同版的mediawiki/skins ./
  4. 如果舊的資料表在另一部伺服器上:
    • 匯出舊資料表到 localhost.sql ,再傳到目的伺服器的 /volume1/web
    • mysql -u root -p密碼 --database=資料庫名 < /volume1/web/localhost.sql
  5. 執行資料表結構升級:/volume1/@appstore/PHP8.1/usr/local/bin/php81 maintenance/update.php
    • 福留子孫 用去 3.5 小時
    • wiki1231 用去 5.5 小時
    • wikiGrade1 用去 2.3 小時
  6. 抄來諸外掛:cp -a ../另一個同版的mediawiki/extensions .

PHP 版本

控制使用的 PHP 版本,用 .htaccess ,如:

# Synology PHP
AddHandler default-handler .htm .html .shtml
AddHandler php-fastcgi .php .php5
AddType text/html .php .php5
Action php-fastcgi /php56-fpm-handler.fcgi
# Synology PHP

而 php56 的相關檔案布署如下:

/volume1/@appstore/PHP5.6/usr/local/etc/php56
/volume1/@appstore/PHP5.6/usr/local/bin/php56
/volume1/@appstore/PHP5.6/usr/local/lib/php56
/usr/syno/etc/packages/WebStation/php56
/usr/local/etc/php56
/usr/local/bin/php56
/usr/local/lib/php56

而「套件中心/PHP 5.6」須已啟動

同伺服器上 PHP7.2,PHP7.3,PHP7.4 也是啟動的

跨 wiki 測試

福留子孫

  1. 平等取得原則:任何地域、財力或其他弱勢的國民,皆能平等取得政府提供之公共化服務。
  2. 公益規準原則:教育機構的運營,應以「學習者福祉」為依歸,而不是以商品市場上的「賣相」為依歸。
  3. 國庫分擔原則:公共化服務的大部分或主要部分,應由公庫撥款來運營和維繫。
  4. 權責相符原則:在國庫補助的過程中,提供服務的機構,得到的補助有多少,所應承擔的責任就應該有多少,所受到的監督就應該有多強。也可以說:「高補助高規範,低補助低規範」。
  5. 公開透明原則:在承受國庫補助的部分,資訊應該公開透明。陽光照進去越多,長期而言,公共化服務就會越健康。

跨校選修

  1. 第一核心提問:在哪裡?
  2. 第二核心提問:被淹沒!
  3. 第三核心提問:重用社群(主體性課題)

均優

  1. 接續 OST ,盤點後續有意願持續進行的合作計畫。
  2. 與會者心得分享。
  3. 與會者意見線上填寫說明。

全民科學平台