Cannabis Indica

Inspect portals, especially new ones[edit]

Use this PetScan query to find this month's new portals. To use a different date, go to the "Page properties" screen and change the limit from 20190101, or just hack the URL. (Tip courtesy of Certes).

The list of all portals can be found at Category:All portals.

Check for errors and bugs[edit]

Bugs and errors sometimes occur in portals.

Lua errors usually indicate an empty section, or a sourcepage that lacks images. These can be fixed by providing better parameters (pagenames), or by putting images on the image slideshow sourcepage(s). Image files can also be added directly to image slideshows, but any sourcepage name causing the lua error needs to be removed for the error to go away.

If you come across errors or bugs that you cannot fix, please report them at WT:WPPORTD. Thank you.

Improve[edit]

Add links to portals in articles[edit]

Adding links to portals is important, so Wikipedia's readers can find them.
See Category:Portals needing placement of incoming links and Wikipedia:WikiProject Portals/Portals needing links

There are presently many portals with insufficient links to them existent in main namespace articles.

Here's how you can help:

  1. Place a portal box in the article's See also section

    {{Portal|{{subst:PAGENAME}}}}

    – or –

    Place a list item link to a portal in the corresponding root article's See also section, using this code:

    * {{Portal-inline|{{subst:PAGENAME}}}}
  2. Place a portal link at the bottom of the portal's corresponding navigation box footer template, like this:
     | belowclass = hlist
     | below =
     * {{icon|Portal}} [[Portal:{{subst:PAGENAME}}|Portal]]
    
    If the navbox template already has a line with | below, don't duplicate it - just add the third line of code.
  3. Place the following code at the top of the portal's corresponding category page: {{Portal|{{subst:PAGENAME}}}} If you use AWB, please apply it to removing the backlog described above. (There are over 2000 orphaned portals at this time).

Add a panorama or banner picture[edit]

Add a banner-shaped picture (such as a panorama) to the introduction section of portals. Place them at the top of the introduction section, or if they are especially tall, place them at the bottom of that section. Please do not add pics over 2 megabytes in size, as they can cause the portal scripts to time out, causing empty sections, or sections with error messages. Watch out, because some of those pictures are huge, like 12 megabytes or more. Less than one megabyte is best, if you can manage it. Pictures can be found at commons:. Search strings that work well with city names to find these are "skyline" or "panorama". There are a large number of wide images at 7:1 aspect ratio used as Wikivoyage banners in Commons:Category:Wikivoyage banners. Most of these are not very large files. Geographic portals are listed in the Geography section of Portal:Contents/Portals. City portals are shown in parentheses (though they are not the only ones in parentheses). As for other subjects, banner-shaped pictures pertaining directly to those or any of their subtopics will typically suffice.

Here is an example of the main template used to place banners/panoramas:

{{Portal image banner|Jarvis Island banner sharks.jpg|[[Gray reef shark]]s over reef near [[Jarvis Island]].}}

Which looks like this:

Gray reef sharks over reef near Jarvis Island.
Tip for displaying an oversized picture as a banner[edit]

Most pictures are not banner-shaped. But, you can still use them as banners. Here's how:

{{Portal image banner|File:Blueberries .jpg |maxheight=120px |overflow=Hidden }}

Using both maxheight=120px and overflow=Hidden produces this:

Install image slideshows[edit]

{{Transclude files as random slideshow}} does not function in mobile view or with the Wikipedia app thus should be replaced with the {{Portal pictures}} method.

On the older portals, replace "Selected image" sections with "Selected images" sections.

The code for an image slideshow would look like this, for most existing portals:

{{Box-header colour|Selected images}}
{{Transclude files as random slideshow| paragraphs=1-3 | files=1 | more=
| {{PAGENAME}}
|
|
}}

Entries can be sourcepage names, or file names. For each sourcepage, the template displays every image on that page. Filenames must start with "File:" and get displayed directly in the slideshow. "{{}}" is the magic word that stands for the portal's page name, without prefix, which is usually also the name of the corresponding root article.

For examples of portals that have image slideshows, see Portal:Continents and Portal:Ancient Egypt. Or see https://en.wikipedia.org/w/index.php?title=Special%3AWhatLinksHere&limit=5000&target=Template%3ATransclude+files+as+random+slideshow&namespace=100

Where do you find pictures?

At Wikipedia:Featured pictures, some of Wikipedia's best pictures are listed by subject. Many of those subjects correspond to a portal name.
On the portal's subpages, if any.
Throughout Wikipedia articles.
On Wikimedia Commons. This is a great place to find pictures not used in articles.

Review Portals that are being Drafted[edit]

Portals currently in Draft are: (if this section is blank, no portals are currently in the Draft: namespace)

Leave a Reply