Extension talk:WikiTimeLine

From MediaWiki.org

Jump to: navigation, search

does this work with 1.14a? NSK Nikolaos S. Karastathis 03:03, 27 October 2008 (UTC)


Contents

[edit] Some problem with Chinese language and other

Hi Markus.

I have some problems:

[edit] Parser extension or tag extension

This extension should be marked as a tag extension not a Parser extension. Right? I hope someday I can use {{#wtl: Name=..... }} or {{#wikitimeline: Name=..... }}.

[edit] Show timeline in a iframe?

Could it possible to show timelines in a Iframe at any place in a page I want? Just like the page.

[edit] i18n for chinese-tw

I made some Chinese translation like following:

$wgWikiTimeLineMessagesArr['zh-tw'] = array(
    'timeline' => '時間線',
    'delete' => '刪除',
    'deleteall' => '刪除全部',
    'deletemsg' => '從影像刪除時間線:',
    'notimelines' => '尚未選取時間線',
    'wtlhelp' => 'Wiki時間線幫助',
    'wtlhelplink' => 'Help:維基時間線',
    'wtloverview' => '維基時間線一覽',
    'tomuchlines' => '維基時間線錯誤:單一影像可及的最大時間線數量。',
    'notloggedin' => '維基時間線錯誤: 您必須先登入以顯示此元件',
 
    'jan' => '一月',
    'feb' => '二月',
    'mar' => '三月',
    'apr' => '四月',
    'may' => '五月',
    'jun' => '六月',
    'jul' => '七月',
    'aug' => '八月',
    'sep' => '九月',
    'oct' => '十月',
    'nov' => '十一月',
    'dec' => '十二月',
 
   'FirstYMD' => '年',
    'SecondYMD' => '月',
    'ThirdYMD' => '日',  
    'NameMonth' => '失敗',
    'SignAfterFirstYMD' => '.',    
    'SignAfterSecondYMD' => '.',   
    'SignAfterThirdYMD' => '', 
    'ThousandSign' => '.',
    'SignBeforeDate' => '',
    'SignAfterDate' => '',
 
    'wtl_ongoing_event' => '進行中',
    'wtl_zoom_out' => '遠觀',
    'wtl_hide' => '隱藏',
    'wtl_zoom_in' => '近觀',
    'wtl_shuffle_events' => '刷新事件',
    'wtl_remove_all' => '刪除全部',
    'wtl_show_all' => '顯示全部',
    'wtl_show_wikitimeline' => '顯示維基時間線',
    'wtl_zoom_event' => '近觀',
    'wtl_from' => '從: ',
    'wtl_to' => '到: ',
    'wtl_or' => '或',
    'wtl_remove' => '移除',
 
    'wtl_error_hide' => '隱藏',
    'wtl_error_nospacearrangement' => '無版面空間可作新的安排',
    'wtl_error_nospacenew' => '無版面空間可供顯示新事件',
    'wtl_error_eventtoolarge' => '事件太大了',
    'wtl_error_cannotzoom' => '無法遠觀:太大了!',
    'wtl_error_cannotmove' => '無法移動:太大了!',
    'wtl_error_endlessloop' => 'Endless loop was created',
    'wtl_error_nospaceshuffle' => '無版面空間可供刷新事件',
    'wtl_error_unknown' => '未知的錯誤'

--Roc michael 00:31, 13 December 2008 (UTC)


[edit] Page Loading and Notice Errors

Ever since I installed this extension, sometimes my pages now don't load fully and require a refresh. They seem to only load a few of the starting div elements and the timeline if present but miss the main page content and the side nav bar. If the timeline is not present but has been loaded in that session, the problem also appears.

I am using firefox 3 (3.0.7) and http://www.mediawiki.org/wiki/Extension:PHPBB/Users_Integration

Also until I disabled error notices in the wikitimeline_body.php file I was occasionally getting an error message related to an undefined constant, which I assume might be linked.

Notice: Use of undefined constant firstposwtl - assumed 'firstposwtl'

The error line varied in the high 120s, 127/128 etc.

Here is my site, you sometimes need to spend several minutes with an open timeline to see it, other times it happens immediately and quite often when following a link to edit a page. http://www.spaceworlds.com/holovids/index.php?title=The_Galactic_Timeline - - GM Mark 31 March 2009

  • Update - This problem happens quite often when editing, individual page sections with the timeline open. If I click back and then try to edit again I get the same problem, until I do a full refresh.

I have tried things such as this but as it is random and worse somedays rather than others its hard to judge what is having an effect:

## GM Mark Remove error logging additions

    ini_set('display_errors','0'); 
    ini_set('max_execution_time', '25'); 
    ini_set('max_input_time', '25'); 

## Uncomment this to disable output compression 
$wgDisableOutputCompression = true;


- GM Mark 31 March 2009

I am working on this problem here, your help would be appreciated:

http://www.mwusers.com/forums/showthread.php?t=10387

- GM Mark 4 April 2009

I looked at the files and there is an obvious bug in the code. The thread on msusers.com shows the problem code. --Michael Daly2 17:35, 4 April 2009 (UTC)