Posted by jonhattan on August 11, 2009 at 10:18am
| Project: | Drupal.org project link filter |
| Version: | 6.x-2.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
It could be very nice to use this syntax in addition to current one:
api.module|"The API module"
so if the pipe character is present after the matching pattern, the following text is used as the text for the link, instead of the project name.
Comments
#1
Yes it would!
I'd happily apply a patch, if one is supplied.
#2
so a patch is supplied :)
Note I'm not good at all with regexes. Anyway the tests I've made all have worked fine.
#3
I applied this patch to the 6 branch and it works. Thanks.
But after using it for some times, I find typing | and the quotes difficult and not really easy in terms of usability.
I think something like api.module(Api module) is easier.
What do you think?
#4
After a second thought, I tend to not agree with this addition. This module is simple to use, and does a fairly good work at what it's aimed to do.
I feel that adding complexity (a.k.a. features) to it may damage it's ease of use.
Of course - I guess using this syntax won't be compulsory, but still - simplicity has it's advantage.
In any case - I'm not determining anything, just adding my 2 cents.
#5
After a second thought, I tend to not agree with this addition. This module is simple to use, and does a fairly good work at what it's aimed to do.
I feel that adding complexity (a.k.a. features) to it may damage it's ease of use.
Of course - I guess using this syntax won't be compulsory, but still - simplicity has it's advantage.
In any case - I'm not determining anything, just adding my 2 cents.
#6
I have found some use cases for this, which make me want to go "for" this addition.
eg. "To create complex layouts in Drupal, you should use this module" where "this" here would be a link to the panels page, as opposed to using the module name which will print Panels.
But I agree that too much features will make the module complex and harder to get into Drupal.org. I think if we can found a way to make this feature accessible and easy to use, it might be a good addition to the module.
Fight! :)