Kushal Koolwal wrote:
>> Take
>> "file:///Z:/my project/data is really important for the company"
>> should that be a link to file:///Z:/my ? file:///Z:/my%20project/data?
>> file:///Z:/my%20project/data%20is%20really%20important ?
>> The space is a separator=2C and I don't think you can simply incorporate
>> all spaces into urls without breaking everything.
> 
> I am not sure if I understood your question completely but let me explain t=
> his with an example:
> 
> Say I have a file link in my wikitext as:
> file:///Z:/my project/data is really important for the company.pdf
> 
> and I would it to convert automatically as:
> file:///Z:/my%20project/data%20is%20really%20important%20for%20the%20compan=
> y.pdf
> 
> So basically all the "spaces" are converted to "%20".
> 
> Kushal Koolwal

I understood that. But I also think you don't want
"file:///Z:/my project/data is really important for the company.pdf
(created by the boss)" to convert automatically to
"file:///Z:/my%20project/data%20is%20really%20important%20for%20the%20company.pdf%20created%20by%20the%20boss)"

Really, using a template passing the filename as a parameter, as i
mentioned at the beginning, and Haim is now resuggesting, is the way to go.


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to