[FEAT] Composer biography link autocorrection

Moderators: kcleung, Wiki Admins

[FEAT] Composer biography link autocorrection

Postby KGill » Thu Jul 16, 2009 5:29 pm

I know this isn't exactly major, but in order to save unnecessary edits (and wasted server space), could there be some automatic method of correcting the link you put in when you're creating a composer page? To illustrate:
-Putting in an external link- you have to just put in the link w/out formatting, but an easy mistake could be to put [ ] around it just like you do when you're editing
-Wikipedia links (more confusing)- it formats it like an internal link ([[ ]]), but it's not clear if you're supposed to put in [[ ]] in the actual box...or just [ ]? Putting in merely (for instance) wikipedia:Franz_Schreker into the box on the creation page causes the template to screw up because it formats it as an external link (it just puts [ ] around it), and there needs to be [[ ]] around it with | separating the displayed link text from the actual link.
Again, this is not really a huge problem, but I at least mess up almost every time I create a composer page with a biography link...
Alternatively, I guess a 'preview' function on the creation page could be helpful.
KGill
Copyright Reviewer
 
Posts: 1207
Joined: Thu Apr 09, 2009 10:16 pm

Re: [FEAT] Composer biography link autocorrection

Postby perlnerd666 » Thu Jul 16, 2009 6:35 pm

It's there... the preview.
http://imslp.org/wiki/IMSLP:Composer_Template#External_Linking. It's pretty visible, as if you just clicked on "How to edit this template"....
perlnerd666
Groundskeeper
 
Posts: 1407
Joined: Sun Oct 05, 2008 3:01 pm
Location: U.S.A.

Re: [FEAT] Composer biography link autocorrection

Postby KGill » Thu Jul 16, 2009 7:29 pm

But specifically when the page is being created, won't it still put extra brackets around it (e.g. make it [[[wikipedia:Franz_Schreker|Wikipedia]]] if you just enter two on each end) as a result of the current automation?
KGill
Copyright Reviewer
 
Posts: 1207
Joined: Thu Apr 09, 2009 10:16 pm

Re: [FEAT] Composer biography link autocorrection

Postby perlnerd666 » Thu Jul 16, 2009 8:59 pm

Well, that's actually part of the template. It doesn't put anything around anything.
perlnerd666
Groundskeeper
 
Posts: 1407
Joined: Sun Oct 05, 2008 3:01 pm
Location: U.S.A.

Re: [FEAT] Composer biography link autocorrection

Postby imslp » Thu Jul 16, 2009 9:51 pm

Well... this is actually an interesting observation. I had slight concerns about this too. I can change it such that it will automatically put [[wikipedia:<page name>|Wikipedia]] around the entry if it does not detect a [ at the beginning of the string, and if it does it leaves it alone.

This current behavior is just a holdup from the very very old days (2006) when the composer template creator was written.
imslp
Site Admin
 
Posts: 1472
Joined: Thu Jan 01, 1970 12:00 am

Re: [FEAT] Composer biography link autocorrection

Postby imslp » Thu Jul 16, 2009 9:58 pm

Actually I take back what I said above.

Apparently I've used the add composer page so little that I forgot it separates the link from the link description. I still want to make it more intuitive, but this is not going to be such an easy fix. I will have to think more about it.
imslp
Site Admin
 
Posts: 1472
Joined: Thu Jan 01, 1970 12:00 am

Re: [FEAT] Composer biography link autocorrection

Postby KGill » Fri Jul 17, 2009 1:31 am

Maybe just in case, an extra notice could be put in the template saying how exactly wikipedia links should go in that box?...
KGill
Copyright Reviewer
 
Posts: 1207
Joined: Thu Apr 09, 2009 10:16 pm


Return to Feature Requests / Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests