Extension talk:Page Schemas

[Download link does not work]
Hi there, I would love to download the extension Page Schemas, but have unfortunately not been able to. I went onto the Extesion:PageShemas, under “Code and download” area where it says: “You can download the Page Schemas code, in .tgz format, here.” The download link “here” was as follows: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/PageSchemas.git;a=snapshot;h=4dd93fe74c8c39b6438b92f4927cfa71ca3b901a;sf=tgz Once I am clicking on the above link I am getting the following error message: “Unable to download gitweb from gerrit.wikimedia.org. Unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.” Would anybody please be able to help? Many thanks Pan


 * The link works for me. Could you try again? Gerrit may have been unavailable for a short time. Instead of clicking, you could also try "right-click / save as". Cavila MW 1.19.2, MySQL 5.1.66, Php 5.3.3-7, SMW 1.8, SF 1.5.1 11:21, 15 February 2013 (UTC)

Hello Cavilla, I've just tried again and got the same error message. However, completely by chance I found the following link http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Autoincrement and by selecting the extension I wanted it did allow me to download the PageSchemas files. Thanks for your reply. Pan

Issue with side infobox
Hi, I am having an odd error. The infobox came out as expected when I was using the other way to use a form (manually create property, create template, create form). When I deleted the template/form and tried to re-make the exact same thing in page schemas, i get a jumpled mess peppered with red links that say "Template:!" where the infobox should be.

Thanks so much for any help,

Matt


 * You should create the page at "Template:!", with just a single character as the contents: "|". I think the latest version of Semantic Forms takes care of creating that page automatically. Yaron Koren (talk) 19:23, 30 July 2013 (UTC)


 * Perfect, thank you. I did download the semantic bundle maybe 2 days ago which had semantic forms. Wondering if that doesnt have the latest version and perhaps I should go update it....

Matt

Two minor questions on page schemas (image upload, edit function)
Question 1: I am having trouble creating a form input field in a side infobox template of form created in page schemas - what I want is to have the user hit an upload button, they upload an image from their desktop, and then the picture shows (not the filename eg xyz.png). I did read in "Working with Mediawiki" by Yaron Koren about uploading files - where he says "This is done simply by adding the parameter "uploadable" to that field's declaration in the form definition (although this was for the shows filename xyz.png example) and I was unsure where exactly I put "uploadable" - any guidance here would be much appreciated.

Question 2: In Page Schemas if you select the output to be "sections" - when the user is reading the page each section has an "edit" hyperlink above it. unfortunately this takes you to editing the source code, not the form. Is it possible to either change this to point to the form, or remove it entirely?

Thanks for any advice - I believe these answers will help the average person use page schemas more!

Matt


 * Hi - (1) you should add it in the form input's "parameter names and their values..." field. (2) you should add to the template. That's really a bug in the software - that tag should get added to the template directly. Yaron Koren (talk) 16:21, 31 July 2013 (UTC)


 * Yaron, in response to (1), within the edit schema function, I added to the "additional XML field" of each field in the template that uses sections.  I also tried to manually add it to the code by hitting edit on the category page rather than edit schema, in many different places.....the latest one I pasted below just to see if you can let me know if I am doing something wrong:







NOEDITSECTION (I took out the __  __ on this posting)

Course Overview

All my tries yielded nothing. I can't help but wonder if perhaps I have a setting either wrong, or not in, localsettings.php. especially since it looks like the worked on this page....

As for item (2) about uploading docs, In the "Enter parameter names and their values as key=value pairs, separated by commas (if a value contains a comma, replace it with "\,"). For example: size=20, mandatory" field of "Form Input" in the Edit Schema section, I added "uploadable" (without " ") - when I refresh and go to my page, oddly it displays the following in my field on the Read tab of the page using the schema: "File:Mail-envelope.png" - I did not type or put that in. The code from the edit tab of the Category page for this, as created by edit schema, looks like this (BTW, i tried not to but maybe i killed the edit tabs in this page....can delete after.





Score Card



Text





text

<Parameter name="uploadable"/>

</semanticforms_FormInput>

</Field>

Thanks again for the time you have spent on this subject, and all others, Matt