下面的链接和文本片段描述并引用了SMW表单中字段的"uploadable"参数(希望这是正确的问题跟踪器)
n","src":"The following links and text snippets describe and reference the "uploadable" parameter for field in SMW Forms (hope this is the right issue tracker for this)
n","tgtPronounce":"xià miàn de liàn jiē hé wén bĕn piàn duàn miáo shù bìng yĭn yòng le SMWbiăo dān zhōng zì duàn de"uploadable"cān shù(xī wàng zhè shì zhèng què de wèn tí gēn zōng qì)
n"}],[{"tgt":"指定一个链接应该放在这个字段旁边,打开一个弹出窗口,让用户上传文件;","src":"
Specifies that a link should be placed next to this field, that opens a popup window to let the user upload a file; ","tgtPronounce":"
zhĭ dìng yí gè liàn jiē yīng gāi fàng zài zhè gè zì duàn páng biān, dă kāi yí gè dàn chū chuāng kŏu, ràng yòng hù shàng chuán wénjiàn;"},{"tgt":"请参阅下面的"上传文件"。","src":" see "Uploading files", below. ","tgtPronounce":" qĭng cān yuè xià miàn de"shàng chuán wén jiàn'."},{"tgt":"看到
n","src":" See n","tgtPronounce":" kàn dào n"}],[{"tgt":"https://www.mediawiki.org/wiki/Extension: Semantic_Forms/Defining_forms # .27field.27_tagn","src":"
https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tagn","tgtPronounce":"
https://www. mediawiki. org/wiki/Extension: Semantic_Forms/Defining_forms#. 27 field. 27 _tagn"}],[{"tgt":"https://www.mediawiki.org/wiki/Extension: Semantic_Forms/Defining_forms # Uploading_files
n","src":"https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Uploading_files n","tgtPronounce":"https://www. mediawiki. org/wiki/Extension: Semantic_Forms/Defining_forms#Uploading_files n"}],[{"tgt":"目标属性的类型似乎必须是Page才能工作,对于图像没有特殊的标准数据类型:
n","src":"The type of the target property seems to have to be Page for this to work, there is no special standard datatype for images in:
n","tgtPronounce":"mù biāo shŭ xìng de lèi xíng sì hū bì xū shì Pagecái néng gōng zuò, duì yú tú xiàng méi yŏu tè shū de biāo zhŭn shù jù lèi xíng:
n"}],[{"tgt":"https://semantic-mediawiki.org/wiki/Help List_of_datatypes
n","src":"https://semantic-mediawiki.org/wiki/Help:List_of_datatypes
n","tgtPronounce":"https://semantic-mediawiki. org/wiki/Help List_of_datatypes
n"}],[{"tgt":"这是如何工作的解释:
n","src":"There are explanations in how this works at:
n","tgtPronounce":"zhè shì rú hé gōng zuò de jiĕ shì:
n"}],[{"tgt":"http://smw.referata.com/wiki/Using_Semantic_Forms_for_file_pages_and_uploadsn","src":"
http://smw.referata.com/wiki/Using_Semantic_Forms_for_file_pages_and_uploadsn","tgtPronounce":"
http://smw. referata. com/wiki/Using_Semantic_Forms_for_file_pages_and_uploadsn"}],[{"tgt":"http://discoursedb.org/wiki/Form:Images_testn","src":"http://discoursedb.org/wiki/Form:Images_testn","tgtPronounce":"http://discoursedb. org/wiki/Form: Images_testn"}],[{"tgt":"http://discoursedb.org/wiki/Special: FormEdit/Images_test/ImageTest
n","src":"http://discoursedb.org/wiki/Special:FormEdit/Images_test/ImageTest n","tgtPronounce":"http://discoursedb. org/wiki/Special: FormEdit/Images_test/ImageTest n"}],[{"tgt":",已经讨论了如何处理"File:"命名空间前缀:n","src":"
and there has been a discussion how to handle the "File:" namespace prefix:n","tgtPronounce":"
, yĭ jīng tăo lùn le rú hé chŭ lĭ"File: "mìng míng kōng jiān qián zhuì:n"}],[{"tgt":"http://semediawiki-devel.narkive.com/gm7hJMBE/smw-devel-sf-turning-uploadable-into-input-type-upload
n","src":"http://semediawiki-devel.narkive.com/gm7hJMBE/smw-devel-sf-turning-uploadable-into-input-type-upload n","tgtPronounce":"http://semediawiki-devel. narkive. com/gm 7 hJMBE/smw-devel-sf-turning-uploadable-into-input-type-upload n"}],[{"tgt":"现在我假设此时"File:"部分不是由uploadable标志处理的(至少在默认情况下不是)。
n","src":"Now I assume that at this point the "File:" part is not handled by the uploadable flag (at least not by default).
n","tgtPronounce":"xiàn zài wŏ jiă shè cĭ shí"File: "bù fèn bú shì yóu uploadablebiāo zhì chŭ lĭ de(zhì shăo zài mò rèn qíng kuàng xià bú shì).
n"}],[{"tgt":"如果有解决方案(或者如果存在适当的文档指针)允许自动添加File:前缀,以便完整的页面描述File:someImage作为"uploadable"的结果可用,那将是很棒的。
n","src":"It would be great to have solution (or if one exists a proper documentation pointer to it) that allows the File: prefix to be added automatically so that the full page description File:someImage is available as the result of "uploadable".
n","tgtPronounce":"rú guŏ yŏu jiĕ jué fāng àn(huò zhĕ rú guŏ cún zài shì dàng de wén dàng zhĭ zhēn)yŭn xŭ zì dòng tiān jiā File: qián zhuì, yĭ biàn wán zhĕng de yè miàn miáo shù File: someImagezuò wéi"uploadable"de jiē guŏ kĕ yòng, nèi jiāng shì hĕn bàng de.
n"}],[{"tgt":"这将是一个解决方案或解决方案或指针解决这个问题?","src":" What would be a workaround or solution or pointer to a solution for this?","tgtPronounce":" zhè jiāng shì yí gè jiĕ jué fāng àn huò jiĕ jué fāng àn huò zhĭ zhēn jiĕ jué zhè gè wèn tí?"},{"tgt":"
我已经在n","src":"
I have filed a bug report atn","tgtPronounce":"
wŏ yĭ jīngzàin"}],[{"tgt":"* https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1036n","src":"* https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1036n","tgtPronounce":"*https://github. com/SemanticMediaWiki/SemanticMediaWiki/issues/1036n"}],[{"tgt":"通知开发人员
我总是使用数据类型为text的属性来存储文件名,并且从不向该属性添加名称空间。","src":"
I always use a property of datatype text for storing the file names and I never add the namespace to this property. ","tgtPronounce":"
wŏ zŏng shì shĭ yòng shù jù lèi xíng wéi textde shŭ xìng lái cún chú wén jiàn míng, bìng qiĕ cóng bù xiàng gāi shŭ xìng tiān jiā míng chēng kōng jiān."},{"tgt":"因此,我可以对保存它的模板中的存储值做任何我喜欢的事情,即链接到"Media:"或"File:"。
n","src":" Thus I can do whatever I like with the stored value in the template which is holding it, i.e. link it to "Media:" or to "File:". n","tgtPronounce":" yīn cĭ, wŏ kĕ yĭ duì băo cún tā de mú băn zhōng dì cún chú zhí zuò rèn hé wŏ xĭ huān de shì qíng, jí liàn jiē dào"Media: "huò"File: ". n"}],[{"tgt":"如果你真的想直接添加命名空间,你可以在模板中执行[[Is file:: file: {{{file |}}}]]