OddmuseTroubleZH

From LemonWiki共筆
Jump to navigation Jump to search

Oddmuse wiki安裝或執行時,所出現的問題症狀與解決方式 (English Version)


https://www.flickr.com/people/126293509@N03/ kirsten dunst 1st movie kirsten dunst rotten tomatoes https://openlibrary.org/works/OL16843787W/HILLARY_FISHER_NUDE!_DESNUDA! hillary fisher glasses hillary fisher broadway https://openlibrary.org/works/OL16843794W/MARIA_OZAWA_NUDE!_DESNUDA! MARIA OZAWA lana del rey MARIA OZAWA tumblr https://openlibrary.org/works/OL16843805W/JENNIFER_GREY_NUDE!_DESNUDA! jennifer grey rumba jennifer grey unrecognisable https://openlibrary.org/works/OL16843812W/KRISTINA_UHRINOVA_NUDE!_DESNUDA! KRISTINA UHRINOVA lana del rey KRISTINA UHRINOVA van straten interview 2012

https://www.flickr.com/people/126260629@N08/ adriana lima weight gain adriana lima pinterest https://openlibrary.org/works/OL16843824W/EMILIA_FOX_NUDE!_DESNUDA! emilia fox you magazine emilia fox programmes https://openlibrary.org/works/OL16843832W/PEYTON_LIST_NUDE!_DESNUDA! peyton list actress peyton list eye color https://openlibrary.org/works/OL16843846W/TAYLOR_VIXEN_NUDE!_DESNUDA! TAYLOR VIXEN actress TAYLOR VIXEN and bradley steven perry https://openlibrary.org/works/OL16843855W/LOUISE_BOURGOIN_NUDE!_DESNUDA! louise bourgoin enceinte louise bourgoin quotes

https://www.flickr.com/people/125513167@N07/ jessica alba company jessica alba 80th annual academy awards https://openlibrary.org/works/OL16843863W/ADRIANA_SKLENARIKOVA_NUDE!_DESNUDA! adriana sklenarikova bellazon adriana sklenarikova altezza https://openlibrary.org/works/OL16843869W/KELSEY_CHOW_NUDE!_DESNUDA! kelsey chow hot bikini kelsey chow rush hour 3 https://openlibrary.org/works/OL16843877W/GEORGIA_SALPA_NUDE!_DESNUDA! georgia salpa bebo georgia salpa family https://openlibrary.org/works/OL16843883W/CATRINEL_MENGHIA_NUDE!_DESNUDA! catrinel menghia elle catrinel menghia youtube

https://www.flickr.com/people/126278200@N04/ emma watson instagram emma watson tattoo real https://openlibrary.org/works/OL16843893W/YUKO_OGURA_NUDE!_DESNUDA! yuko ogura lovin you lyrics yuko ogura images https://openlibrary.org/works/OL16843903W/LINDSEY_HAUN_NUDE!_DESNUDA! lindsey haun tabs lindsey haun broken download https://openlibrary.org/works/OL16843908W/LISA_WILHOIT_NUDE!_DESNUDA! lisa wilhoit pole lisa wilhoit my so called life https://openlibrary.org/works/OL16843913W/HALLE_BERRY_NUDE!_DESNUDA! halle berry trial halle berry 45

https://www.flickr.com/people/125494868@N05/ angelina jolie affair angelina jolie ethan hawke https://openlibrary.org/works/OL16843919W/RENEE_ZELLWEGER_NUDE!_DESNUDA! renee zellweger size 6 renee zellweger quotes https://openlibrary.org/works/OL16843921W/MARILYN_MONROE_NUDE!_DESNUDA! marilyn monroe natural hair color marilyn monroe girl quotes https://openlibrary.org/works/OL16843931W/WHOOPI_GOLDBERG_NUDE!_DESNUDA! whoopi goldberg roman polanski whoopi goldberg partner https://openlibrary.org/works/OL16843937W/TILDA_SWINTON_NUDE!_DESNUDA! tilda swinton 1997 tilda swinton feet

https://www.flickr.com/people/126291705@N07/ amber heard drive angry amber heard johnny depp interview https://openlibrary.org/works/OL16843947W/HILARY_SWANK_NUDE!_DESNUDA! hilary swank rotten tomatoes hilary swank 60 minutes https://openlibrary.org/works/OL16843952W/HEATHER_GRAHAM_NUDE!_DESNUDA! heather graham zumba heather graham yaniv raz https://openlibrary.org/works/OL16843971W/BONNIE_WRIGHT_NUDE!_DESNUDA! bonnie wright official twitter bonnie wright bra size https://openlibrary.org/works/OL16843978W/COURTENEY_COX_NUDE!_DESNUDA! courteney cox longest yard courteney cox photos

Q: http://www.webhospital.org.tw/essay/essay.html?pid=16&category=道聽不塗說 網址應該是到 ...category=道聽不塗說 才結束,但是連結卻只有到 ...category= 。網址連結不顯示包含中文字的部分

A:

狀況http://www.webhospital.org.tw/essay/essay.html?pid=16&category=道聽不塗說
解決方法:將 ...category=道聽不塗說 中文字[RFC 2396]編碼(urlencode)為 ...category=%B9D%C5%A5%A4%A3%B6%EE%BB%A1 如:http://www.webhospital.org.tw/essay/essay.html?pid=16&category=%B9D%C5%A5%A4%A3%B6%EE%BB%A1 不過這樣滿醜的,建議改成[網址 網站說明文字]即道聽不塗說


Q: 書籍查詢ISBN時,無法使用自己的查詢設定

A:

狀況: 當我想為書籍的ISBN旁邊自動加上查詢連結 InterMap ,在頁面中寫上 ISBN:9574995054 (注意,英文字母及冒號需為半形大寫) 例如在 InterMap 中設定ISBN是 ISBN:986-7794-12-5 ,即以關鍵字 ISBN+986-7794-12-5 向 Google 查詢網頁,卻看到 ISBN 986-7794-12-5 (輪流, 搜尋)
原因:作者在原始碼中,熱心地提供三個可以查詢ISBN的網址(即使沒有設定InterMap),但是不幸的都是英文書籍,對於中文書籍該功能用處不大。
解決方案一: 避免更改原始碼,直接在 InterMap 設定其中一種
ISBN http://www.google.com.tw/search?q=
isbn http://www.google.com.tw/search?q=
Books http://www.books.com.tw/exep/openfind_book_keyword.php?cat1=4&key1=
由於國家圖書館ISBN全國新書資訊網的查詢網址語法不明(按: http://nbinet.ncl.edu.tw/search*chi/i 然後加上 ISBN,也就是下面的 %s 變數 ),所以我傾向自己加上網址,或者另起爐灶向博客來網站查詢,如: Books:986-7794-12-5 ,或者為了避免中文書籍出現累贅的連結,將 ISBN:... 半形冒號改成全形冒號 ISBN:...
解決方案二: 修改翻譯檔

將搜尋網址改成自己需要的

  1. ISBN 全國新書資訊網
  2. 博客來網路書店
  3. amazon

原始翻譯檔

http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=%s
(此行空白)
http://www.amazon.com/exec/obidos/ISBN=%s
(此行空白)
alternate
輪流
http://www.pricescan.com/books/BookDetail.asp?isbn=%s
(此行空白)
search
搜尋

更改如下:

http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=%s
http://nbinet.ncl.edu.tw/search*chi/i%s
http://www.amazon.com/exec/obidos/ISBN=%s
http://www.books.com.tw/exep/openfind_book_keyword.php?cat1=4&key1=%s
alternate
替代
http://www.pricescan.com/books/BookDetail.asp?isbn=%s
http://www.amazon.com/exec/obidos/ISBN=%s
search
搜尋

結果如下:

ISBN:9574995054


Q: 重導向 (REDIRECT) 失效:雖然在頁面標記了 #REDIRECT SetFont,可是不會自動重導向到 SetFont

A:

在頁面名稱(CamelWord)短的時候,例如從甲頁面要轉頁到[[SetFont]]乙頁面,在甲頁面標記了#REDIRECT SetFont可以順利導向,但是常常會在乙頁面名稱稍微長的時候,無法導向,請將乙頁面名稱SetFont,加上中刮號成為[[SetFont]],即甲頁面內容改為標記
#REDIRECT [[SetFont]]


Q: 最近更新(RecentChanges)裡的時區不對

A:

OddmuseWiki 程式使用的時間是「協調世界時間」(UTC, Coordinated Universal Time) 時區,相當於格林威治標準時間 (GMT, Greenwich Mean Time),而臺灣的時間是 GMT/UTC + 8 (CST),如果要將RecentChanges 的UTC時區更改為台北標準時間,必須更動到原始碼:
sub CalcTime {
  my ($sec, $min, $hour, $mday, $mon, $year) = gmtime(shift);
  return sprintf('%02d:%02d UTC', $hour, $min);
}

修改為

sub CalcTime {
  my ($sec, $min, $hour, $mday, $mon, $year) = gmtime(shift);
  return sprintf('%02d:%02d GMT+8', $hour+8, $min);
}
其他解決方法 Timezone Extension,不過作者計畫將此擴充功能日後改寫成模組。

Q: 設好了 InterMap (InterWiki) ,但是卻無法搜尋多個關鍵字,例如想查詢「眾聲」與「喧嘩」兩個關鍵字,在Wiki頁面寫上Google:眾聲 喧嘩 ,卻無法順利運作。(附註,在InterMap需先設好 Google 指向 http://www.google.com.tw/search?ie=UTF-8&oe=UTF-8&q=)

A:

狀況一、搜尋「眾聲喧嘩」
錯誤的 Google:"眾聲喧嘩"
合適的 Google:眾聲喧嘩 或 Google:%22眾聲喧嘩%22 也就是將引號改為%22
狀況二、搜尋「眾聲喧嘩」與「獨領風騷」兩個字詞
錯誤的 Google:眾聲喧嘩 獨領風騷
錯誤的 Google:"眾聲喧嘩"+"獨領風騷"
合適的 Google:%22眾聲喧嘩%22+%22獨領風騷%22
合適的 Google:眾聲喧嘩%20獨領風騷
請將 " 符號改為 %22 的網址編碼 ; = 的編碼為 %3d; 半形空白 的編碼為 %20; 半形冒號 : 的編碼為 %3A; 半形斜線 / 的編碼為 %2F
完整的網址編碼清單請參考 URL Encoding


Q: 所有頁面的索引(Index Action) 寫0個頁面

  • 刪除 pageidx 檔案 (強迫 Oddmuse 更新它的索引檔)


Q: Oddmuse Migrate 搬家到別的主機

A:

  • 修改 config 檔案,調整 $RefererTracking = 0 ,刪除 refer 目錄下的參照檔
  • 上傳 keep與page目錄
  • 刪除 pageidx 檔案 (強迫 Oddmuse 更新它的索引檔) 部分參考:oddmuse.org: 刪除頁面


Q: (more questions) 有其他的問題要如何解決?

A: 請至 Oddmuse 官方網站和其Forum查詢。