Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a44c4a656b4aa691

Jump to content

Template talk:Split article

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

"diff" parameter

[edit]

|diff = url of diff of copying the material

Is that URL for the newly created page's first diff, or for the diff of the original page in which the material was removed? -- Intractable (talk) 16:31, 12 March 2009 (UTC)Reply

The "diff" parameter currently refers to the URL of destination page into which the text was inserted. However, I think that it would be helpful to also add parameters "from_oldid" (ID of the page revision of the source page before the text was removed) and "to_oldid" (ID of the page revision of the destination page before the text was inserted - not applicable when the text was copied into the first revision of the destination page) so that the template should read:
Material from this version of the associated project or article page was split into [name of destination page]...
(as in Template:Copied). -- -- -- 08:11, 28 August 2015 (UTC)Reply

Your help requested at WP:Split

[edit]

Greetings, template experts!

I'm a newbie, and I'm wise enough to say so, so pardon me if I'm doing things the "wrong" way or seem to be out of place. I'm trying to learn all I can and practice techniques in my own userspace before attempting to do things in the "real world" and inadvertently causing a big stir, as newbies are wont to do.  :-)

I'm soliciting comments from folks familiar with this template and with Template:Split to about how these tools were intended to be used and what their correct usage should look like. This is essential for a discussion we're having on how to properly split an article, and intend to properly update WP:SPLIT to reflect what we've learned. I think I'm not the only one who's a bit confused about how this template is to be used and what the final result should look like.

I'm actually an old computer geek, myself, and pretty good at writing documentation, so I can certainly help there ... but where we're weak is understanding specifically what the template is calling for. All contributors to these and related templates are welcome, so we can have a full understanding and agreement on complex and important issue.

Thanks in advance for your help and comments! Djdubay (talk) 13:39, 17 June 2013 (UTC)Reply

Merge

[edit]

This template is a merge of {{Split from}} and {{Split to}} made similar to {{Copied}} after this TfD. I find the merged template names ironic. —PC-XT+ 10:24, 3 October 2016 (UTC)Reply

Notes for improvement

[edit]

Discussion moved from TFD Holding Cell

[edit]
  • 2016 March 15 – Split from ( links | transclusions | talk | doc | sandbox | testcases ) with {{Split to}} to create {{Split article}}
    • Where are we on this? Someone commented on the TfD page... —PC-XT+ 04:15, 3 October 2016 (UTC)Reply
      • Elvey needs to hold their horses (and change their username link to a colour other than red), as there are a ton of templates that still need work done. Using the old templates isn't the end of the world - as soon as the new template is up and running all old transclusions will undoubtedly be shifted over. BU Rob13 created {{split article}} but it looks like that work stalled. If it's super-time-critical I can make it my next priority, but I wasn't planning on it. Primefac (talk) 04:38, 3 October 2016 (UTC)Reply
      • If I understood the plan better, I'd try to help. It looks like the documentation could use updating? Maybe I'll wade in there... I've been too busy to do much for these templates in a while, unfortunately. I don't mean to exaggerate the importance of this one. Thanks for the reply and all you do. ;) —PC-XT+ 05:15, 3 October 2016 (UTC)Reply
        • I honestly haven't looked at the situation so I have no idea what needs doing. Do what you can, no worries if you don't have time. It will get done eventually ;) Primefac (talk) 05:25, 3 October 2016 (UTC)Reply
          • I found the template wasn't quite ready for use. Per the TfD, I made it a little more like {{Copied}} to help standardize its usage. The parameters tend to be used in various ways, probably due to the confusion mentioned in the discussion. I think a bot could sort out most of the transclusions, even filling in or correcting some items while it's there. Diffs would have the most information, dates and times could help find diffs, and if only given page names, the younger page may have a relevant diff in its early history. If we have the resources, revisions could be verified by checking for resemblance in material removed from one and added to the other, (perhaps with something like a copyvio checker?) Just my thoughts for now... —PC-XT+ 11:03, 3 October 2016 (UTC)Reply
            • With 1875 pages using these two templates (757/from 1100/to) I think that finding diffs is going to be problematic (even with a bot). Fortunately {{split to}} only had three params, so I've made it into a wrapper for {{split article}}. Also, given how this is turning into a conversation, I'm going to move it to Template talk:Split article. Primefac (talk) 21:18, 8 October 2016 (UTC)Reply
              • Wrapping is fine with me. I'd started thinking about it, myself. Thanks for doing that one. I'll try to look into the other if it's not done yet when I get a chance. I might try to do a few api edits or reads separately to see how hard it is to check for problems. I think these wrappers could be bot substituted before then, as there are other ways to remember which pages have been checked and I don't know of another reason to keep them longer. —PC-XT+ 17:08, 11 October 2016 (UTC)Reply

Well PC-XT, I found an interesting problem which we might want to solve (we could always ignore it though). On pages like Talk:History of Sierra Leone (1961–78) we need two transclusions of the template to show two splits to the page. This would mean we'd have to add in multiple "from" params, which would basically look like {{{fromX|{{{from|}}}}}}. While I don't want to convert to Lua, the fact that articles with >10 splits exist (and this issue) might necessitate it. Primefac (talk) 22:57, 31 October 2016 (UTC)Reply

However, in some good news, I've managed to get it to the point where the only pages left transcluding {{split from}} are ones that only have one split listed (which will make substitution much cleaner). The only issue (for it and {{split to}}) is the potential for the wrong diffs to be assigned, but honestly there's no good way to check 1500 articles (people will just have to figure it out). Primefac (talk) 23:07, 31 October 2016 (UTC)Reply

Does not work with Template:Diff - change request

[edit]

Since I made the split in multiple edits for two article, I had to use Template:Diff at Talk:Baptism of blood. However, as you can see, the parameter diff = of Template:Split article does not handle Template:Diff properly. Can anyone update Template:Split article so that it can work properly with Template:Diff? Veverve (talk) 14:48, 27 December 2021 (UTC)Reply

I think the short answer is "no", because there is a better way that uses existing architecture. I will say, though, not many folks seem to know you can define a start and end point of a diff, so good on you for attempting something that (on the surface) should work. Primefac (talk) 15:39, 27 December 2021 (UTC)Reply