Remove unused templates (especially old versions of disambiguation)
Closed, ResolvedPublic

Description

We need to clean the site from old and unused templates, paying attention to pages in which they're still inserted , where we have to replace them with the new accepted ones.

The idea is to use the same template in all portals. I mean the template is written in English and all the strings are translated using I18n template and Project:Messages.
The only problem is for the templates related to the content (Theorem, Lemma, etc...). Their title should be in the proper language because users have to use them.

Templates we need work in progress

These needs translations in template name and in WTLVETemplates extension:

  • Theorem
  • Definition
  • Lemma
  • Example
  • Demonstration REMOVED, USE PROOF
  • Corollary
  • Axiom
  • Proof
  • Proposition
  • Observation REMOVED, USE REMARK
  • Quote IS THIS NEEDED?
mbonanomi updated the task description. (Show Details)Jun 30 2016, 10:12 AM

Is there a list with templates you defined as "old and unused"? I mean, removing useless templates is ok but we always have to pay attention to "what links here" page, otherwise we could damage some pages.

Isn't there a special page to detect the unused templates?

ruphy triaged this task as Low priority.Jun 30 2016, 4:18 PM

This is the page http://it.wikitolearn.org/Speciale:TemplateNonUsati (similar one for other languages). Of course I would double check before nuking potentially useful templates.

In any case, lowering the priority: it's nice to have but not crucial

atundo raised the priority of this task from Low to High.Oct 6 2016, 3:12 PM
atundo added a project: WikiToLearn (1.0).
atundo added a subscriber: atundo.EditedOct 6 2016, 3:18 PM

I change the priority because we are going to change template another time. So now it's a good opportunity to organize templates better and remove unused templates.

I'm going to make a list of templates we want to preserve / create, then I will update this task description with the list. I want to ask to @ruphy if his idea about it was: create templates with an english name and then translate them using I18n and Project:Messages. In my opinion is a very good option (we adopted it for CourseEditor).

I ask your help to check if I forget some of them.

Finally, I would like to ask @crisbal and @grigoletti to comment if they want to use new skin css classes within template, and @davidev to follow this task because wil be a bot to change the templates of the courses etc...

atundo updated the task description. (Show Details)Oct 6 2016, 3:59 PM
atundo updated the task description. (Show Details)
atundo updated the task description. (Show Details)Oct 6 2016, 4:14 PM
atundo updated the task description. (Show Details)Oct 6 2016, 4:25 PM
atundo updated the task description. (Show Details)Oct 8 2016, 10:38 AM
atundo updated the task description. (Show Details)Oct 11 2016, 10:22 PM
atundo updated the task description. (Show Details)Oct 11 2016, 10:26 PM
crisbal updated the task description. (Show Details)Oct 24 2016, 6:53 PM
atundo updated the task description. (Show Details)Oct 28 2016, 2:09 PM
atundo added a comment.EditedOct 28 2016, 2:30 PM

saved_book is used directly by Collection extension and it's a i18n message, so it's translated.

Since I manually create collections using CourseEditor we could ignore the name of the Collection template ad use SavedBook and I18n template.
The problem arise if a user create his/her personal book using Collection extension.

The solutions could be:

  1. Create SavedBook and saved_book, libro_salvato, etc should be only wrappers to SavedBook. Use SavedBook within CourseEditor and Collection can use its names of the template without problems
  2. Create saved_book, libro_salvato etc and use them within CourseEditor too. Now it's implemented this solution. The only issue with this solution is lack of nomenclature consistency with other templates.

Let me know!

atundo updated the task description. (Show Details)Oct 28 2016, 2:33 PM
atundo updated the task description. (Show Details)Oct 28 2016, 2:37 PM
crisbal updated the task description. (Show Details)Oct 28 2016, 5:09 PM
crisbal updated the task description. (Show Details)Oct 28 2016, 5:34 PM

what about Center template?
and french templates for primary school?

what about Center template?
and french templates for primary school?

Center Template is still officially supported

I can't say much about the primary school ones. I mean, they will still exist, not sure at which level of support from the tech team and from the editing team.

http://it.wikitolearn.org/Speciale:TutteLePagine?from=&to=&namespace=10

Ok since removing the unused and wrong templates is going to take a while I would suggest to postpone this after 1.0.

http://it.wikitolearn.org/Speciale:TemplateNonUsati

ruphy lowered the priority of this task from High to Normal.Feb 16 2017, 8:12 PM
atundo closed this task as Resolved.Mar 28 2018, 11:02 AM
atundo claimed this task.