Abstract Wikipedia:Suggested functions - Abstract Wikipedia
Jump to content
From Abstract Wikipedia
Latest comment:
10 hours ago
by JJPMaster in topic
Link to Wikidata
Shortcuts
Project:SF
Project:RF
Content that can be added to abstract articles is limited by which functions exist on
Wikifunctions
. If you're making an article that needs a new type of sentence, either
create it on Wikifunctions
, or suggest it here to get input from others.
Due to different grammar rules in different languages it may be beneficial to discuss new functions here first, as not all generic concepts work across all languages.
To suggest a function, create a section below (new sections go at the bottom), and provide an example of its use. Make sure to sign your suggestions using
~~~~
Functions which aren't directly related to
Abstract Wikipedia
can be requested at
f:WF:Suggest a function
Intro sentence for species articles
edit
Latest comment:
26 days ago
6 comments
4 people in discussion
I imagine Abstract Wiki will be largely used for taxa articles, similar to that of Lsjbot.
For example, for a species:
Bursadella dichroalis
is a
moth
in the
family
Immidae
article name
is a(n)
in the
EatingCarBatteries
talk
19:18, 27 March 2026 (UTC)
Reply
Furthermore, there could be more information like:
It was described in
1880
EatingCarBatteries
talk
19:21, 27 March 2026 (UTC)
Reply
Perhaps a useful step towards that would be to make a function that takes a Wikidata reference and outputs a label, with the label of the more general concept linked through 'instance of' or 'subclass of' as an adjective, plus determiner for languages that use them: the family Immidae, the dog Rin Tin Tin, the planet Mars.
Arlo Barnes
talk
19:40, 27 March 2026 (UTC)
Reply
I started with a simple helper function
f:Z32852
, which outputs something along the lines of "Homo sapiens is a species" or "Canis is a genus" The implementation isn't connected yet with no testcases, because I don't have functioneer (am currently requesting).
I'm not sure yet how to do the whole instance/subclass of and adding determiners, are there functions that already would do that?
EatingCarBatteries
talk
07:42, 28 March 2026 (UTC)
Reply
Can we not just fetch the taxonomic information from WD? I guess you'd want to manually set it sometimes.
Feeglgeef
talk
22:54, 27 March 2026 (UTC)
Reply
Agreed. I think it wwould be really useful to have something like
Wikidata ID
is a
[function getting the common name of the correct taxon rank]
in the family
[function getting the family name]
However, figuring out the expected common name of the right taxon rank above is not easy, as going from a moth species to
d:Q56315380
seems non-trivial.
Ainali
discussion
contributions
08:16, 28 March 2026 (UTC)
Reply
Link to Wikidata
edit
Latest comment:
10 hours ago
3 comments
2 people in discussion
We have
f:Z32428
for internal (Abstract Wikipedia) links and
f:Z31697
for Wikipedia links (article title). Other link functions are available! So far, though, I don’t think we have a function to generate a link to a Wikidata item, and I’m not sure how it should by styled so as to avoid confusion with an Abstract Wikipedia link.
Note: we have no architecture for injecting a link into a sentence fragment, so a link like this would need to be a standalone HTML fragment and should be reusable within many “sentence fragment” functions.
GrounderUK
talk
11:21, 29 March 2026 (UTC)
Reply
Done
This is now working. Thank you, @
ChaoticVermillion
Q104587954: Wikifunctions
(I think the third argument defaults to the page content language here.)
GrounderUK
talk
14:45, 30 March 2026 (UTC)
Reply
GrounderUK
: It is worth noting that links can be injected into sentence fragments in a rather roundabout way, by using a string replacement function. See
Q190
JJP
Mas
ter
she
they
11:50, 23 April 2026 (UTC)
Reply
Basic creative work description
edit
Latest comment:
18 days ago
1 comment
1 person in discussion
Something like
Title
is a(n)
Year
Genre
{optional}
Format
by
Under exact formatting provided, would only work for extended or pictorial (or sculptural) works of monolithic authorship.
Alef.person
talk
00:22, 5 April 2026 (UTC)
Reply
Time element
edit
Latest comment:
16 hours ago
1 comment
1 person in discussion
It would be helpful to have something like "X Y on [date]", e.g. "The company was founded on April 7, 2026".
Sdkb
talk
06:15, 23 April 2026 (UTC)
Reply
Retrieved from "
Category
Abstract Wikipedia administration
Abstract Wikipedia
Suggested functions
Add topic
US