Just a question, can I put the link to run a background job in the link to the output file?
for example, if I have <project-file filename="output.txt" make=no/> as the result of <project-file filename="make_output" make=background/>, then can I write something like <project-file filename="output.txt" backgroundmakelink="do_make_output" make=no/>?
Last edit: Andrei Akhmetzhanov 2013-12-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You want to use <project-file filename="output.txt" make=no/> to click through from your page to display the file on a GetProjectFile page, and have a "background make" link on the GetProjectFile page?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For example, if I write <project-file filename="output.txt" pdflink="output.pdf" make=no/>, then I want to have for the background make, similarly to pdflink
Last edit: Andrei Akhmetzhanov 2013-12-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I think you can do it by including a full URL. Something like backgroundmakelink="http://lalashan.mcmaster.ca/theobio/whatever/index.php/Special:ManageProject?project=XX&ww-action=background-make&action-filename=YY". I haven't tried it to make sure, and if it does work, you'll need to make sure the URL is right, because I might have it wrong here.
It may or may not be possible to find a way to put spaces in the link text (i.e. "background make" vs. "backgroundmake" or "do_make_output").
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Correcting the title again. I don't think we actually put "make" among those links in wikitext. It's only on GetProjectFile pages that either "make" or "background make" is found. The option of attaching a "make" link to a project-file tag is an interesting one, which might be relevant to [#443].
(I did something wrong with creating the ticket)
Just a question, can I put the link to run a background job in the link to the output file?
for example, if I have <project-file filename="output.txt" make=no/> as the result of <project-file filename="make_output" make=background/>, then can I write something like <project-file filename="output.txt" backgroundmakelink="do_make_output" make=no/>?
Last edit: Andrei Akhmetzhanov 2013-12-02
You want to use <project-file filename="output.txt" make=no/> to click through from your page to display the file on a GetProjectFile page, and have a "background make" link on the GetProjectFile page?
For example, if I write <project-file filename="output.txt" pdflink="output.pdf" make=no/>, then I want to have for the background make, similarly to pdflink
Last edit: Andrei Akhmetzhanov 2013-12-02
Oh, in the bracketed list of links. I don't think you can do that, but I'll make sure.
something like (see attachment)
Yes, I think you can do it by including a full URL. Something like
backgroundmakelink="http://lalashan.mcmaster.ca/theobio/whatever/index.php/Special:ManageProject?project=XX&ww-action=background-make&action-filename=YY". I haven't tried it to make sure, and if it does work, you'll need to make sure the URL is right, because I might have it wrong here.It may or may not be possible to find a way to put spaces in the link text (i.e. "background make" vs. "backgroundmake" or "do_make_output").
hm... ok, that might be an option (although, it will not be robust, since it is page-dependent)
Thank you, Lee!
It's not dependent on what page you're putting the link on, only on the project name: you can't do a background job without a project.
Maybe WW should put "background make" links there all the time. Changing this ticket's title to help track that possibility.
I think I'll postpone that question until later in my interface overhaul, because there may be a better way to offer these kind of options.
Yes, it is understandable to postpone. Initially, I was curious about "can I write it like that or no?"
Correcting the title again. I don't think we actually put "make" among those links in wikitext. It's only on GetProjectFile pages that either "make" or "background make" is found. The option of attaching a "make" link to a project-file tag is an interesting one, which might be relevant to [#443].
Related
Bugs: #443