Editing
Source code & patches
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==PageForms== [https://www.mediawiki.org/wiki/Extension:Page_Forms Extension:Page_Forms] {| class="wikitable" |+ !file !edits |- |[[/extensions/PageForms/includes/PF_AutoeditAPI.php|extensions/PageForms/includes/PF_AutoeditAPI.php]] | *(fixed) the "one-step_process" [https://www.mediawiki.org/wiki/Extension:Page_Forms/Linking_to_forms#The_one-step_process described here] overwrites the page if exists, which is not the expected behavior *(added feature) added hook "PageForms::WritePageDataOptions" *(added feature) added hook "PageForms::FormCreatedSuccess" |- |[[/extensions/PageForms/includes/PF_FormPrinter.php|extensions/PageForms/includes/PF_FormPrinter.php]] | *(added feature) Combobox legacy (class "WSComboBoxInput") *(added feature) if a form's field is not included in the template, is used to process the form (for instance for the pagename formula) but it's not saved in the template itself *(added feature) the pagename formula can contain day, month and year of a date field, also independently, for instance using <template name[Date][year]> *(added feature) added hidden input "WSUniqueCode" in order to save the images uploaded under a specific page, in a temporary page, and them to move back the references through the hooks "PageForms::WritePageDataOptions" and "PageForms::FormCreatedSuccess" |- |[[/extensions/PageForms/includes/forminputs/PF_TreeInput.php|extensions/PageForms/includes/forminputs/PF_TreeInput.php]] | *(added feature) "output format" parameter (can be "list" or "tree", "tree" the selected options will be saved in wikitext-style bullets and then merged on form edit) *(added feature) "three state" parameter (can be true or false) *(added feature) "cascade" parameter (can be "none" or any combination of "up+down+undetermined") *(added feature) "height" and "width" parameter (can be percentage or "auto") *(added feature) "hideroot" parameter (to remove the root node) |- |[[/extensions/PageForms/includes/forminputs/PF_Tree.php|extensions/PageForms/includes/forminputs/PF_Tree.php]] |(see above) |- |[[Source code & patches/extensions/PageForms/includes/forminputs/WS ComboBoxInput.php|extensions/PageForms/includes/forminputs/WS_ComboBoxInput.php]] | *(added feature) input type=combobox legacy Combobox based on Select2.js (besides the new PageForms's combobox based on OOUI TextInputWidget with autocomplete) *(added feature) parameter "update page query on change" to reload the page when the value of the select changes, see [[Special:FormEdit/Book reading progress|here]] |- |[[/extensions/PageForms/libs/ext.pf.select2.base.js|extensions/PageForms/libs/ext.pf.select2.base.js]] |(fixed, but to review for general use) the scripts added an empty item as the first option and that was not always the expected behavior |- |[[/extensions/PageForms/libs/ext.pf.select2.combobox.js|extensions/PageForms/libs/ext.pf.select2.combobox.js]] | *(added feature) "data_reload" (to be used with "combobox legacy", parameter "update page query on change" *(fixed, but to review for general use) the scripts added twice the selected item when is taken from the url query parameter |- |[[Source code & patches/extensions/PageForms/includes/parserfunctions/PF FormLink.php|extensions/PageForms/includes/parserfunctions/PF_FormLink.php]] |(added feature) parameter "class" in form link button template |- |[[Source code & patches/extensions/PageForms/includes/forminputs/PF OpenLayersInput.php|extensions/PageForms/includes/forminputs/PF_OpenLayersInput.php]] | *(added feature) parameter "label" *(added feature) parameter "coordinates hidden" |} ======to-do====== *PageForms does not handle correctly selects with mapped values, as [https://www.mediawiki.org/wiki/Extension:Page_Forms/Input_types#Example_1:_mapping_template described here], specifically, instead than allowing options of kind value => label (where the label is visible to the user, and the value the one handled by the form) it only allows options like label => label, and the issue appears both server and client side <br />
Summary:
Please note that all contributions to Wikisphere may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wikisphere:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
Edit data
View history
More
Delete
Move
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
Browse subpages
VisualData
New article
Browse data
Subpage navigation
Browse subpages