Hi, this is a newbie question; thanks in advance.
I'm thinking about using SMW with MW. I'll use Semantic Forms and the like to make entering the semantic data easier and then let editors enter free text for other miscellaneous sections. But, the semantic stuff is the most important and I want to make sure the semantic data section is always on a particular location on the page; say, the top. I don't want an editor to relocate the info box anywhere he wants. Is this possible?
Thanks, Al
Hi Al,
it depends on how much you want to enforce this.
Semantic Forms will always include the structured data at the top and the free text at the bottom of the page. So if your preferred spot for the semantic stuff is at the top, you'll be alright. If you want it to be anywhere else, it becomes difficult. And of course, if an editor edits the page contents using the normal edit form (i.e. bypasses the Semantic Form) they can do whatever they want, including moving the semantic stuff somewhere else. Then again it is possible to hide the link to the normal edit page, so it is not as easy to get at the normal edit form.
Some links: * A scratchpad, where you can play with SMW, SF etc.: http://scratchpad.referata.com/ * A mailing list dedicated to SMW and related extensions: https://lists.sourceforge.net/lists/listinfo/semediawiki-user
There is also a dedicated IRC channel available on freenode: #semantic-mediawiki
Cheers, Stephan
On 27 November 2012 18:38, Al Johnson alj62888@yahoo.com wrote:
I'm thinking about using SMW with MW. I'll use Semantic Forms and the like to make entering the semantic data easier and then let editors enter free text for other miscellaneous sections. But, the semantic stuff is the most important and I want to make sure the semantic data section is always on a particular location on the page; say, the top. I don't want an editor to relocate the info box anywhere he wants. Is this possible?
Thanks Stephan, but FWIW I was talking about the layout of the finished page, not during editing. Thanks for the links.
________________________________ From: Stephan Gambke s7eph4n@gmail.com To: Al Johnson alj62888@yahoo.com; MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Sent: Tuesday, November 27, 2012 11:10 AM Subject: Re: [MediaWiki-l] Forcing a certain page layout
Hi Al,
it depends on how much you want to enforce this.
Semantic Forms will always include the structured data at the top and the free text at the bottom of the page. So if your preferred spot for the semantic stuff is at the top, you'll be alright. If you want it to be anywhere else, it becomes difficult. And of course, if an editor edits the page contents using the normal edit form (i.e. bypasses the Semantic Form) they can do whatever they want, including moving the semantic stuff somewhere else. Then again it is possible to hide the link to the normal edit page, so it is not as easy to get at the normal edit form.
Some links: * A scratchpad, where you can play with SMW, SF etc.: http://scratchpad.referata.com/ * A mailing list dedicated to SMW and related extensions: https://lists.sourceforge.net/lists/listinfo/semediawiki-user
There is also a dedicated IRC channel available on freenode: #semantic-mediawiki
Cheers, Stephan
On 27 November 2012 18:38, Al Johnson alj62888@yahoo.com wrote:
I'm thinking about using SMW with MW. I'll use Semantic Forms and the like to make entering the semantic data easier and then let editors enter free text for other miscellaneous sections. But, the semantic stuff is the most important and I want to make sure the semantic data section is always on a particular location on the page; say, the top. I don't want an editor to relocate the info box anywhere he wants. Is this possible?
Using position:absolute in the definition of the infobox you can control where the box is shown, regardless of the position in the wikicode.
http://www.w3schools.com/cssref/pr_class_position.asp
Am 27.11.2012 18:38, schrieb Al Johnson:
Hi, this is a newbie question; thanks in advance.
I'm thinking about using SMW with MW. I'll use Semantic Forms and the like to make entering the semantic data easier and then let editors enter free text for other miscellaneous sections. But, the semantic stuff is the most important and I want to make sure the semantic data section is always on a particular location on the page; say, the top. I don't want an editor to relocate the info box anywhere he wants. Is this possible?
Thanks, Al _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org