Pretty soon, likely within the next week, I'll be moving all accesskeys and tooltips out of Monobook.js and implement them server-side. This may affect personal scripts that implement custom accesskeys; they'll have to be revised a bit to find the elements themselves rather than relying on their presence in the "ta" array, but it shouldn't be difficult. Sites that have modified Monobook.js should not have their global changes affected by this directly, although they may have to rework them when the id's are changed.
The tooltip for any given element that has a tooltip will be stored in a message "tooltip-x", where x is the element's HTML id, and can be modified as usual by sysops. The accesskey, likewise, will be stored in a message "accesskey-x".
For developers: currently this is in a branch, branches/simetrical/. Help converting over the language files would be greatly appreciated (via commits or, for non-devs, patches), but I'll do it myself if necessary. I'll make this concurrent with reworking the id's/classes, just for simplicity.
Simetrical wrote:
Pretty soon, likely within the next week, I'll be moving all accesskeys and tooltips out of Monobook.js and implement them server-side.
Speaking of accesskeys, is there a complete list of them somewhere? Seems like an obvious gap in the documentation (couldn't find anything on meta or on mediawiki.org).
Timwi wrote:
Simetrical wrote:
Pretty soon, likely within the next week, I'll be moving all accesskeys and tooltips out of Monobook.js and implement them server-side.
Speaking of accesskeys, is there a complete list of them somewhere? Seems like an obvious gap in the documentation (couldn't find anything on meta or on mediawiki.org).
Under the current ta array system, you can generate a list using JavaScript...
var list=""; for(var id in ta) { list = list + id + ": (" + ta[id][0] + ", " + ta[id][1] + ")\n "; }
On 07/11/06, Timwi timwi@gmx.net wrote:
Speaking of accesskeys, is there a complete list of them somewhere? Seems like an obvious gap in the documentation (couldn't find anything on meta or on mediawiki.org).
You may have noticed that MediaWiki's documentation mostly consists of gaps ;-)
Has anyone made a list of holes in MW doc? (Not that I'm volunteering.)
- d.
On 11/7/06, Timwi timwi@gmx.net wrote:
Simetrical wrote:
Pretty soon, likely within the next week, I'll be moving all accesskeys and tooltips out of Monobook.js and implement them server-side.
Speaking of accesskeys, is there a complete list of them somewhere? Seems like an obvious gap in the documentation (couldn't find anything on meta or on mediawiki.org).
They vary by language, in theory. Mostly they're all the same cross-language. Some are their own system messages, starting with "accesskey-", and can be looked up as such. The remainder are in Monobook.js. All appear in tooltips, I think, so you can see if a given element has an accesskey when hovering over it.
wikitech-l@lists.wikimedia.org