![]() | This is an archive of past discussions. 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 | → | Archive 5 |
![]() | Please dream up new features, and post threads for them below... |
How could we automatically generate the number of how many articles there are for the subject of a portal? So it can report: Wikipedia has "9,999 articles on geology", for example. — The Transhumanist 21:14, 27 May 2018 (UTC)
{{PAGESINCATEGORY:categoryname}}
. eg. "96 articles on geology". But I can't be sure how this deals with subcategories and it is marked as being an expensive call.
JLJ001 (
talk)
18:42, 28 May 2018 (UTC)How far away are we from being able to do this? Are there resources that could be added to Wikipedia to facilitate this? If so, what are they? — The Transhumanist 03:11, 28 May 2018 (UTC)
It probably used something like:
str = "Are you actually God?" /*Input */ if string.find(str, "God") then print "I am God, sacrifice your virgins" else print "I don't understand" end
Cesdeva (talk) 18:20, 28 May 2018 (UTC)
In a similar way to {{ transclude selected current events}}. Maybe with some randomisation. - Evad37 [ talk 03:32, 28 May 2018 (UTC)
dyk-blurb= #
parameter? —
The Transhumanist
05:05, 28 May 2018 (UTC)
dyk-blurb = #
parameter limits the number of entries to "#". —
The Transhumanist
06:19, 31 May 2018 (UTC) Done as {{
Transclude selected recent additions}} -
Evad37 [
talk
11:40, 3 June 2018 (UTC)
A simple bot/script. You direct it at a category and it returns a list of pages not using a specified template. So if I input {{Portal|Suffolk}} as the template to search for, and Category:Suffolk as the category to search, the bot would search the category recursively and give me a list of pages which don't have the tag. JLJ001 ( talk) 16:56, 28 May 2018 (UTC)
Often, there is a lot of white space in one column because there is so much more in the opposite column. It would be nice if portals auto-adjusted for this. Any ideas on how? — The Transhumanist 17:03, 28 May 2018 (UTC)
@ The Transhumanist: and others
Should we have some sandboxes attached to this WikiProject?
I'm losing track of the content in my sandboxes and it's not great having all this portal development marked as userspace edits. Cesdeva (talk) 18:34, 28 May 2018 (UTC)
![]() | General portal design discussions go here. |
I'd like to call your attention to Portal:Nanotechnology, which I designed with a distinct visual style. The portal uses Template:Voyage box, so named because it's loosely inspired by Wikivoyage's Main Page layout. Please feel free to use the template to lay out your own portals if you choose. Antony–22 ( talk⁄ contribs) 10:06, 19 May 2018 (UTC)
So I am still trying to find a portal design that looks good, so I thought perhaps if people could put forward portals they are particularly pleased with. I for one have made Portal:Suffolk with interesting features. And as mentioned above Portal:Opera is a good portal, and Portal:Nanotechnology is an interesting alternative. The best portals may be put forward in a new draft guideline as portals to emulate when working on other portals. JLJ001 ( talk) 08:21, 23 May 2018 (UTC)
display:inline-block;
css value that makes them sit neatly when PortalButton won't.
JLJ001 (
talk)
13:48, 23 May 2018 (UTC)
Obviously, portals have a style different from what articles use. Yet many style principles should still apply. Minimally, it seems that since Portal titles often appear in articles, they should respect MOS:CAPS and MOS:DASH and such. Yet there has been a bit of pushback trying to get there, and I was advised to "Go to WT:Portals do an RfC to confirm that MOS applies to Portal titles." Is this really worth an RFC? I'll start one if someone seriously suggests that the MOS does not apply to portal titles in spite of what recent RM discussions seem to show. Dicklyon ( talk) 04:46, 24 May 2018 (UTC)
Well, I didn't really mean to have the debate yet, just to get comments on whether it's worth an RFC. Dicklyon ( talk) 21:01, 24 May 2018 (UTC)
Good ideas. But do we have a question to put to an RFC, or should we just work on on it along the lines that Moxy suggests? Dicklyon ( talk) 04:18, 25 May 2018 (UTC)
I started a draft at Wikipedia:Manual of Style/Portals; feedback and improvements are welcome - Evad37 [ talk 09:36, 25 May 2018 (UTC)
It may be an idea to mention WikiProject specific style. For example MOS:IS, which in this case should ideally apply to Indian portals. Cesdeva (talk) 14:37, 25 May 2018 (UTC)
I'm working on a different way (than 2-Columns) to make portals scale down. Knowing my luck this approach has probably been scrapped before, but I'm giving it my best shot.
You can prevent divs overflowing by using this as a portal wrapper:
<!-- Wrapper --> __NOTOC__ __NOEDITSECTION__ <div id="container" style="position:relative; width:100%"> </div> <!-- Wrapper end -->
Then add this to CSS of divs to stop text-overflow where it occurs:
;word-wrap:break-word">
And use this instead of px for sizing nested divs:
;width:%">
Fairly straightforward. I'm working on getting this into template form but that's a work in progress.
Any feedback would be appreciated.
Kind regards, Cesdeva (talk) 18:05, 8 May 2018 (UTC)
I was confused how the two-column layout actually managed to function, until I noticed some lines of markup in the Mediawiki common.css. I'm posting the css here in case it wasn't just me who was wondering.
/* For portals, added 2011-12-07 -bv On wide screens, show these as two columns On narrow and mobile screens, let them collapse into a single column */ .portal-column-left { float: left; width: 50%; } .portal-column-right { float: right; width: 49%; } .portal-column-left-wide { float: left; width: 60%; } .portal-column-right-narrow { float: right; width: 39%; } .portal-column-left-extra-wide { float: left; width: 70%; } .portal-column-right-extra-narrow { float: right; width: 29%; } @media only screen and (max-width: 800px) { /* Decouple the columns on narrow screens */ .portal-column-left, .portal-column-right, .portal-column-left-wide, .portal-column-right-narrow, .portal-column-left-extra-wide, .portal-column-right-extra-narrow { float: inherit; width: inherit; } }
Independently of Broter, I have reconstructed Portal:Underwater diving as a nearly one-page portal. It also only calls subpages /Boxheader, /Boxfooter and /Opentask. The effects are very similar to Broter's work
I would like to make new templates for Boxheader and Boxfooter which take the background and foreground colours as parameters, so they can be used for all portals. It would also be good to standardise on a set of colour schemes that are properly accessible to international standards, which could reduce to only one parameter.
The Opentask page should come from the relevant WikiProject, to avoid duplication. This would reduce the portal to a single page.
I use a slightly different system to randomise selected items, which I think is easier to use and allows more tweaking, but takes a bit more space. Comments and suggestions welcome Cheers, · · · Peter (Southwood) (talk): 07:57, 16 May 2018 (UTC)
I am also experimenting with a randomised banner header based on the system used on Wikivoyage and my user page. It provides a little extra related information, but mostly looks pretty. If anyone else decides to try this, the standard for banners on Wikitravel is maximum resolution, exactly 1:7 aspect ratio. I recommend sticking to that as it allows cross project use where applicable. I want to get the page name to display over the banner, and a ToC could be added for the boxed sections, displayed as on Wikivoyage. The coding should all be available at Wikivoyage, but the main template has some dependencies I don't follow. My coding is a bit of a kludge, but works well enough for demo purposes. · · · Peter (Southwood) (talk): 08:08, 16 May 2018 (UTC)
I have now bypassed the /Box-header and /Box-footer subpages. The only subpage left is /Opentask, which will be moved to a subpage of the WikiProject. · · · Peter (Southwood) (talk): 12:56, 16 May 2018 (UTC)
Opentask now superseded by a "To do" subpage of the project, which admittedly needs some formatting work. Now a one-page portal · · · Peter (Southwood) (talk): 08:41, 17 May 2018 (UTC)
I have been experimenting with a simple way of creating a single page portal from scratch. And in doing so I have developed Template:Dead simple portal. This template allows anyone with good wikitext coding skills to create a single-page portal by subst-ing the template. I have tested it, and while not perfected yet, I made Portal:Sark and Portal:Norfolk with it. JLJ001 ( talk) 00:12, 22 May 2018 (UTC)
Some portals are built with a multipage interface, such as being menu-driven or nav-bar-driven, like Portal:Association football.
Could these be made single-page, while retaining their "multi-page" interface/look/feel? — The Transhumanist 20:08, 31 May 2018 (UTC)
![]() | Specific portal section discussions go here. |
![]() | Specific portal section discussions go here. |
@ Certes, Evad37, Slambo, Waggers, Pbsouthwood, Galobtter, Redrose64, Johnuniq, GreenC, JLJ001, and AfroThundr3007730: It was established in Wikipedia talk:WikiProject Portals/Archive 4#Listing category members in a module or template that importing names from a category from within a lua module is not possible at this time. So, how can we do this by user script? We need a tool that an editor can use so he/she doesn't have to copy/paste the article names by hand into the template on the portal base page. JWB fetches titles from a category, so it should be fairly straight-forward (however, JWB's source is still Greek to me and I can't fathom how it does it). We need a script that fetches the titles from a category prompted from the user, with a default of the subject of the portal, and then inserts a {{ Transclude random excerpt}} template on the portal base page with those titles included as parameters in the template. I very much look forward to your replies. Sincerely, — The Transhumanist 02:58, 28 May 2018 (UTC)
categorytree
function which returns a list of pages as labyrinthine HTML; perhaps there is an option to use a more helpful format. Alternatively,
mw:API:Query has a categorymembers
function: example
here. This query only returns the first few pages (see
here for how to "continue") and probably excludes subcategories. The
API sandbox may be useful.
Certes (
talk)
10:58, 28 May 2018 (UTC)
Yes, it should be possible for a lua module to parse the wikitext of an index/outline page, extract the links, and pass them through to random excerpt module. - Evad37 [ talk 06:51, 30 May 2018 (UTC)
{{
Transclude linked excerpt|Somepage}}
to show an excerpt from a page chosen randomly from those linked from Somepage. Replacing Somepage by
Outline of geography (the first search suggestion for "outline of") might get us an excerpt from
Outline (list) or
Discipline (academia), neither of which are relevant. Heuristics such as excluding the lead and only considering the first wikilink on each line might help but wouldn't work everywhere. I think Somepage needs to be a new list in portal space. An editor can create that page manually using their skill and judgement, which may be as simple as copy-pasting
Outline of … with the irrelevant links removed. Alternatively, a bot can maintain the page as a list of articles in one or more related categories. That should give us the flexibility we need for most portals. Does that work?
Certes (
talk)
10:05, 30 May 2018 (UTC)
Here's a suggestion for importing article titles to some minimal-maintenance portals.
{{
Transclude linked excerpt|{{FULLPAGENAME}}/Titles}}
in the main portal.That should give us the lead of a random FA from the latest list. Worth a try? Certes ( talk) 17:53, 2 June 2018 (UTC)
Is it possible to pull random article from selected article pool of a number of other portals? For example, I'd like to pick the selected article for Portal:SAARC from the selected articles of the below portals:
I am sure the same concept can be useful in other portals which follow a hierarchy.
Possible? Arman ( Talk) 11:15, 4 June 2018 (UTC)
Any ideas of how to automate this without relying on Commons categories, which are often not very reliable? Images already used in topic articles could be used as a stockpile, but often an image is meaningless when displayed in isolation, and the caption from the article is intended for use in the context of the article. Alt text may be useful in those rare cases where it exists, but I doubt there are enough of them to be worth considering as a default method. · · · Peter (Southwood) (talk): 05:21, 26 April 2018 (UTC)
@ Certes, Evad37, Slambo, Waggers, Pbsouthwood, and Galobtter: To automate the selected pictures section of portals, it looks like we will need a template that displays random pictures. Kind of like what {{ Transclude random excerpt}} does for excerpts. Does anything like this already exist? If not, what are the issues that need to be overcome? What details do you need to be able to write it? Will it require a lua module? I very much look forward to your replies. Sincerely, — The Transhumanist 02:05, 28 May 2018 (UTC)
I'm after something similar for PortalButton. Multiple templates can form a nice gallery, but can only take manual input of file names. I'd really like to code a default ratio of div width:image width into the template too. Cesdeva (talk) 16:31, 28 May 2018 (UTC):
Is there any option other than wikinews to fill news sections? Wikinews is useless, they don't supply anything except football updates and articles from a decade ago. JLJ001 ( talk) 11:34, 22 May 2018 (UTC)
I think the results should look like and display this:
"United States" "America"
24 May 2018
24 May 2018
"Malaysia"
24 May 2018
"bombing"
24 May 2018
12 May 2018
Instead of:
"United States" "America"
"Malaysia"
Nothing
"bombing"
I was surprised at first about the citations policy, but now that I understand that the portals are meant to draw in readership, I am curious whether there is a 'Did you Know'-style to be followed. -- Ancheta Wis (talk | contribs) 03:52, 25 April 2018 (UTC)
@ The Transhumanist, Waggers, Kpalion, Pbsouthwood, and Kusma, and others: I've made {{ Transclude selected recent additions}}, which takes search patterns as parameters, and finds matching items in the main page DYK archives ( WP:Recent additions). This works much like {{ Transclude selected current events}}, but it returns a random set of items by default (and therefore can show new selections when the page is purged). It can also show just the latest items, which could be checked on a regular (e.g. monthly) basis to generate new suggestions for a portal's DYKs, like Kusma proposed above. See the documentation for further information and examples. - Evad37 [ talk 08:57, 1 June 2018 (UTC)
Does someone know how I can improve the Selected Anniversaries Section to be without subpages?-- Broter ( talk) 21:37, 18 May 2018 (UTC)
It shows a different page every month.-- Broter ( talk) 05:24, 19 May 2018 (UTC)
@ Certes:: I need a template for showing different content every month without a subpage.-- Broter ( talk) 07:56, 19 May 2018 (UTC)
@ Certes:: I am talking about Portal:LDS Church/Anniversaries.-- Broter ( talk) 12:48, 19 May 2018 (UTC)
{{
Transclude selected excerpt|selected={{#time:n}}|January|February...|December}}
. Hope that helps,
Certes (
talk)
13:30, 19 May 2018 (UTC)@ Certes:: It would be great if I could write text like this:
in the template.-- Broter ( talk) 14:48, 19 May 2018 (UTC)
@ Certes:: I improved the Portal:Bible with the new template.-- Broter ( talk) 16:46, 19 May 2018 (UTC)
Any suggestions for a standard style for short descriptions of portals? (As portals are not in article space they technically do not need a short description, but if one exists it might just increase visibility in some searches, depending on the search engine.) · · · Peter (Southwood) (talk): 08:53, 13 May 2018 (UTC)
It would be great to have a template for selected quotes sections in a Portal that eleminates the need for subpages. Is there anyone out there who wants to programm such a template?-- Broter ( talk) 11:23, 13 May 2018 (UTC)
I found the Template:Random quotation.-- Broter ( talk) 11:30, 13 May 2018 (UTC)
![]() | This is an archive of past discussions. 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 | → | Archive 5 |
![]() | Please dream up new features, and post threads for them below... |
How could we automatically generate the number of how many articles there are for the subject of a portal? So it can report: Wikipedia has "9,999 articles on geology", for example. — The Transhumanist 21:14, 27 May 2018 (UTC)
{{PAGESINCATEGORY:categoryname}}
. eg. "96 articles on geology". But I can't be sure how this deals with subcategories and it is marked as being an expensive call.
JLJ001 (
talk)
18:42, 28 May 2018 (UTC)How far away are we from being able to do this? Are there resources that could be added to Wikipedia to facilitate this? If so, what are they? — The Transhumanist 03:11, 28 May 2018 (UTC)
It probably used something like:
str = "Are you actually God?" /*Input */ if string.find(str, "God") then print "I am God, sacrifice your virgins" else print "I don't understand" end
Cesdeva (talk) 18:20, 28 May 2018 (UTC)
In a similar way to {{ transclude selected current events}}. Maybe with some randomisation. - Evad37 [ talk 03:32, 28 May 2018 (UTC)
dyk-blurb= #
parameter? —
The Transhumanist
05:05, 28 May 2018 (UTC)
dyk-blurb = #
parameter limits the number of entries to "#". —
The Transhumanist
06:19, 31 May 2018 (UTC) Done as {{
Transclude selected recent additions}} -
Evad37 [
talk
11:40, 3 June 2018 (UTC)
A simple bot/script. You direct it at a category and it returns a list of pages not using a specified template. So if I input {{Portal|Suffolk}} as the template to search for, and Category:Suffolk as the category to search, the bot would search the category recursively and give me a list of pages which don't have the tag. JLJ001 ( talk) 16:56, 28 May 2018 (UTC)
Often, there is a lot of white space in one column because there is so much more in the opposite column. It would be nice if portals auto-adjusted for this. Any ideas on how? — The Transhumanist 17:03, 28 May 2018 (UTC)
@ The Transhumanist: and others
Should we have some sandboxes attached to this WikiProject?
I'm losing track of the content in my sandboxes and it's not great having all this portal development marked as userspace edits. Cesdeva (talk) 18:34, 28 May 2018 (UTC)
![]() | General portal design discussions go here. |
I'd like to call your attention to Portal:Nanotechnology, which I designed with a distinct visual style. The portal uses Template:Voyage box, so named because it's loosely inspired by Wikivoyage's Main Page layout. Please feel free to use the template to lay out your own portals if you choose. Antony–22 ( talk⁄ contribs) 10:06, 19 May 2018 (UTC)
So I am still trying to find a portal design that looks good, so I thought perhaps if people could put forward portals they are particularly pleased with. I for one have made Portal:Suffolk with interesting features. And as mentioned above Portal:Opera is a good portal, and Portal:Nanotechnology is an interesting alternative. The best portals may be put forward in a new draft guideline as portals to emulate when working on other portals. JLJ001 ( talk) 08:21, 23 May 2018 (UTC)
display:inline-block;
css value that makes them sit neatly when PortalButton won't.
JLJ001 (
talk)
13:48, 23 May 2018 (UTC)
Obviously, portals have a style different from what articles use. Yet many style principles should still apply. Minimally, it seems that since Portal titles often appear in articles, they should respect MOS:CAPS and MOS:DASH and such. Yet there has been a bit of pushback trying to get there, and I was advised to "Go to WT:Portals do an RfC to confirm that MOS applies to Portal titles." Is this really worth an RFC? I'll start one if someone seriously suggests that the MOS does not apply to portal titles in spite of what recent RM discussions seem to show. Dicklyon ( talk) 04:46, 24 May 2018 (UTC)
Well, I didn't really mean to have the debate yet, just to get comments on whether it's worth an RFC. Dicklyon ( talk) 21:01, 24 May 2018 (UTC)
Good ideas. But do we have a question to put to an RFC, or should we just work on on it along the lines that Moxy suggests? Dicklyon ( talk) 04:18, 25 May 2018 (UTC)
I started a draft at Wikipedia:Manual of Style/Portals; feedback and improvements are welcome - Evad37 [ talk 09:36, 25 May 2018 (UTC)
It may be an idea to mention WikiProject specific style. For example MOS:IS, which in this case should ideally apply to Indian portals. Cesdeva (talk) 14:37, 25 May 2018 (UTC)
I'm working on a different way (than 2-Columns) to make portals scale down. Knowing my luck this approach has probably been scrapped before, but I'm giving it my best shot.
You can prevent divs overflowing by using this as a portal wrapper:
<!-- Wrapper --> __NOTOC__ __NOEDITSECTION__ <div id="container" style="position:relative; width:100%"> </div> <!-- Wrapper end -->
Then add this to CSS of divs to stop text-overflow where it occurs:
;word-wrap:break-word">
And use this instead of px for sizing nested divs:
;width:%">
Fairly straightforward. I'm working on getting this into template form but that's a work in progress.
Any feedback would be appreciated.
Kind regards, Cesdeva (talk) 18:05, 8 May 2018 (UTC)
I was confused how the two-column layout actually managed to function, until I noticed some lines of markup in the Mediawiki common.css. I'm posting the css here in case it wasn't just me who was wondering.
/* For portals, added 2011-12-07 -bv On wide screens, show these as two columns On narrow and mobile screens, let them collapse into a single column */ .portal-column-left { float: left; width: 50%; } .portal-column-right { float: right; width: 49%; } .portal-column-left-wide { float: left; width: 60%; } .portal-column-right-narrow { float: right; width: 39%; } .portal-column-left-extra-wide { float: left; width: 70%; } .portal-column-right-extra-narrow { float: right; width: 29%; } @media only screen and (max-width: 800px) { /* Decouple the columns on narrow screens */ .portal-column-left, .portal-column-right, .portal-column-left-wide, .portal-column-right-narrow, .portal-column-left-extra-wide, .portal-column-right-extra-narrow { float: inherit; width: inherit; } }
Independently of Broter, I have reconstructed Portal:Underwater diving as a nearly one-page portal. It also only calls subpages /Boxheader, /Boxfooter and /Opentask. The effects are very similar to Broter's work
I would like to make new templates for Boxheader and Boxfooter which take the background and foreground colours as parameters, so they can be used for all portals. It would also be good to standardise on a set of colour schemes that are properly accessible to international standards, which could reduce to only one parameter.
The Opentask page should come from the relevant WikiProject, to avoid duplication. This would reduce the portal to a single page.
I use a slightly different system to randomise selected items, which I think is easier to use and allows more tweaking, but takes a bit more space. Comments and suggestions welcome Cheers, · · · Peter (Southwood) (talk): 07:57, 16 May 2018 (UTC)
I am also experimenting with a randomised banner header based on the system used on Wikivoyage and my user page. It provides a little extra related information, but mostly looks pretty. If anyone else decides to try this, the standard for banners on Wikitravel is maximum resolution, exactly 1:7 aspect ratio. I recommend sticking to that as it allows cross project use where applicable. I want to get the page name to display over the banner, and a ToC could be added for the boxed sections, displayed as on Wikivoyage. The coding should all be available at Wikivoyage, but the main template has some dependencies I don't follow. My coding is a bit of a kludge, but works well enough for demo purposes. · · · Peter (Southwood) (talk): 08:08, 16 May 2018 (UTC)
I have now bypassed the /Box-header and /Box-footer subpages. The only subpage left is /Opentask, which will be moved to a subpage of the WikiProject. · · · Peter (Southwood) (talk): 12:56, 16 May 2018 (UTC)
Opentask now superseded by a "To do" subpage of the project, which admittedly needs some formatting work. Now a one-page portal · · · Peter (Southwood) (talk): 08:41, 17 May 2018 (UTC)
I have been experimenting with a simple way of creating a single page portal from scratch. And in doing so I have developed Template:Dead simple portal. This template allows anyone with good wikitext coding skills to create a single-page portal by subst-ing the template. I have tested it, and while not perfected yet, I made Portal:Sark and Portal:Norfolk with it. JLJ001 ( talk) 00:12, 22 May 2018 (UTC)
Some portals are built with a multipage interface, such as being menu-driven or nav-bar-driven, like Portal:Association football.
Could these be made single-page, while retaining their "multi-page" interface/look/feel? — The Transhumanist 20:08, 31 May 2018 (UTC)
![]() | Specific portal section discussions go here. |
![]() | Specific portal section discussions go here. |
@ Certes, Evad37, Slambo, Waggers, Pbsouthwood, Galobtter, Redrose64, Johnuniq, GreenC, JLJ001, and AfroThundr3007730: It was established in Wikipedia talk:WikiProject Portals/Archive 4#Listing category members in a module or template that importing names from a category from within a lua module is not possible at this time. So, how can we do this by user script? We need a tool that an editor can use so he/she doesn't have to copy/paste the article names by hand into the template on the portal base page. JWB fetches titles from a category, so it should be fairly straight-forward (however, JWB's source is still Greek to me and I can't fathom how it does it). We need a script that fetches the titles from a category prompted from the user, with a default of the subject of the portal, and then inserts a {{ Transclude random excerpt}} template on the portal base page with those titles included as parameters in the template. I very much look forward to your replies. Sincerely, — The Transhumanist 02:58, 28 May 2018 (UTC)
categorytree
function which returns a list of pages as labyrinthine HTML; perhaps there is an option to use a more helpful format. Alternatively,
mw:API:Query has a categorymembers
function: example
here. This query only returns the first few pages (see
here for how to "continue") and probably excludes subcategories. The
API sandbox may be useful.
Certes (
talk)
10:58, 28 May 2018 (UTC)
Yes, it should be possible for a lua module to parse the wikitext of an index/outline page, extract the links, and pass them through to random excerpt module. - Evad37 [ talk 06:51, 30 May 2018 (UTC)
{{
Transclude linked excerpt|Somepage}}
to show an excerpt from a page chosen randomly from those linked from Somepage. Replacing Somepage by
Outline of geography (the first search suggestion for "outline of") might get us an excerpt from
Outline (list) or
Discipline (academia), neither of which are relevant. Heuristics such as excluding the lead and only considering the first wikilink on each line might help but wouldn't work everywhere. I think Somepage needs to be a new list in portal space. An editor can create that page manually using their skill and judgement, which may be as simple as copy-pasting
Outline of … with the irrelevant links removed. Alternatively, a bot can maintain the page as a list of articles in one or more related categories. That should give us the flexibility we need for most portals. Does that work?
Certes (
talk)
10:05, 30 May 2018 (UTC)
Here's a suggestion for importing article titles to some minimal-maintenance portals.
{{
Transclude linked excerpt|{{FULLPAGENAME}}/Titles}}
in the main portal.That should give us the lead of a random FA from the latest list. Worth a try? Certes ( talk) 17:53, 2 June 2018 (UTC)
Is it possible to pull random article from selected article pool of a number of other portals? For example, I'd like to pick the selected article for Portal:SAARC from the selected articles of the below portals:
I am sure the same concept can be useful in other portals which follow a hierarchy.
Possible? Arman ( Talk) 11:15, 4 June 2018 (UTC)
Any ideas of how to automate this without relying on Commons categories, which are often not very reliable? Images already used in topic articles could be used as a stockpile, but often an image is meaningless when displayed in isolation, and the caption from the article is intended for use in the context of the article. Alt text may be useful in those rare cases where it exists, but I doubt there are enough of them to be worth considering as a default method. · · · Peter (Southwood) (talk): 05:21, 26 April 2018 (UTC)
@ Certes, Evad37, Slambo, Waggers, Pbsouthwood, and Galobtter: To automate the selected pictures section of portals, it looks like we will need a template that displays random pictures. Kind of like what {{ Transclude random excerpt}} does for excerpts. Does anything like this already exist? If not, what are the issues that need to be overcome? What details do you need to be able to write it? Will it require a lua module? I very much look forward to your replies. Sincerely, — The Transhumanist 02:05, 28 May 2018 (UTC)
I'm after something similar for PortalButton. Multiple templates can form a nice gallery, but can only take manual input of file names. I'd really like to code a default ratio of div width:image width into the template too. Cesdeva (talk) 16:31, 28 May 2018 (UTC):
Is there any option other than wikinews to fill news sections? Wikinews is useless, they don't supply anything except football updates and articles from a decade ago. JLJ001 ( talk) 11:34, 22 May 2018 (UTC)
I think the results should look like and display this:
"United States" "America"
24 May 2018
24 May 2018
"Malaysia"
24 May 2018
"bombing"
24 May 2018
12 May 2018
Instead of:
"United States" "America"
"Malaysia"
Nothing
"bombing"
I was surprised at first about the citations policy, but now that I understand that the portals are meant to draw in readership, I am curious whether there is a 'Did you Know'-style to be followed. -- Ancheta Wis (talk | contribs) 03:52, 25 April 2018 (UTC)
@ The Transhumanist, Waggers, Kpalion, Pbsouthwood, and Kusma, and others: I've made {{ Transclude selected recent additions}}, which takes search patterns as parameters, and finds matching items in the main page DYK archives ( WP:Recent additions). This works much like {{ Transclude selected current events}}, but it returns a random set of items by default (and therefore can show new selections when the page is purged). It can also show just the latest items, which could be checked on a regular (e.g. monthly) basis to generate new suggestions for a portal's DYKs, like Kusma proposed above. See the documentation for further information and examples. - Evad37 [ talk 08:57, 1 June 2018 (UTC)
Does someone know how I can improve the Selected Anniversaries Section to be without subpages?-- Broter ( talk) 21:37, 18 May 2018 (UTC)
It shows a different page every month.-- Broter ( talk) 05:24, 19 May 2018 (UTC)
@ Certes:: I need a template for showing different content every month without a subpage.-- Broter ( talk) 07:56, 19 May 2018 (UTC)
@ Certes:: I am talking about Portal:LDS Church/Anniversaries.-- Broter ( talk) 12:48, 19 May 2018 (UTC)
{{
Transclude selected excerpt|selected={{#time:n}}|January|February...|December}}
. Hope that helps,
Certes (
talk)
13:30, 19 May 2018 (UTC)@ Certes:: It would be great if I could write text like this:
in the template.-- Broter ( talk) 14:48, 19 May 2018 (UTC)
@ Certes:: I improved the Portal:Bible with the new template.-- Broter ( talk) 16:46, 19 May 2018 (UTC)
Any suggestions for a standard style for short descriptions of portals? (As portals are not in article space they technically do not need a short description, but if one exists it might just increase visibility in some searches, depending on the search engine.) · · · Peter (Southwood) (talk): 08:53, 13 May 2018 (UTC)
It would be great to have a template for selected quotes sections in a Portal that eleminates the need for subpages. Is there anyone out there who wants to programm such a template?-- Broter ( talk) 11:23, 13 May 2018 (UTC)
I found the Template:Random quotation.-- Broter ( talk) 11:30, 13 May 2018 (UTC)