Last modified: 2013-02-14 10:48:23 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 T44629, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42629 - InfoAction should have canonical HTML IDs (not localization-dependent)
InfoAction should have canonical HTML IDs (not localization-dependent)
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.21.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-02 17:27 UTC by db [inactive,noenotif]
Modified: 2013-02-14 10:48 UTC (History)
2 users (show)

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


Attachments

Description db [inactive,noenotif] 2012-12-02 17:27:31 UTC
It is possible to get ids for the header and table, which are not changed across languages?

And please remove the # from the current id of the header. It is more confusing, than helping (Linking works, but javascript selection is complicated)

Thanks.
Comment 1 MZMcBride 2013-01-22 19:11:06 UTC
(In reply to comment #0)
> And please remove the # from the current id of the header. It is more
> confusing, than helping (Linking works, but javascript selection is
> complicated)

db is referring to this:

---
<h2><span class="mw-headline" id="#Basic_information">Basic information</span></h2>
---

The "#" in the CSS id attribute is wrong.

I'm not sure if the ID should be canonical (similar to file description pages) or if it should use the value of the h2. I guess having both would be best, if possible?
Comment 3 Krinkle 2013-02-14 10:48:14 UTC
(In reply to comment #0)
> It is possible to get ids for the header and table, which are not changed
> across languages?

I agree, they shouldn't be dependent on localisation (both English and non-English). If "Basic information" is ever changed to "General data" or whatever, the anchors should stay as-is, just like we have #mw-portal, #toc, footer, #file etc.

> And please remove the # from the current id of the header. It is more
> confusing, than helping (Linking works, but javascript selection is
> complicated)

The leading # is fixed (bug 44989).

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


Navigation
Links