Select article by id instead of title?

6 views
Skip to first unread message

Sven

unread,
Dec 13, 2011, 5:25:44 AM12/13/11
to mw...@googlegroups.com
Hello.

Is there a way to select the article to be rendered (by mw-render) by the id element
instead of the title element?

If this is not possible, what is the recommended way to pass titles with special characters to
mw-render?

Thanks for your time.

Ralf Schmitt

unread,
Dec 13, 2011, 5:34:00 AM12/13/11
to mw...@googlegroups.com
Sven <hart...@gmail.com> writes:

> Hello.
>
> Is there a way to select the article to be rendered (by mw-render) by the
> id element
> instead of the title element?

IMHO that's not possible.

>
> If this is not possible, what is the recommended way to pass titles with
> special characters to
> mw-render?

mw-render assumes command line arguments are utf-8 encoded. You should
be able to copy & paste titles from your web browser. $LANG must
probably be set for that to work. I've set $LANG to en_US.UTF-8, and
it's working for me.

--
Cheers
Ralf

Reply all
Reply to author
Forward
0 new messages