Last modified: 2013-08-30 02:54:45 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 T53979, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51979 - Template manager problem with "." in template name
Template manager problem with "." in template name
Status: RESOLVED DUPLICATE of bug 51308
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
PC Windows 7
: Unprioritized minor
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 17:45 UTC by pyfisch
Modified: 2013-08-30 02:54 UTC (History)
3 users (show)

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


Attachments

Description pyfisch 2013-07-24 17:45:29 UTC
If you want to add or edit a template which contains a "." (dot) in it's title the dot and the text after the dot is not displayed. This occured on the mediawiki.org wiki on the page "Manual:Page table" with the template "MW 1.5"
Comment 1 John Mark Vandenberg 2013-07-24 21:58:04 UTC
I tried this at https://www.mediawiki.org/wiki/Manual:Page_table?veaction=edit

When I ask for the template 'MW 1.5', the dropdown of 10 templates is:

MW 1.5/pl
MW 1.5/zh-hant
MW 1.5/vi
MW 1.5/de
MW 1.5/es
MW 1.5/ja
MW 1.5/pt-br
MW 1
MW 1.5/fr

'MW 1.5' is not in the list of ten!

Is that the problem you are seeing?
Comment 2 pyfisch 2013-07-24 22:36:59 UTC
This is a part of the problem.
If you select now "MW 1" from the list and submit the changes, you see that "MW 1" does not exist.
Same problem when looking on an existing Template like "MW 1.5" only "MW 1" is displayed in the template manager.
Comment 3 John Mark Vandenberg 2013-07-25 00:24:34 UTC
Ah yes, https://www.mediawiki.org/wiki/Template:MW_1 doesnt exist, but it is in the dropdown list.

The same happens on enwp with 
  https://en.wikipedia.org/wiki/Template:WP1.0
  https://en.wikipedia.org/wiki/Template:Cc-by-sa-3.0
(not good examples as they arnt used in articles often, but copyright ones sometimes are:
https://en.wikipedia.org/w/index.php?title=Special%3AWhatLinksHere&target=Template%3ACc-by-sa-3.0&namespace=0
)

However this template works properly
https://en.wikipedia.org/wiki/Template:Wikipedia_1.0_Navigation

So I'm guessing this only happens if the period and digits are at the end of the template name.
Comment 4 James Forrester 2013-08-30 02:54:45 UTC
This is caused by a bug in core - bug 51308 - which thinks that '.'s in page titles aren't allowed. We're getting it fixed urgently. Sorry for the disruption.

*** This bug has been marked as a duplicate of bug 51308 ***

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


Navigation
Links