Update
Based on all the comments and on Shepmaster's answer, I think perhaps it would be better to have an MRE Guideline page (that might include templates) instead of a MRE template page for each tag. I really liked How to make a great R reproducible example? but I think it's not the correct way to do it. The Rust tag wiki is more like what I have in mind, only I think that when it's just another part of the wiki it's less usable compared to a designated tag page.
Original question
Based on How to improve a canonical question, that may appear to be “too broad”? on meta, where the OP basically had the idea of posting various MREs, and also on Better support for sample data and perhaps table schemas in SQL questions, where the OP complains about the lack of MREs specifically in SQL questions -
I would like to request adding one more page to the tags - a page dedicated to creating a MRE.
While it's quite impossible to have single question to show users how to write a proper MRE for every known technology, it's actually quite easy to have a single (or even multiple) MRE templates for each tag.
This page should be edited by the community members, just like the tag info page.
For example, an MRE template for sql-server might be as simple as
Declare @T as table
(
-- Columns here
)
INSERT INTO @T (/* Columns Here */) VALUES
(/* Values here */)
[,(/* Values here */)...]
While an MRE template for c# might be something like this:
namespace Mre
{
public class Program
{
public static void Main(string[] args)
{
//Your code goes here
}
}
}
So here is how I envision it:
It would be more helpful if we could enable directly coping the MRE template to a question on the ask page - perhaps when the user types in the tag, some link in the auto-complete (like the i in the circle is linking to the tag info page).
R
, but this is even better then what I imagined. It's kind of like a tag-specific improved How-To-Ask page, which is much more then I bargained for, but of course if that's going to be accepted I'll take it :-)mcve
link (they won't even understand the acronym).