On Thu, 21 Nov 2013 19:01:52 +0100, Daniel Friesen <[email protected]> wrote:
var title = Title::newFromText( 'Foo' );
if ( title ) { // Invalid titles may be null
title->getUrl();
}
This was clearly supposed to be:
var title = mw.Title.newFromText( 'Foo' );
if ( title ) { // Invalid titles may be null
title.getUrl();
}
:)
--
Matma Rex
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
