https://bugzilla.wikimedia.org/show_bug.cgi?id=34150
Web browser: --- Bug #: 34150 Summary: [SF] Special:RunQuery enhancement to be able to populate red-links automatically Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Unprioritized Component: SemanticForms AssignedTo: yaro...@gmail.com ReportedBy: fastgoldf...@gmail.com CC: wikibugs-l@lists.wikimedia.org Classification: Unclassified Mentioned first here: https://bugzilla.wikimedia.org/show_bug.cgi?id=33495#c4 The ephemeral nature of the templatized pages produced by Special:RunQuery forms has turned out to have many emergent uses that were not originally intended. Special:RunQuery makes conditionally branching forms possible: https://bugzilla.wikimedia.org/show_bug.cgi?id=30536 And, if auto-populating of red links on Special:RunQuery pages is enabled, as described here: http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#Populating_red-linked_pages_automatically it will allow Semantic Forms to create or edit more than one page with a single form: (For files) https://bugzilla.wikimedia.org/show_bug.cgi?id=32824 (In general) http://wikimedia.7.n6.nabble.com/One-form-populating-two-pages-td3884299.html It might enable this enhancement too: https://bugzilla.wikimedia.org/show_bug.cgi?id=23805 One compelling use-case for creating more than 1 page would be when many pages contain identical information, but differ in only one property, such as a serial number. Here's an example of an actual set-up for doing this kind of thing (login with Demo/test): http://www.coincompendium.com/w/index.php/Special:RunQuery/Specimen_find?Specimen_find%5BCertification%20number%5D=2312213-001,%202312213-002,%202312213-003,%202312213-012,%202312213-013,%202323866-001,%202323866-002,%202323866-003,%202323866-005,%202323866-006,%202323866-007,%202323866-008,%202323866-009,%202756414-001,%202756414-020,%202756414-028,%202756414-030,%202756414-031,%202761896-001,%202762313-001,%202762313-002,%202762313-003,%202762313-005,%202762313-006,%202762313-007,%202762313-008,%202762313-009,%202762313-010,%202762313-011,%202762313-012,%202762313-013,%202762313-014,%202762313-015,%202762313-016,%202762313-017,%202762313-018,%202762313-019,%202762313-020,%202762387-008,%202762387-009,%202762387-019,%202762387-029,%202762387-039,%202762387-045,%202762387-049,%202762997-003,%202762997-007,%202762997-009,%202762997-011,%202762997-012,%202762997-013,%202762997-014,%202762997-015,%202762997-016,%202762997-017,%202762997-018,%202762997-019,%202762997-020,%202762997-021,%202762997-022,%202762997-023,%202762997-024,%202762997-025,%202764117-004,%202764117-007,%202764117-009,%202764117-011,%202764117-014,%202764117-017,%202764117-021,%202764117-024,%202764117-027,%202764117-031,%202764117-035,%202764117-038,%202764117-041,%202764117-043,%202764117-044,%202764117-045,%202764117-047,%202764117-049,%202764117-050,%202764117-051,%202764117-052,%202764117-053,%202764488-001,%202764488-002,%202764488-003,%202764488-004,%202764488-005,%202764488-006,%202764488-007,%202764488-008,%202764488-009,%202764488-010,%202764488-011,%202764488-012,%202764488-013,%202764488-014,%202764488-015,%202764488-016,%202764488-017,%202764488-018,%202764488-019,%202764488-020,%202764488-021,%202764488-022,%202764488-023,%202764488-024,%202764488-025,%202764488-026,%202764488-027,%202764488-028,%202764488-029,%202764488-030,%202764488-031,%202764488-032,%202764488-033,%202764488-034,%202764704-001,%202764704-002,%202764704-003,%202764704-004,%202764704-005,%202764704-006,%202764704-007,%202764704-008,%202764704-009,%202764704-010,%202764704-011,%202764704-012,%202765142-001,%202765142-002,%202765142-003,%202765142-004,%202765142-005,%202765142-006,%202765253-001,%202765440-001,%202765440-002,%202765440-003,%202765440-004,%202765440-005,%202765440-006,%202765440-007,%202765440-008,%202765440-009,%202765440-011,%202765440-012,%202765440-013,%202765440-014,%202765440-015,%202765440-016,%202765440-017,%202765440-018,%202765633-001,%202765633-003,%202765633-009,%202765633-010,%202765633-011,%202765633-012,%202765670-001,%202765670-011,%202765670-021,%202765670-031,%202765670-041,%202765670-045,%202765670-046,%202765670-051,%202765670-056,%202765670-057,%202765670-058,%202765670-059,%202765670-060,%202765670-061,%202765670-062,%202765670-063,%202765896-001,%202765896-002,%202765896-006,%202765896-009,%202765897-007,%202765980-001,%202765980-002,%202765980-003,%202765980-004,%202765980-005,%202765980-006,%202765980-007,%202765980-008,%202765980-009&wpRunQuery=true That will search to see if a page with those serial numbers has already been created. Right now, it's possible to select in the form that you want to be able to make auto-create links, so users can create the pages by clicking on them 1 at a time. For creating a small number of pages, that works well. But, when the number of pages to create numbers in the thousands, or more, having the ability to auto-create the pages could be helpful. Since such an ability to autocreate enormous numbers of pages could rapidly pollute a wiki, I have been giving some thought about how to handle that. One idea I've had was to create a new extension that allows for the creation of cryptographic hashes in templates. Then, a password can be stored in hash-form in a template, and the originating string "key" to the hash can be given out as a password to unlock the mass-data-entry feature. The Special:RunQuery ephemeral display template would check to make sure the password produces the required hash to execute the mass-create function. Another idea involved "tagging" each auto-created page with a property that would indicate some distinguishing facts like who created the pages, and on what date. Then, mass deleting the pages would be easier to do. I'm sure there's other, possibly better ways to restrict, control, and mitigate the effects of the usage of such a powerful mass-create feature from more fundamental code in Semantic Forms (as opposed to within a template). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l