So I've found that link embeds have the description show up as a . if the page has an infobox or similar (see link embed below), and that using the template {{#seo=|description= ...}} to override this works, but there's a lot of content on my wiki here now and it's a hassle to manually go through all the pages. Is there a way to automate this at all with MassEditRegex or something similar, or will I have to do this manually?
#SEO description template automation?
12 messages · Page 1 of 1 (latest)
You can add a #seo in your infobox. That'll do it for a bunch of pages in bulk.
fyi if you want TextExtracts to work automatically you need the article's wikitext to start with the actual text
Articles must begin with the lead paragraph for an extract to be generated. The use of any template, and/or unclosed or empty HTML element may result in no preview for the article. E.g. "<div></div>hello" will give an empty extract.
So this would be by putting the extract before the infobox, then the rest after as usual?
How would I go about that?
yeah
Something like this template
https://strinova.org/wiki/Template:CharacterInfobox?action=edit
Take a look at https://strinova.org/wiki/Michele?action=info#SEO_properties to see how it turns out
{{#seo:
|image={{ROOTPAGENAME}} Default.png
|image_alt=Image of {{ROOTPAGENAME}}
|description={{{Description|}}}
|keywords={{ROOTPAGENAME}},{{translate2|{{ROOTPAGENAME}}|zh-hans}},{{translate2|{{ROOTPAGENAME}}}},Strinova,Calabi-Yau,卡拉彼丘
}}
after looking at the code and experimenting a little, i'm still not quite sure how to apply this to my infobox template, if i provided a link to the character template would someone be able to help me out here?