Template talk:Namespace links/Archive 1
This is an archive of past discussions about Template:Namespace links. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 |
Comparison
See the Lcs, Lps, Lts, and Tlx talk pages for a comparison of the output of some similar templates. -- Omniplex 19:59, 28 March 2006 (UTC)
Monospaced
New trick, using monospaced <tt>(</tt> etc. results in better readable output for "(", "|", ")" adjacent to links. -- Omniplex 18:22, 28 March 2006 (UTC)
No · magic in {{Lx}} please, it's converted to UTF-8 by the server not working on old browsers, see Doctl. And the example here should reflect what Lx actually does. -- Omniplex 18:44, 5 April 2006 (UTC)
fullurl
Locke saw a problem with it, fullurl doesn't work with e.g. spaces in the query string, in the log-case page=what ever
fails. -- Omniplex 02:36, 26 April 2006 (UTC)
- Heck, I saw a problem with it, and tried various remedies.
- Aye, this is also a problem with {{sockpuppet}} I believe (and {{vandal}}). Both of those, IIRC, take a second parameter (the underscored name); one is used for purely cosmetic purposes, the other used to make the log link. So, for example:
{{vandal|Locke Cole|Locke_Cole}}
- Which generates:
- Locke Cole (talk · contribs · deleted contribs · nuke contribs · logs · filter log · block user · block log)
- If you omit the optional second parameter, however, you end up with this:
- Locke Cole (talk · contribs · deleted contribs · nuke contribs · logs · filter log · block user · block log)
- William made a post to Wikitech-l asking about this (to which I've replied), see here. We could kludge up {{lx}} as was done with the vandal and sockpuppet templates, but I believe we should push for magic words to URL encode/decode strings. It would be cleaner/simpler in the long run. —Locke Cole • t • c 03:05, 26 April 2006 (UTC)
- Follow-up, I've entered a bug at bugzilla:5720. I'm starting to think it might be better if this were "fixed" by URL encoding the each parameter rather than introducing more magic words. —Locke Cole • t • c 03:25, 26 April 2006 (UTC)
{{localurl:
almost does what's needed, six characters "/wiki/" too much (and yes, I tested all simple tricks with dots to get rid of it, but that failed as it should - potential security hole). Query strings in URLs are almost free form, anything goes, "=" and "&" are implementaton details, no standard. But "#", space, control, ">", and a few others can be never part of a query string, that's RFC 3986 / STD 66. If fullurl "sees" a space it cannot accept it. -- Omniplex 22:51, 26 April 2006 (UTC)
- I haven't tested localurl, but it should operate the same as fullurl. The entire content of the fullurl is the query part, and it handles spaces appropriately to the left of the first pipe, and then continues processing until the closing braces, but doesn't translate the spaces to underscores. This is a a bug, and further discussion on fixing it should continue at bugzilla:5720, with more detailed descriptive discussion on the mailing list.
- --William Allen Simpson 10:57, 27 April 2006 (UTC)
- Just a note, there is now a {{urlencode:}} magic word.
{{urlencode:blah blah + % blah}}
produces:blah+blah+%2B+%25+blah
(and for direct page links, wikicode treats + the same as _. --> edit this page ) --Splarka (rant) 09:13, 17 June 2006 (UTC)
- Just a note, there is now a {{urlencode:}} magic word.
Fields
At the moment {{lx}}
offers edit, talk, links, history, and watch. I never needed watch, maybe because I've "add to watchlist" in my preferences. Do you use this link in practice? Otherwise I'd like to replace watch by log, something like this:
[{{fullurl:Special:Log|page={{FULLPAGENAMEE}}}} log]
Here's a test log link for Template:! (edit | talk | history | links | watch | logs), what do you think? -- Omniplex 15:36, 13 April 2006 (UTC)
- I use watch from time to time, but also want log (the reason I just came here), so I'm trying to add it now.
Great, AzaToth replaced "watch" by "logs", much more interesting. -- Omniplex 06:23, 26 June 2006 (UTC)
Limit
Is there a reason the limit is set to 999, can it be set higher? - LA @ 20:09, 13 August 2006 (UTC)
Justifying my edit
I say a what links here was between the talk and the history page. This was very disorienting compared to the standard format so I moved it and it looks like I got the code right. Now links is after history. I don't know how touchy people are with this template since it is on all the Afds now (and I think this is a very useful thing), but I think my change improved it. Anomo 02:19, 8 November 2006 (UTC)
Any opposition to my/someone adding a "Delete" link to this or the "la" template?
Now that it is being used in AfDs it would help closing admins as they could delete clear consensus articles directly from the page. Thoughts? Glen 11:35, 8 November 2006 (UTC)
- It would be fine, but it should be the very last link (rightmost) since most people are not admins and it would get in the way if it was before links that non admins could use. Anomo 22:11, 8 November 2006 (UTC)
- There shouldn't be a delete button on it. Even if the discussion is unanimous, the minimum thing the admin should check is if the AfD tag is up on the article. But I propose switching edit and discuss buttons so that they match the order of the tags on top of each page. ~ trialsanderrors 00:11, 22 November 2006 (UTC)
- Although {{Newdelrev}} now uses a separate parenthesis for Special:Undelete. I wonder if we can integrate this here with an #ifexist statement. ~ trialsanderrors 07:38, 17 December 2006 (UTC)
- There shouldn't be a delete button on it. Even if the discussion is unanimous, the minimum thing the admin should check is if the AfD tag is up on the article. But I propose switching edit and discuss buttons so that they match the order of the tags on top of each page. ~ trialsanderrors 00:11, 22 November 2006 (UTC)
class=lx
I added "class=lx" to Template:lx for use in scripts. I realize this isn't currently defined in the stylesheet, but it allows a lot of script functionality. Any objections? —Quarl (talk) 2007-01-01 22:09Z
- No objection, thought you only had made a tyop, thou I wonder what scripts would need/use it. →AzaToth 22:48, 1 January 2007 (UTC)
- Thanks. (One script that uses it is xfdclose.js which adds a bunch of buttons for closing AFDs.) —Quarl (talk) 2007-01-01 23:00Z
Since most AfDs are about whether there is enough WP:RS material, I think we should add the search template (
) as part of Template:Ln or revise Template:Ln to include search strings. I added the search template to Michael Bilsborough AfD to give an example of what a revised Template:Ln may look like. We also could revise the search string to look in more or different places. -- Jreferee (Talk) 16:00, 12 July 2007 (UTC)
- The Ln-templates are used much more than just for afd:s, so it would be a not so good idea. Perhaps better then to adapt {{afd2}} with {{search}}→AzaToth 16:10, 12 July 2007 (UTC)
- Thanks. I'll post my idea over at afd2. Jreferee (Talk) 19:54, 12 July 2007 (UTC)
Edit protection request
{{editprotected}}
Please update {{/doc}} with {{documentation}}. Per Wikipedia:Template documentation/List Thankyou.-- ṃ•α•Ł•ṭ•ʰ•Ə•Щ• @ 05:51, 28 April 2008 (UTC)
- I don't see a /doc to replace, here. :) – Luna Santin (talk) 08:39, 28 April 2008 (UTC)
- This template wasn't actually protected :D! But I've moved the documentation above to a /doc subpage and used
{{documentation}}
. Happy‑melon 10:24, 28 April 2008 (UTC)
- This template wasn't actually protected :D! But I've moved the documentation above to a /doc subpage and used
- Done. Matthewedwards didn't notice that the talk page was redirected, he meant {{Lx}}. --David Göthberg (talk) 20:15, 28 April 2008 (UTC)
{{editprotected}}
Please add <noinclude>{{template doc}}</noinclude> to {{La}}. Thanks. Smith609 Talk 13:39, 2 June 2008 (UTC)
Edit to Template:Lf
{{editprotected}}
I figured that since the Image: namespace is now File:, this edit to Template:Lf should be done.
On Template:Lf, change:
- {{lx|1=:Image:|2={{ucfirst:{{{1}}}}}|3=Image talk|4=talk}}<noinclude>[[Category:Internal link templates|Li]]</noinclude>
- to
- {{lx|1=:File:|2={{ucfirst:{{{1}}}}}|3=File talk|4=talk}}<noinclude>[[Category:Internal link templates|Lf]]</noinclude>
--Lightsup55 ( T | C ) 19:51, 21 January 2009 (UTC)
- This template is not protected. Hersfold (t/a/c) 05:21, 23 January 2009 (UTC)
- Template:Ln is NOT protected (as you stated), however, Template:Lf IS protected. I have made the request using
{{editprotected}}
here with specific instructions to edit Template:Lf because Template talk:Lf redirects to Template talk:Ln.
I even made a change to Template:Editprotected so that when an edit protected request is not directly used on the talk page where the edit is being requested due to the talk page being redirected (i.e. an edit request to Template:Uw-vandalism1 should be done on Template talk:Uw-vandalism1, however, that talk page redirects to Wikipedia talk:Template messages/User talk namespace). --Lightsup55 ( T | C ) 06:56, 23 January 2009 (UTC)- Done The edit to {{lf}} has been made.--Aervanath (talk) 17:49, 23 January 2009 (UTC)
- Template:Ln is NOT protected (as you stated), however, Template:Lf IS protected. I have made the request using
Simplification
Now that the magic word NAMESPACE takes a parameter, a lot of these templates could probably be simplified, no? — Martin (MSGJ · talk) 08:33, 9 March 2009 (UTC)
Error for article titles containing =
Although I realize this arises quite rarely, the current template doesn't appear to work for articles containing a "=" sign, such as P = NP problem. Dcoetzee 09:28, 12 April 2009 (UTC)
- Works if used like this:
{{la|1=P = NP problem}}
: P = NP problem (edit | talk | history | protect | delete | links | watch | logs | views). GregorB (talk) 14:47, 20 April 2009 (UTC) - Or like this:
{{la|P {{eq}} NP problem}}
: P = NP problem (edit | talk | history | protect | delete | links | watch | logs | views). GregorB (talk) 14:49, 20 April 2009 (UTC)
FYI, stats
FYI, {{stats.grok.se}} has recently been fixed, and it should now be able to provide usage statistics from stats.grok.se for any Wikipedia article. This may be a useful tool to include in future link lists such as {{ln}}. --Zach425 talk/contribs 05:08, 11 September 2009 (UTC)
Invalid HTML id
{{editprotected}}
<span id="{{{1}}}"></span>
in {{la}} produces invalid HTML if there any character other than [0-9A-Za-z:.], it should be <span id="{{anchorencode:{{{1}}}}}"></span>
. — Dispenser 18:24, 6 February 2010 (UTC)
- Done — Martin (MSGJ · talk) 18:24, 7 February 2010 (UTC)
condensed version
{{editprotected}} How about a parameter to make all the link titles condensed like this: (e|t|h|l|w|o)?
- I think it is better to do that in a separate template, and even then, i'm not sure it is a good idea. It might make it considerably harder to read for people who are not native English readers. —TheDJ (talk • contribs) 10:27, 22 April 2010 (UTC)
- Could use icons then instead but, considering this is the English language Wikipedia, I don't see that much of a big deal abbreviating English words... —Eekerz (t) 03:06, 23 April 2010 (UTC)
Edit request from Isdinfo, 24 September 2010
http://www.indiasexdirectory.info/index.php —Preceding unsigned comment added by Isdinfo (talk • contribs) 07:04, 24 September 2010 (UTC)
Confusion in talk field
At WP:Help Desk at the moment, there is an entry {{la|User:Sbarie/LogicMonitor}} , but it is being displayed as:
User:Sbarie/LogicMonitor (edit|[[Talk:User:Sbarie/LogicMonitor|talk]]|history|links|watch|logs)
User:Sbarie/LogicMonitor (edit | [[Talk:User:Sbarie/LogicMonitor|talk]] | history | protect | delete | links | watch | logs | views)
In other words, although the other links are apparently working correctly, the talk page is not being properly linked. Presumably this is because it should be [[User talk:Sbarie/LogicMonitor|talk]] (to give talk) instead of [[Talk:User:Sbarie/LogicMonitor|talk]]? - David Biddulph (talk) 17:43, 23 March 2011 (UTC)
- Looking at the documentation, should they have used lu instead of la ? {{lu|Sbarie/LogicMonitor}} gives User:Sbarie/LogicMonitor (edit | talk | history | links | watch | logs) ? - David Biddulph (talk) 17:56, 23 March 2011 (UTC)
Edit request from LikeLakers2, 18 October 2011 (This is for Template:Lx, not Template:Ln!)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Add this code at the beginning on Template:Lx (not Template:Ln!) for the anchoring on WP:RFPP:
- Code now on Template:Lx/sandbox
That would just make it much easier to get to a section on RFPP from a edit summary link. Feel free to shorten it, as the multiline switch usage is just what I generally use, as it looks much cleaner. LikeLakers2 (talk | Sign my guestbook!) 18:52, 18 October 2011 (UTC)
Readded after I removed this request because I realised that the problem I was having was that it was not adding the span tags for the anchor at all, due to the ifeq code I added for this to work only on WP:RFPP. The code intentionally works only on WP:RFPP, as it is the only place where you would see the l* family of templates used a lot. LikeLakers2 (talk | Sign my guestbook!) 19:10, 18 October 2011 (UTC)
- Note to admins: I have indeed tested this with the
====L4 Heading====
format used on RFPP, and it indeed does work, as shown here. However, make sure the end line of my code and the start of the span tag used for the plainlinks does NOT have even a single line break between them, as it will bork the code and cause the header to not work properly, as shown here. - The template has over 200,000 transclusions, (the majority of which are from Template:la) so if you are not sure about this, but are still willing to add it, please make sure you test the scenario before adding it, so as to try to avoid breaking any of the 200,000 transclusions. LikeLakers2 (talk | Sign my guestbook!) 19:23, 18 October 2011 (UTC)
- Please make your proposed changes to Template:Lx/sandbox, as I am still trying to work out what you are trying to do here. Thanks — Martin (MSGJ · talk) 19:46, 18 October 2011 (UTC)
- Done. I've made a test one for you. I had to use the
.7B .7C and .7D
characters in the link for it to work, because otherwise it would have transcluded the template. Try it now. LikeLakers2 (talk | Sign my guestbook!) 20:30, 18 October 2011 (UTC) <LikeLakers2-1> Fluffernutter: How much you wanna bet that the template edit to Template:Lx will cause some downtime?
- Just thought I'd share that. LikeLakers2 (talk | Sign my guestbook!) 20:37, 18 October 2011 (UTC)
- Also, if you need me to make a few more tests for you, let me know. LikeLakers2 (talk | Sign my guestbook!) 20:38, 18 October 2011 (UTC)
- I keep forgetting about the ifeq parser. D: LikeLakers2 (talk | Sign my guestbook!) 20:44, 18 October 2011 (UTC)
- Okay I have looked at your code and scratched my head a bit, and have these comments:
- I understand that this change is for the benefit of WP:RFPP. In general I do not think it is a good idea to change a meta-template just for the benefit of one page. It may be that this behaviour is undesirable on other uses; or we may be adding a lot of complicated code which will not be of benefit to most uses.
- You seem to have thought up and ingenious solution to make anchors work on WP:RFPP (and well done), but I suspect there is a much easier and simpler way to do this, for example by changing WP:RFPP rather than this template.
- As there are some things to think about and discuss here I have disabled the request for now. — Martin (MSGJ · talk) 16:37, 19 October 2011 (UTC)
- Okay I have looked at your code and scratched my head a bit, and have these comments:
- Done. I've made a test one for you. I had to use the
Posted my suggestion at Wikipedia talk:Requests for page protection#Section links in edit summaries. — Martin (MSGJ · talk) 16:46, 19 October 2011 (UTC)
redirect=no
Could this function be added as a switch or default behaviour (for article and talk page)? __meco (talk) 14:04, 7 November 2008 (UTC)
- I agree that this should be the default behaviour. I may go about doing this when I find the time, if nobody has objected by then. BigNate37(T) 15:35, 3 August 2012 (UTC)
{{edit protected}}
Okay, nobody has objected to this change. I have made appropriate changes in sandbox versions of the templates involved, and I have tested them at Template:Lx/testcases. This diff has the necessary changes to Template:Lx. After (and only after) that change is made, these two changes will remove the superfluous colon that appears as a result of new lx. I can fix Template:Ln myself, but Template:Lf is fully protected too, so that one needs to be done as well. Once the responding admin is confident that my changes are correct, here's a simpler rundown of what I want changed:
- At Template:Lx, replace
[[{{{1}}}{{{2}}}]]
with[{{fullurl:{{{1}}}{{{2}}}|redirect=no}} {{{1}}}{{{2}}}]
- Then and only then,
- At Template:Lf, remove the first colon only from
1=:File:
- At Template:Ln, remove the first colon only from
1=:{{ucfirst:{{{1}}}}}:
- At Template:Lf, remove the first colon only from
Once that is done, you can purge and view the Ln page to ensure the example usages aren't broken. I will also update the documentation to note that these templates may now be used for redirects. BigNate37(T) 03:19, 8 August 2012 (UTC)
- All done. The next time I have a template issue, I know who I'm calling on for a fix.--Fuhghettaboutit (talk) 03:41, 8 August 2012 (UTC)
- Thank you. Don't be so hasty putting me on speed dial though, I have erred. While I set about fixing Template:Pagelinks' extraneous colon problem (it's only semi-protected), can you perform another fix for me please: BigNate37(T) 03:51, 8 August 2012 (UTC)
- All done. The next time I have a template issue, I know who I'm calling on for a fix.--Fuhghettaboutit (talk) 03:41, 8 August 2012 (UTC)
{{edit protected}}
- At Template:Lc, remove the first colon only from
1=:Category:
and that should be the end of it. BigNate37(T) 04:29, 8 August 2012 (UTC)
- At Template:Lc, remove the first colon only from
- Done. I just got back.--Fuhghettaboutit (talk) 04:39, 8 August 2012 (UTC)
- Excellent, thank you again! BigNate37(T) 04:43, 8 August 2012 (UTC)
- My pleasure.--Fuhghettaboutit (talk) 04:46, 8 August 2012 (UTC)
- Excellent, thank you again! BigNate37(T) 04:43, 8 August 2012 (UTC)
I do not feel that redirect=no, as well as the use of {{fullurl}}s for all links, is an improvement. Customization of classes such as a.mw-redirect, and even a finer link sorting is not uncommon, but externally-formatted links disrupt the function of this. I found very handy that appearance of any redirect in my Web interface is distinct from regular pages. Certainly, redirecting on attempt to get the main page link may be quite disturbing, but it is not a major problem because "edit" and "history" links are in place. To warn readers about the redirect is not a difficult task.
Generally, such change in the {{lx}} template used by several other templates, based on a discussion in a talk page of one of these templates, was not a good idea. Incnis Mrsi (talk) 07:42, 8 August 2012 (UTC)
- This is the only talk page for the Ln family of templates. The rest redirect here. BigNate37(T) 16:13, 8 August 2012 (UTC)
- The usage you describe for modifying link CSS is of most use when viewing the links within an article. When a link is listed via the pagelinks templates, it is the subject of discussion and the value of immediately seeing its status is lessened. All participants in a discussion about a linked page are going to be acutely aware of what is being discussed, so formatting hits are not essential, they merely tip you off moments before everyone else. You are talking about retaining a special-case convenience of marginal value that few editors use to the exclusion of giving a minor convenience (on the order of preventing three extra clicks) to everyone, and I'm not personally convinced that is worth it. Clicking the history or edit links is more hassle than one wrongly coloured link, as the MediaWiki defect that prevents the article tab (when on edit or history view) from including
&redirect=no
is four years old and counting. - In the time I had to think on your sentiments between last night and now, though, I think there is a solution that could satisfy us both. By adding some extra functionality in {{lx}}, I could create {{lr}} and have it work like for {{pagelinks}} but for redirects, and then we can remove the
&redirect=no
as the default. BigNate37(T) 16:13, 8 August 2012 (UTC)
Documentation transclusion?
Not exactly sure how it works, but when I go to Template:la, there is no documentation. I think it's trying to transclude from Template:La/doc, but there's nothing in that. It would be nice if there was some documentation on Template:la on how to use {{la}}, like there are here on Template:ln.
If you're wondering why I'm posting this here and not on Template talk:la, it's because that redirects here. -kotra (talk) 03:29, 28 December 2008 (UTC)
- Fixed. For others who are passing by, let me save you the page view: this has been fixed (for a while now). BigNate37(T) 16:15, 8 August 2012 (UTC)
Stub status of templates?
Something has gone wrong since yesterday afternoon, in that a bunch of templates such as {{Ln}} are now appearing in Category:Stubs for the first time. Could someone sort it out? I'm mystified - the templates haven't been edited recently so it must be something complicated going on here! PamD 07:00, 10 August 2012 (UTC)
- Fixed. Those colons were all removed when Template:Lx was changed here. That one didn't go back in when the Lx change was reverted, so the link was appearing as
[[Category:Stubs]]
in the examples of Template:Ln/doc, where it should have been[[:Category:Stubs]]
. Thanks for pointing this out. BigNate37(T) 14:28, 10 August 2012 (UTC)
Reduce Template:La size
This edit request to Template:La has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The article-linker Template:La needs to rewritten as much smaller, to allow pages using {La} to be much larger, as in: Template:La/sandbox2. For months, there have been questions about the page WP:Copyright_problems breaking on the final day-entries, as exceeding the post-expand include-size limit of 2,048,000 bytes (2,000 kb). As suspected earlier, a possible fix is to optimize the heavily-used Template:La, repeated thousands of times to link article names & edit/history/watch, to be much smaller. That would make the size of each day's article links smaller, to allow perhaps 70-80 days to fit in the overall WP:Copyright_problems, so that 25-35 more days could be fully displayed. I have condensed {La} by embedding the markup from Template:Lx and optimizing the combined markup, as in Template:La/sandbox2. The results:
- {{La | Continual improvement}} → Continual improvement (edit | talk | history | protect | delete | links | watch | logs | views)
- {{La/sandbox2|Continual improvement}} → Continual improvement
(
edit|
talk|
history|
links|
watch|
logs)
- {{La | 80/20 Rule}} → 80/20 Rule (edit | talk | history | protect | delete | links | watch | logs | views)
- {{La/sandbox2|80/20 Rule}} → 80/20 Rule
(
edit|
talk|
history|
links|
watch|
logs)
- {{La | better Than Ever}} → Better Than Ever (edit | talk | history | protect | delete | links | watch | logs | views)
- {{La/sandbox2|better Than Ever}} → Better Than Ever
(
edit|
talk|
history|
links|
watch|
logs)
Also, the results have been tested with secure-login, to retain prefix "https:" because we do not want to risk an accidental link to non-secure http-protocol URLs. After updating, then the new, smaller version would make numerous article-maintenance pages almost 2x smaller (60%) and faster to process.
Impact: Template:La is used in "200,958" pages. After update, the page WP:Copyright_problems (edit) should reformat (or edit-preview) within the limit of the post-expand include size, rather than exceeding the limit as 2048000/2048000 bytes (will stop the message: "Warning: Template include size is too large"). -Wikid77 (talk) 03:25, 11 October 2012 (UTC)
- Done -- WOSlinker (talk) 11:33, 13 October 2012 (UTC)
testcases appearing in Stubs category
The page Template:Lx/testcases is appearing in Category:Stubs and I can't see how to fix it without risking breaking something. Could someone who understands it please fix it so we can empty the stubs category? Thanks. PamD 08:37, 18 January 2013 (UTC)
- It should be fixed now. — Carl (CBM · talk) 13:09, 18 January 2013 (UTC)
Edit request from Technical_13, 26 March 2013
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'm requesting that Template:Lx (edit | talk | history | links | watch | logs) and Template:Lu (edit | talk | history | links | watch | logs) be replaced with Lx/sandbox and Lu/sandbox respectively to allow alternate text to be entered as in Lx/testcases and Lu/testcases. — User:Technical 13 ( C • M • Click to learn how to view this signature as intended ) 21:42, 26 March 2013 (UTC)
- Not done: I've seen people request alternate text for user links templates before (the last time was at {{user-multi}}) but it saw some opposition. I tend to agree, as well - if we are going to list links to a username, I personally would prefer to see the actual username rather than an alias, as aliases could be confusing or even misleading. I don't have anything against actioning this request if there is a consensus to do so among a wider group of editors, however. Two ways you could try and get such a consensus would be to post on a noticeboard (probably WP:VPT) or to start an RfC. VPT is probably the easier and quicker of the two, so I'd start with that first. Best — Mr. Stradivarius ♪ talk ♪ 01:42, 27 March 2013 (UTC)
- What I am hoping to accomplish is to shorten the link name. For example, if you wanted to list subpages of User:ThisOrThatLongAsHeckUserName/My_Creations/UserBoxes/ in a table format on that page, and one of the subpages was for example User:ThisOrThatLongAsHeckUserName/My_Creations/UserBoxes/Operating_Systems/Microsoft_Windows/Version_8/Without_graphics. Using the template as it currently is results in:
- User:ThisOrThatLongAsHeckUserName/My_Creations/UserBoxes/Operating_Systems/Microsoft_Windows/Version_8/Without_graphics (edit | talk | history | links | watch | logs)
- What I would prefer to see is:
- User:ThisOrThatLongAsHeckUserName/My_Creations/UserBoxes/Operating_Systems/Microsoft_Windows/Version_8/Without_graphics (edit | talk | history | links | watch | logs)
- What I am hoping to accomplish is to shorten the link name. For example, if you wanted to list subpages of User:ThisOrThatLongAsHeckUserName/My_Creations/UserBoxes/ in a table format on that page, and one of the subpages was for example User:ThisOrThatLongAsHeckUserName/My_Creations/UserBoxes/Operating_Systems/Microsoft_Windows/Version_8/Without_graphics. Using the template as it currently is results in:
- Which although is still fairly long, is still much shorter than the full version. I have no issue with re-writing the template to use a boolean argument of perhaps |short= and use the {{#titleparts:}} parser function to know how much of the subpage to abbr into a "." -- Would this be okay instead? There would be no chance of confusion this way. — User:Technical 13 ( C • M • Click to learn how to view this signature as intended ) 11:59, 27 March 2013 (UTC)
- Not done: please establish a consensus for this alteration before using the
{{edit protected}}
template. --Redrose64 (talk) 13:58, 27 March 2013 (UTC)
- Not done: please establish a consensus for this alteration before using the
- Which although is still fairly long, is still much shorter than the full version. I have no issue with re-writing the template to use a boolean argument of perhaps |short= and use the {{#titleparts:}} parser function to know how much of the subpage to abbr into a "." -- Would this be okay instead? There would be no chance of confusion this way. — User:Technical 13 ( C • M • Click to learn how to view this signature as intended ) 11:59, 27 March 2013 (UTC)
Edit request on 5 September 2013
This edit request to Template:La has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
- First, I would like to request that the template be modified to use:
<span id="{{anchorencode:{{{1}}}}}"></span><span class="plainlinks nourlexpansion lx">[[{{ucfirst:{{{1|Article}}}}}]] <kbd>(</kbd>[{{fullurl:{{{1}}}|action=edit}} edit]<kbd>|</kbd>[[Talk:{{{1}}}|talk]]<kbd>|</kbd>[{{fullurl:{{{1}}}|action=history}} history]<kbd>|</kbd>[{{fullurl:{{{1}}}|action=protect}} protect]<kbd>|</kbd>[{{fullurl:Special:Whatlinkshere/{{{1}}}|limit=999}} links]<kbd>|</kbd>[{{fullurl:{{{1}}}|action=watch}} watch]<kbd>|</kbd>[{{fullurl:Special:Log|page={{urlencode:{{{1}}}}}}} logs]<kbd>|</kbd>[http://stats.grok.se/en/latest90/{{urlencode:{{{1}}}|WIKI}} page views (90d)]<kbd>)</kbd></span>
- Doing this will add a link to check how many page views an article nominated for deletion has which would be of use in determining if Redirect might be more appropriate than Delete if it is a likely search term.
- I listed that one first as I expect it to be most likely accepted...
- Secondly, I would like to address the length of the string of links available. It is quite a long list and I would like to see a way of making it shorter offered to individuals. I propose wrapping "extra" characters for each link in a classed span that would allow editors to add a little CSS to their Special:MyPage/common.css and have a condensed version. Something to the effect of:
<span id="{{anchorencode:{{{1}}}}}"></span><span class="plainlinks nourlexpansion lx">[[{{ucfirst:{{{1|Article}}}}}]] <kbd>(</kbd>[{{fullurl:{{{1}}}|action=edit}} e<span class="ln-condensed-link-list">dit</span>]<kbd>|</kbd>[[Talk:{{{1}}}|t<span class="ln-condensed-link-list">alk</span>]]<kbd>|</kbd>[{{fullurl:{{{1}}}|action=history}} h<span class="ln-condensed-link-list">istory</span>]<kbd>|</kbd>[{{fullurl:{{{1}}}|action=protect}} p<span class="ln-condensed-link-list">rotect</span>]<kbd>|</kbd>[{{fullurl:Special:Whatlinkshere/{{{1}}}|limit=999}} l<span class="ln-condensed-link-list">i</span>nk<span class="ln-condensed-link-list">s</span>]<kbd>|</kbd>[{{fullurl:{{{1}}}|action=watch}} w<span class="ln-condensed-link-list">atch</span>]<kbd>|</kbd>[{{fullurl:Special:Log|page={{urlencode:{{{1}}}}}}} l<span class="ln-condensed-link-list">ogs</span>]<kbd>|</kbd>[http://stats.grok.se/en/latest90/{{urlencode:{{{1}}}|WIKI}} p<span class="ln-condensed-link-list">age </span>v<span class="ln-condensed-link-list">iews (</span>90<span class="ln-condensed-link-list">d)</span>]<kbd>)</kbd></span>
- This specifically would allow users to add the following to their Special:MyPage/common.css:
/* Condense list of links see on XfD pages */
span.ln-condensed-link-list{
display: none;
}
- Doing this would make bullet A below look like bullet B:
- Thanks for your consideration on both of these requests. Technical 13 (talk) 16:54, 5 September 2013 (UTC)
Technical 13 (talk) 16:54, 5 September 2013 (UTC)
- Not done for now: Per WP:TESTCASES, please put your proposed new version into the template's sandbox, and set up some testcases, in order to demonstrate that not only is your proposal beneficial, but that it does not compromise existing usage. --Redrose64 (talk) 19:08, 5 September 2013 (UTC)
- the template's sandbox and testcases exist. Technical 13 (talk) 19:38, 5 September 2013 (UTC)
- Done. I've expanded the test cases so that the sandbox and main template can be compared easily, and I've indented the template code for readability. — Mr. Stradivarius ♪ talk ♪ 16:07, 9 September 2013 (UTC)