DokuWiki

It's better when it's simple

ユーザ用ツール

サイト用ツール


ja:plugin:pagequery

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ja:plugin:pagequery [2013-11-22 14:29] – ---- plugin ---- 125.55.214.60ja:plugin:pagequery [2014-02-13 14:58] (現在) – [Pagequery プラグイン] 125.55.214.60
行 7: 行 7:
 type       : Syntax type       : Syntax
 lastupdate : 2013-11-22 lastupdate : 2013-11-22
-compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax+compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky
 depends    :  depends    : 
 conflicts  conflicts 
行 20: 行 20:
 ===== ダウンロードとインストール ===== ===== ダウンロードとインストール =====
  
-**重要:最新バージョンが機能するには PHP 5.3 以上が必要です。**  手動でプラグインをインストールする方法については[[ja:plugins|プラグイン]]を参照して下さい。+**重要:プラグインが機能するには PHP 5.3 以上が必要です。 
 +**  手動でプラグインをインストールする方法については[[ja:plugins|プラグイン]]を参照して下さい。
  
-**NEWS---2013-03-27:** Weatherwax互換。グープヘッダーのバグ修正済+**NEWS---2013-10-07**:編集ツーーの新規ボタンから new popup syntax "​cheatsheet"。 
 +新規言語://オランダ語//
  
-**2013-03-08:** 重要なアップデート+**NEWS---2013-10-06**:新規抽出オプション:''​links''(ページリンク)・''​backlinks''(ページヘのバックリンク) 
 +''​filter=''正規表現機能を使用して抽出できるスペース区切りのページIDの一覧です(詳細は下記参照)。 
 + 
 +**2013-03-27**:Weatherwax互換。 
 +グループヘッダーのバグ修正済。 
 + 
 +**2013-03-08**重要なアップデート
   * **Adora Belle** and PHP 5.4.**Adora Belle** と PHP 5.4 互換   * **Adora Belle** and PHP 5.4.**Adora Belle** と PHP 5.4 互換
   * //display// オプション:機能変更。全てのメタデータ/ソート領域をページリンク表示に使用できる。{} 内に領域名を記入する。例:"{name} ({mdate})" は "Page-name (01-Jan-1970)" を生成します。mdate はページの更新日です。   * //display// オプション:機能変更。全てのメタデータ/ソート領域をページリンク表示に使用できる。{} 内に領域名を記入する。例:"{name} ({mdate})" は "Page-name (01-Jan-1970)" を生成します。mdate はページの更新日です。
行 44: 行 52:
 できない場合は[[plugin:pagequery:discussion|pagequery 議論]]やフォーラムへお願いします。 できない場合は[[plugin:pagequery:discussion|pagequery 議論]]やフォーラムへお願いします。
 先頭にある指示には従ってください。// 先頭にある指示には従ってください。//
- 
 ===== 概要 ===== ===== 概要 =====
 [[ja:plugins|プラグイン]] ページには異なる要望に対応する色々なページ一覧/案内プラグインがあります。 [[ja:plugins|プラグイン]] ページには異なる要望に対応する色々なページ一覧/案内プラグインがあります。
行 89: 行 96:
 ===== 構文と使用方法 ===== ===== 構文と使用方法 =====
  
-ページ内の一覧を表示したい場所に pagequery マークアップを挿入します。 +ページ文章内の一覧を表示したい場所に pagequery マークアップを挿入します。 
-1ページに複数の ''pagequery'' 一覧を持つこともできます。+同じページに異なる ''pagequery'' 一覧を持つこともできます。
 (([[plugin:columns|columns プラグイン]] と協調して動作します。)) (([[plugin:columns|columns プラグイン]] と協調して動作します。))
  
行 99: 行 106:
   {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=10;cols=2;spelldate;proper}}   {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=10;cols=2;spelldate;proper}}
      
- __超__複雑な場合:+ __超__複雑な場合...
   {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=100;cols=6;spelldate;proper;snippet=5;border=inside;hidestart;case;natsort}}   {{pagequery>[query];fulltext;sort=key:direction,key2:direction;group;limit=100;cols=6;spelldate;proper;snippet=5;border=inside;hidestart;case;natsort}}
 +
 +**NEW**:判りやすくするために、プログラミング言語のように構文を複数行に展開できます。
 +空白は単純に無視されます。
 +例:
 +<code>
 +{{pagequery>query;
 +  fulltext;
 +  sort=key:direction,key2:direction;
 +  group;
 +  limit=100;
 +  cols=6;
 +  spelldate;
 +  proper;
 +  border=inside;
 +  hidestart;
 +  case;
 +  natsort
 +}}
 +</code>
  
 下の一覧は、とんでもなく長く徹底して威圧的に見えることを知っています。 下の一覧は、とんでもなく長く徹底して威圧的に見えることを知っています。
行 132: 行 158:
 |c[year][month][day]|By [c]reated [year][month][day]; any combination accepted  |''sort=cyearmonthday''  |  | |c[year][month][day]|By [c]reated [year][month][day]; any combination accepted  |''sort=cyearmonthday''  |  |
 |creator            |By page author|''sort=creator''  |  | |creator            |By page author|''sort=creator''  |  |
-|contrib[utor]        |By page contributor(s).  Note: only first name affects sort order((not so useful, but handy for use in the ''filter'' option below))|''sort=contributor:asc \\ sort=contrib''  |  |+|contributor        |By page contributor(s).  Note: only first name affects sort order((not so useful, but handy for use in the ''filter'' option below))|''sort=contributor:asc \\ sort=contrib''  |  
 +|links ​             |By a list of links contained on this page (mainly for filtering). ​ The names (or ids) of all linked pages are joined in one space-delimited string, which can be searched via regex in the filter option below. ​ ||| 
 +|backlinks ​         |By a list of backlinks pointing to this page or these pages. ​ Use as per ''​links''​ above. ​ |||
 |ソート**順:**  |||| |ソート**順:**  ||||
 |asc, a             |昇順、例:a -> z, 1 -> 10 |''sort=name:asc''  |  //asc//  | |asc, a             |昇順、例:a -> z, 1 -> 10 |''sort=name:asc''  |  //asc//  |
行 219: 行 247:
  
 :?: wikiに多くのデフォルトのスタートページを持っているが、名前空間の内容を一覧表示する時、スタートページを含めたくない。どうすれば消すことができますか? :?: wikiに多くのデフォルトのスタートページを持っているが、名前空間の内容を一覧表示する時、スタートページを含めたくない。どうすれば消すことができますか?
-  * ''nostart'' オプションを追加します。サイト設定管理の//start//オプションが、使用中のスタートページ名に対応していることが前提です!+  * ''hidestart'' オプションを追加します。サイト設定管理の//start//オプションが、使用中のスタートページ名に対応していることが前提です!
  
 :?: 私はページ名の代わりにページタイトルを表示したい。どうすれば可能ですか? :?: 私はページ名の代わりにページタイトルを表示したい。どうすれば可能ですか?
ja/plugin/pagequery.1385126995.txt.gz · 最終更新: 2013-11-22 14:29 by 125.55.214.60

特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki