The page need translation in Bengali language.
Help talk:Extension:TemplateWizard/Flow
I've found that editors tend to create pages by copying existing pages or by using a createbox tool combined with pre-loaded templates. As a result while this extension looks ideal for template editing, it will unfortunately not be useable in most cases unless the ability to edit existing templates is included. Is there a plan to implement this? Thanks
At current, it seems I can only search for a template in TemplateWizard if I already know and type in that template's full name (wikitext editor, mw 1.33) For example, if I have a template "Category Link" I can't search for it by entering "Cat" or "Category", no auto-complete, search suggestions or predicted results come up, I type "Category Link" and nothing comes up. I type "Category_Link" and my category link template comes up as it apparently can't recognize spaces as underscores either. My job queue is empty, the template has valid TemplateData with a valid description viewable via the api. A null edit to the template page itself did nothing to help the template data show up per the TemplateData documentation so it is not that:
Help:TemplateData#Limitations and feedback
I see a "search" icon (magifying glass) and "search for a template" text in the field but no searching is possible. I tried rebuildall.php, and rebuildtextindex.php still won't work. There is nothing on the extension documentation page on search feature config... I'm at a loss.
Am I missing something? Is there some maintenance script that needs to be run every time a template with template data is added? There is nothing on the documentation page that suggests how to get new templates with valid template data recognized.
Product Version
MediaWiki 1.33.0 (We are waiting for 1.35 to drop for upgrade)
PHP 7.3.15 (cgi-fcgi)
MySQL 5.7.28-log
ICU 57.1
Template wizard 0.1.0 (096f34e) 20:17, 24 March 2019
>Note: Only templates which have TemplateData will have descriptions. You are encouraged to add TemplateData to templates.
> TemplateData must be mandatory to be allowed to save when creating a template. It can be automatically generated in any case. So, the effort is not very intense. If no template data is include when creating the template, the user would be noticed that "TemplateDate is mandatory to create template. It can be automatically add". The user could utilize a "Automatically create" button to automatically create TemplateDate for the new template.
It says in the info not to use 2017 wikieditor. I don't know wht editor I am using and have been having problems. How do I find different versions of wikieditor?
Hi Zoeannl, to use the 2010 WikiEditor you should tick 'Enable enhanced editing toolbar' in your preferences under the 'Editing' tab, and have 'New wikitext mode' disabled under 'Beta features'. (And to use the TemplateWizard extension, enable 'TemplateWizard' under 'Beta features'.) For a complete list of all editors, see Editor.
hi you guys i need help finding the 2020 wikieditor
Is there a way to limit the auto-suggested pages only to those within a nominated category? Like the way page-forms does auto-complete.
Hi all, is there a reason why the Insert Template widget in VisualEditor looks and behaves differently than the TemplateWizard in WikiEditor? Is there a plan to update the Insert Template in the way the TemplateWizard looks like? I believe this is quite important from the UX-point of view. Anyway, great update for the WikiEditor, indeed!
Hi @YjM. The insert template widget you see in VisualEditor has been there since a few years. The wishlist project was to bring that functionality to the WikiEditor so when we were working on it, we decided to give it a UI update. I don't believe the VisualEditor team (known as Editing team now) has any plans to update the VisualEditor version currently but I do plan to bring this up with them in case they are interested. Thanks for the feedback!
It is because developers reinvented the wheel. To put it simply they are different applications. One only works in Wikitext Editor and the other is part of Visualeditor and doesn't work elsewhere. For instance, Visualeditor doesn't have any date input dialog, nor a specific one for adding numbers. Both are currently added as simple text.
In principle they should be sharing code, in practice chances are that they will diverge more as time goes by.
That's correct. The reason we had to split it up is because the template widget you see in VisualEditor is built in such a way that the code cannot be extracted out or reused outside of VE. We had a long discussion about this possibility with the VisualEditor engineers and they advised us to build it from scratch. In an ideal world, the code would be the same (and shared from the same source) between the two applications.
Thanks for the answers. Honestly, yours, @NKohli (WMF), made me sad. It makes no sense, from the user's POV, why these two things, which serves the very same purpuse, might possibly be different. I hope you will find a common ground with the V|E team and will share as much of the code as possible. I will probably propose this in this years' wishlist survey, if it helps in pushing the things forward.
Going by the screenshots and by the actual wishlist item, it seems obvious that some things were completely missed.
- No menu to filter types of templates (https://phabricator.wikimedia.org/T55590) - The wishlist seems to specifically ask for an infobox wizard and talks about newbies, but there is neither any way to filter only those infoboxes, quote templates, or anything else. This could be implemented by either fetching most used templates in a category or using wikidata to get them in non-english wikis, e.g. https://www.wikidata.org/wiki/Q19887878.
- Date type is not properly supported - It seems that the wizard either has a limited interpretation of the templatedata spec, or simply ignores it. The spec also allows the use of time in addition to dates. But this doesn't seem possible with this tool. Arguably, the templatedata spec should be improved to indicate the expected output format.
- Inability to select from a list of items (https://phabricator.wikimedia.org/T53375) - the wishlist item talks a lot about invalid structures. This doesn't address wrong template input, e.g choosing a country name from a dropdown.
Hello. Thanks for taking the time to reply! I will address your points below -
- When we started working on this project, we realized it could be useful for all kinds of templates and restricting it to just infoboxes seemed like a waste. You can still quite easily search for all infobox templates by using the search function. We thought about the idea for showing popular templates for new users but that is actually quite complex to compute, technically. We then settled on the idea of showing recently used templates for each user (https://phabricator.wikimedia.org/T194434) but we haven't implemented that yet.
- For this point, can you give me a specific example where you don't see date type supported correctly? We did test this feature but it seems like we missed some use cases.
- You are actually the first person to bring this to our attention as it was not mentioned in the wishlist proposal or any of the project page discussions I had with users. This seems like a very useful thing to have. I cannot commit to working on this currently as the team has several other projects to go through before the year end but we will definitely keep it on our list of things to do in the long-term.
Thank you so much.
It is certainly useful to be able to insert all templates. But the request stressed newbies, and newbies don't often know what templates even exist. They might as well type random stuff in the search box, remember that wikis in different languages may have named them quite differently. It would only need to list some 10 most used templates within specific categories to give the user a hint. It certainly would not need to list the thousands of templates that wikis have. There's also a lot of free whitespace that could contain that.
The date parameter isn't supported properly because the widget being used only shows dates, not time. There was also a hint of it here:https://meta.wikimedia.org/wiki/Talk:Community_Tech/Template_wizard#Inserting_dates. So for example, it can only insert stuff like "2014-05-09" but never "2014-05-09T16:01:12Z". See (https://phabricator.wikimedia.org/T100206#2197740). Try pasting that longer date in the templatewizard date input and it will simply be discarded.
About point 3, maybe they thought it was obvious, but some users make mentions about template parameters being added incorrectly : "On frwiki too template editors ask bot maintainers to change parameters of infoboxes. Here it seems to want to take the problem at the root for page creations. with a tool to directly add the right syntax.".
Anyway, thanks for the explanations...
Also, generally, it might be a good idea to pull in all templates currently on the page, and make it possible to insert them...
Sorry about the late reply. This got lost in my inbox. So one of the reasons it's hard to find "popular" templates is because generally the MOST transcluded templates are meta/banner templates. Which aren't meant to be used by themselves. But it's not trivial for the software to be able to recognize that. So the only workaround I see to this is for us to allow every wiki to configure what the list of popular templates would be for their wiki. This isn't exactly straightforward either and is likely to spark some wars on what templates are important enough to be shown in the list.
I do completely agree that giving a new user a completely empty screen is not a good experience.
About the dates, I will create a Phabricator to investigate this issue and see if we can find a solution for it. Thanks for raising this.
So one of the reasons it's hard to find "popular" templates is because generally the MOST transcluded templates are meta/banner templates.
This was true. However, end-users have already solved that problem by A) categorizing such templates B) adding it to wikidata . For instance, if I wanted to know what are the most used templates that fit into neat types that are likely useful for the average user:
- Get list of most used templates Special:MostTranscludedPages
- Get specific categories of templates linked through wikidata (https://www.wikidata.org/w/index.php?search=&search=haswbstatement%3AP279%3DQ11266439&title=Special%3ASearch&go=Go)
- Fetch infoboxes, navigation boxes, and other lists from wikidata:
- Filter list #1 by lists fetched in #3 using interwiki links, and show about 10 infoboxes, and 10 navboxes, simply excluding anything that doesn't fit into selected categories.
Probably the most useful templates are utility templates, such as template:date, template:formatdate, quote, etc. Although they currently aren't classified properly in wikidata, this would be trivial for volunteers. This would also make it possible to warn users when they are attempting to insert a template that doesn't belong in a content namespace, e.g. documentation templates ( https://www.wikidata.org/wiki/Q4608595).
Alternatively, if it is deemed unfeasible, it might be possible to handle tasks https://phabricator.wikimedia.org/T165053 or https://phabricator.wikimedia.org/T166525 . Either the latter or the wikidata solution seems like it should have certainly been part of this project because it specifically asked for an infobox insert tool and it was mutated into something else (for good reasons) with an empty screen.
For the dates, it seems simple enough to use the date picker used in Special:ApiSandbox#action=query&format=json&list=recentchanges .
It might generally be a good idea to clarify the exact specifications and limitations of future wishlist requests before perusing them.
Can I embed slides (.ppt or google slides) into a page?
There are instructions online that make it seem like it's possible, but when I search for Google Presentation in templates, no such option appears. I've experimented on my userpage on mediawiki, wikipedia, and wikimedia commons. No Google Presentation template in any of these.
Further, I tried to post the link to the instructions that explain how to embed a google presentation but I received a warning that my post was marked as spam because it contained a link to an outside page. So I must omit the link to the instructions I'm referencing so that I can post this question.
Thanks
Hilfe:Vorlagen/Wizard does provide a different approach of instruction.
Might me mentioned if no translation is available.
That is integrated into project infrastructure and refers to particular issues at German Wikipedia.