「Test」の版間の差分

提供:脳科学辞典
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
1行目: 1行目:
Nogo,


{| style="border-spacing:0;"
he extension is called whenever an ArticleSave event occurs.
| colspan="5" | <nowiki><!--StartFragment--></nowiki>3月ご予定確認
It requests the page titles one by one from the wiki database, starting with the longest title.
||
For each of the page titles:
||
If the working page title from the database is different from the current page title:
||
Break the page content string into parts separated by wiki links "..." or by headings "==...==".
||
For each substrings that does not represent a wiki links or heading:
||
Perform a regular expression search and replace to add ... to every occurrence of the title.
 
Put the substrings back together.
|-
If smart mode is enabled:
|| 月
For each substrings that does not represent a wiki links or heading:
| style="border:none;padding:0in;"| 日
Perform a case-insensitive regular expression search and replace to add ... or ... to every occurrence of the title.
| style="border:none;padding:0in;"| 時間帯
Put the substrings back together.
| style="border:none;padding:0in;"| ○/×
Repeat with the next heading.
| style="border:none;padding:0in;"| ご都合のつかない時間帯
 
|-
| style="border:none;padding:0in;"| 3月
| style="border:none;padding:0in;"| 19(火)
| style="border:none;padding:0in;"| PM(14:30 -18:00)
| style="border:none;padding:0in;"|  
| style="border:none;padding:0in;"|  
 
|-
| style="border:none;padding:0in;"| 21(木)
| style="border:none;padding:0in;"| PM(14:30 -18:00)
| style="border:none;padding:0in;"|  
| style="border:none;padding:0in;"|  
||
| colspan="4" |
 
|-
| style="border:none;padding:0in;"| 22(金)
| style="border:none;padding:0in;"| PM (13:00-18:00)
| style="border:none;padding:0in;"|  
| style="border:none;padding:0in;"|  <nowiki><!--EndFragment--></nowiki>
||
| colspan="4" |
 
|}

2013年5月4日 (土) 08:34時点における版

Nogo,

he extension is called whenever an ArticleSave event occurs. It requests the page titles one by one from the wiki database, starting with the longest title. For each of the page titles: If the working page title from the database is different from the current page title: Break the page content string into parts separated by wiki links "..." or by headings "==...==". For each substrings that does not represent a wiki links or heading: Perform a regular expression search and replace to add ... to every occurrence of the title. Put the substrings back together. If smart mode is enabled: For each substrings that does not represent a wiki links or heading: Perform a case-insensitive regular expression search and replace to add ... or ... to every occurrence of the title. Put the substrings back together. Repeat with the next heading.