What I am trying to do
I add articles to my wiki and then there is a link to the source. I post these wiki articles to FB groups that specialise in the UK alternative media. It is important that when I post it is clear where the source of the information originates. Much of this media is open - non copyrighted - on condition that it is clear where it is sourced. Where it is copyrighted, Copyright law allows the first couple of paragraphs to be added and then clicking on a ...See more opens the article at source. To this end I need to post to fb the Article title, the first few paragraphs (ish) and a source media logo.
Note: My page name does not match the name of the article. This is because I use the createpage extension to create the page and it is far easier to manage if I use sequence numbers. So for example if I have 3 articles from openDemocracy, the pages will be named OD1, OD2 and OD3. This allows me to use other admins to add articles who are lacking in confidence when updating the wiki. Particularly as some article titles are so long they would be truncated.
How I provide the information
When I create a page using extension:createpage I use<onlyinclude> and <includeonly> to create a copy of the main page with only the information I need. I then create the article on the new page and transclude the article to the main page. This way I have a separate page per article so that I can post to FB and a main page that lists all the articles for a given publication so people using the wiki can see a clear list of all articles on one page.
I want to pass the key information into HTML. This is what I do:
Article Title: <seo title="this is a rather tedious title for a dreadfully dull task that some poor Miraheze staff member is having to read"/>
Artcle Text: Picked up from the first section - which is perfect
Article Image: I put the image in the header area and when I save the image is automatically added to HTML as <meta property="og:image" content="https://static.miraheze.org/campaignlabwiki/4/4d/DNS_Image.png"/> - yay!
Problem is gives me no control over the image. I can't format it and generally regardless of what size I make the image, it is not good in the upload to fb.
So I enabled the '''OpenGraphMeta''' extension in the hope of having more influence on what was sent to Facebook.
Problem: It automatically populates the og:title with the page name. Not good as article page titles are sequences ... OD1, OD2 etc
In short:
- With '''OpenGraphMeta''' I get the image I want, but it messes up my page title I wish to provide to Facebook
- With '''HTML Meta and Title''' I get the title I want, but the image is messed up as it is not in the seo meta at all and I think just forcing it in by it being in the header area means it does not have any formatting controls.
So....
- Is it possible to look at '''OpenGraphMeta''' and see if there is a way I can influence the og:title selection?
- Or should I be asking you to install the WikiSEO extension?
Or any solution that it is felt will work is fine for me
Many thanks,
Example page: https://wiki.campaign-labour.org/wiki/The_London_Economic
Sub page: https://wiki.campaign-labour.org/wiki/TLE5