to customize my FCKEditor i would like to read the actual article-name of the editing page. (e.g. If i edit the mainpage i want to get the string "mainpage", if i edit page "London" i want to get the string "London").
I tried to get the Page name via Ajax, but it didn´t work out. The php line $string = $wgTitle->getText() always gives me the string "mainpage" and not the actually edited page.
Is there a possibility to get the Mediawiki Pagename directly through FCK? Is there any variable? If not, is the "$string = $wgTitle->getText();" line not correct?
I hope you can help me - (perhaps it´s really really easy )
Get Mediawiki Article Name