Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Module:Signpost/doc

From Wikipedia, the free encyclopedia
<Module:Signpost
iconThis is adocumentationsubpage forModule:Signpost.
It may contain usage information,categories and other content that is not part of the original module page.

This module makes indexes of articles for theSignpost. It has two main functions:


Article data

[edit]

The article data is stored in index modules organised by year, likeModule:Signpost/index/2005,Module:Signpost/index/2006, etc. You can see the full list of index moduleshere. The data for all Signpost articles for a given year goes in that year's index module.

It is possible to edit the index modules by hand, but the recommended way is to use theSignpostTagger gadget. With SignpostTagger you can edit article data directly from Signpost article pages, and using it eliminates the possibility of making formatting errors or putting the data in the wrong place.

Data points

[edit]

The index modules each contain a list of articles for that year. Each article has the following data points:

  • date: The date the article was published, in YYYY-MM-DD format
  • subpage: The subpage of the article. For example, for the special report "Adminship from the German perspective" located atWikipedia:Wikipedia Signpost/2012-10-22/Special report, the subpage is "Special report".
  • title: The article's title.
  • authors: Array listing authors of the article, as read by Wegweiser and SignpostTagger (based on displayed text from the author field, not links).
  • tags: A list of tags for the article. For example, the special report mentioned above has the tags "germanwikipedia", "reformingrfa", "requestsforadminship", and "specialreport" (optional).
  • views: Set of key-value pairs for views over seven intervals:d007 (7 days),d015 (15 days),d030,d060,d090,d120,d180.
  • subhead: Article subheading (not normally displayed in the article, but can be parsed out of the "RSS description" template).
  • piccy: Set of key-value pairs for associating an image with an article (optional).
filename: Image credit to display as overlay (i.e. author of image).
license: Short string for image license in overlay (i.e. "CC 4.0 BY-SA").
scaling: Scaling, width-based: default is 300, which is the width of the snippet template.
xoffset: X-offset (i.e. how many pixels to crop from theleft if scaling gives an image wider than 300px).
yoffset: Y-offset (i.e. how many pixels to crop from thetop if scaling gives an image taller than 300px).

Tags and aliases

[edit]

Tags are used to classify articles. For example, you can find all of the humourous articles by using thearticle list maker template to list all articles with the tag "humour". It is also possible to specify aliases for tags. For example, "humor" is an alias for the "humour" tag, so when you are tagging an article with SignpostTagger you can use either one of them. Tag aliases are stored atModule:Signpost/aliases.

Subpages

[edit]
All subpages of this module

Test cases

[edit]

Wikipedia:Wikipedia Signpost/Templates/Article list maker, sort by tag (arbitrationreport), limit 5, include subhead

2024-12-24, News and notes:Responsibilities and liabilities as a "Very Large Online Platform", by Bri

What the VLOP – findings of an outside auditor for "responsibilization" of Wikipedia. Plus, new EU Commissioners for tech policy, WLE 2024 winners, and a few other bits of news from the Wikipedia world.

2024-01-31, News and notes:Wikipedian Osama Khalid celebrated his 30th birthday in jail, by Andreas Kolbe

Plus WMF child rights impact assessment, Chinese Wikipedia changes admin rules

2024-01-10, News and notes:In other news ... see ya in court!, by Andreas Kolbe

Let the games begin! The 2024 WikiCup is off to a strong start. With copyright enforcement, AI training and freedom of expression, it's another typical week in the wiki-sphere!

2023-12-04, News and notes:Beeblebrox ejected from Arbitration Committee following posts on Wikipediocracy, by Sdkb

Just as his term was ending!

2023-11-20, News and notes:Update on Wikimedia's financial health, by Andreas Kolbe

Plus: Sockpuppet investigators asking for help.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Module:Signpost/doc&oldid=1191490009"

[8]ページ先頭

©2009-2025 Movatter.jp