Last modified: 2011-10-02 21:22:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33161, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31161 - User override of templates
User override of templates
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Babel (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Robert Leverington
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-26 06:43 UTC by Brendan McClure
Modified: 2011-10-02 21:22 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brendan McClure 2011-09-26 06:43:56 UTC
I'd like to be able to use Babel extension generated boxes on a Wiki which has plenty of existing babel templates in a state of complete disarray. As is, the templates override everything.
Comment 1 Nemo 2011-10-02 16:42:53 UTC
I don't understand your exact problem nor your proposed solution: is this a duplicate of bug 31309?
Comment 2 Brendan McClure 2011-10-02 21:00:28 UTC
No. Presently {{#babel:fr-2}} first checks whether Template:User fr-2 exists, if it does it transcludes it, and if it doesn't then it generates the babel box on the fly. The problem is that some wikis have a large number of babel templates which aren't properly maintained, so you end up with mismatched colors and styles and badly worded texts. I would like something like {{#babel:!fr-2}} which would skip checking for a Template:User fr-2 and just generate a babel box on the fly.
Comment 3 Nemo 2011-10-02 21:22:31 UTC
(In reply to comment #2)
> No. Presently {{#babel:fr-2}} first checks whether Template:User fr-2 exists,
> if it does it transcludes it, and if it doesn't then it generates the babel box
> on the fly. The problem is that some wikis have a large number of babel
> templates which aren't properly maintained, so you end up with mismatched
> colors and styles and badly worded texts. I would like something like
> {{#babel:!fr-2}} which would skip checking for a Template:User fr-2 and just
> generate a babel box on the fly.

I don't think this makes sense: either the wiki uses local templates or it doesn't, you can't have a double system in place. 
Local unmaintained templates should be deleted, or you can ignore them with a single edit to [[MediaWiki:babel-template]]. See also [[:m:Talk:Babel_extension#Crosswiki]] (assuming you're talking about Wikimedia projects).
Closing WONTFIX.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links