Template talk:New articles: Difference between revisions
→Automation: new section |
|||
| Line 7: | Line 7: | ||
== Automation == | == Automation == | ||
It's probably possible to automate this. The code to automate a simple bulleted list of the newest articles is already available, and I've deployed it on several of my wikis; see [[mw:Extension:Recent Pages]]. However, I think we would want more advanced functionality; specifically, the first sentence of the article. What I have in mind is an extension to go through the | It's probably possible to automate this. The code to automate a simple bulleted list of the newest articles is already available, and I've deployed it on several of my wikis; see [[mw:Extension:Recent Pages]]. However, I think we would want more advanced functionality; specifically, the first sentence of the article should be displayed, much like what we have made available manually at [[:Template:New articles]]. What I have in mind is an extension to go through each of the new pages and search for and display that first sentence: | ||
*Skip past all opening templates (e.g. infoboxes). | *Skip past all opening templates (e.g. infoboxes). | ||
*A cue that the sentence is over would be a punctuation mark followed by a space. | *A cue that the sentence is over would be a punctuation mark followed by a space. | ||
Revision as of 19:34, 5 October 2012
This section strikes me as a rather important. The title suggests that it is provided for in some kind of automatic way, whereas we know that it must be changed by hand. I hope that users will keep this section constantly in motion, and not be shy about adding new contributions. If a user clicks on an item that is disappointing, fine. Perhaps he or she will feel inspiration to add to it --Jatucker 15:41, 14 November 2010 (CST)
- I agree. I've edited the link title at the bottom right, and will directly encourage users who create articles to add their articles to this box as I see them. --Forgottenman (talk) 17:12, 14 November 2010 (CST)
- I would agree with important, as do at least three recent vandal editors. Do you think it is time to protect this page? Pestergaines 05:01, 21 November 2010 (CST)
- I'd prefer not to, if possible. I'm not sure what the threshold is for "new" users... on WP I think it's four days or so but I'm not sure here. I'd rather be able to encourage new users to add their texts here, without having to worry about that restriction. --Forgottenman (talk) 13:28, 23 November 2010 (CST)
- This is getting rather ridiculous. I've protected the page to prevent anonymous users and new users from editing. We need to find out what the definition is for "new user". --Forgottenman (talk) 15:49, 27 November 2010 (CST)
- I'd prefer not to, if possible. I'm not sure what the threshold is for "new" users... on WP I think it's four days or so but I'm not sure here. I'd rather be able to encourage new users to add their texts here, without having to worry about that restriction. --Forgottenman (talk) 13:28, 23 November 2010 (CST)
- I would agree with important, as do at least three recent vandal editors. Do you think it is time to protect this page? Pestergaines 05:01, 21 November 2010 (CST)
Automation
It's probably possible to automate this. The code to automate a simple bulleted list of the newest articles is already available, and I've deployed it on several of my wikis; see mw:Extension:Recent Pages. However, I think we would want more advanced functionality; specifically, the first sentence of the article should be displayed, much like what we have made available manually at Template:New articles. What I have in mind is an extension to go through each of the new pages and search for and display that first sentence:
- Skip past all opening templates (e.g. infoboxes).
- A cue that the sentence is over would be a punctuation mark followed by a space.
- Wikilink the first item that is bolded in that first sentence; that's the page title.
- If no suitable sentence is found, ignore that page.
Nathan Larson (talk) 23:34, 5 October 2012 (MSD)