Page MenuHomePhabricator

add « id="wpTextbox1" » to the « textarea » at « [[special:Emailuser/Foo]] »
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Dear friends,

Brion has created some time ago
http://test.leuksman.com/extensions/BidiSwitch/switch.js
which is used to select the directionality in « textarea forms » .

It is part of

http://yi.wiktionary.org/wiki/user:Gangleri/monobook.js?uselang=en

and facilitates both BiDi editing as at

http://yi.wiktionary.org/w/index.php?title=project:sandbox&action=edit&uselang=yi

The code there is:
<textarea tabindex='1' accesskey="," name="wpTextbox1" id="wpTextbox1" rows='20'
cols='80' >

and « show source » due to the fix of
bug 005611 · 'name=xxx' for the 'textarea' when viewing the source of a protected page

Enhancement request:

Please add « id="wpTextbox1" » also at « [[special:Emailuser/Foo]] ».

At this moment the code generated there is:
<textarea name="wpText" rows='20' cols='80' wrap='virtual' style="width: 100%;"></textarea>

Thanks for your efforts in advance.

Best regards Reinhardt [[user:Gangleri]]


Version: unspecified
Severity: enhancement
URL: http://yi.wiktionary.org/w/index.php?title=special:Emailuser/I18n&uselang=yi

Details

Reference
bz12082

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:00 PM
bzimport set Reference to bz12082.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 12087 has been marked as a duplicate of this bug. ***

id="wpTextbox1" added with r27868.

gangleri wrote:

(In reply to comment #2)

id="wpTextbox1" added with r27868.

Thanks Raimond for the patch. It seams that this patch is not live.

REOPENing and adding keyword « shell » .

  1. This is not shell issue, please don't add this keyword.
  1. The id="wpText" has been added instead to keep the compatibility, see r27869.

gangleri wrote:

Dearr Danny;

The enhancement request said clearly :

add « id="wpTextbox1" » to the « textarea » at « [[special:Emailuser/Foo]] »

« id="wpTextbox1" » triggers
http://test.wikipedia.org/wiki/MediaWiki:Gadget-BiDiEditing.js
[[commons:MediaWiki:Gadget-BiDiEditing.js]] [[meta:MediaWiki:Gadget-BiDiEditing.js]] at [[incubator:]], [[wm2008:]], beta.wikiversity and copies at wikis either being st to RTL or supporting both LTR and RTL scripts as:
w: ar:, arc:, dv:, fa:, ha:, he:, ks:, ku:, lad:, pa:, ps:, sd:, ps:, tk:, ug:, ur:, yi:
and their sister projects.

The gadget is working already for editing pages or sections, viewing protected sources and should be available for the other three actions mentioned at http://www.mediawiki.org/wiki/User_talk:Tim_Starling#id.3D.22wpTextbox1.22

Please take all this into considertations.

Best regards Reinhardt [[user:Gangleri]]