Module talk:Excerpt slideshow: Difference between revisions

Content deleted Content added
Bizarre behavior: List of volcanoes with onlyinclude tag
Line 159:
In [[Portal:Earth sciences]], this template is broken in a very strange way. It is supposed to select from one of the links on [[Portal:Earth sciences/Selected articles]], but always loads [[Geography of Indonesia]], even though that article is not one of the links (although it used to be). No amount of twiddling with parameters or page reloading makes any difference. I use exactly the same syntax in [[Portal:Geophysics]], and it works fine there. <span style="font-family:Comic Sans MS; color:grey;">[[User:RockMagnetist|RockMagnetist]]([[User talk:RockMagnetist|talk]])</span> 22:56, 23 May 2019 (UTC)
:{{ping|RockMagnetist}} It's actually picking [[List of volcanoes in Indonesia]], which is the last entry on the ''Selected articles'' list. Removing that entry fixes things, though I'd prefer not to do that as it's a featured list. The volcano list starts with an &lt;onlyinclude> section, instructing any transcluding page to hide the rest of the article. Constructing the portal puts this wikitext onto the same page as the other selected articles, so the portal duly hides the rest of the page, including the other selected articles. If you think that this portal stands any chance of not being killed off then I'll look into enhancing [[Module:Excerpt]] to deal with this syntax. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 23:17, 23 May 2019 (UTC)
::Thank you, Certes. This portal is very likely to survive: I maintain both it and [[Portal:Geophysics]], and the latter just survived an MfD. Indeed, some of the most active deletionists at that MfD consider Portal:Geophysics a model for how to use the new tools. Earth sciences is a broader subject and I have modified it using the same tools to get rid of one of the biggest problems with the old portals - content forking. <span style="font-family:Comic Sans MS; color:grey;">[[User:RockMagnetist|RockMagnetist]]([[User talk:RockMagnetist|talk]])</span> 23:41, 23 May 2019 (UTC)