Page MenuHomePhabricator

wp entities in Mediawiki
Closed, InvalidPublic

Description

Author: gangleri

Description:
Dear friends;

At
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/messages/MessagesEn.php?r1=14232&r2=14243
you will find changes
205 'wikipediapage' => 'View project page', 'projectpage' => 'View project page',

263 'nstab-wp' => 'Project page', 'nstab-project' => 'Project page',

1570 ta[\'ca-nstab-wp\'] = new Array(\'a\',\'View the project page\'); ta[\'ca-nstab-project\'] = new Array(\'a\',\'View the project page\');

since then a lot of entities as anchors, fields, etc changed the prefix from « wp » to « mw » .

However such « wp » entities still exist in the code.

Examples:
If you look at the source code at
http://test.wikipedia.org/w/index.php?title=Special:Userlogin&type=signup&returnto=Main_Page

<img src="/w/index.php?title=Special:Captcha/image&amp;wpCaptchaId=0000000000" width="285" height="85" alt="" />
<input type="hidden" name="wpCaptchaId" id="wpCaptchaId" value="2139425154" /><p><input name="wpCaptchaWord" id="wpCaptchaWord" tabindex="1" />

further

wpName2
wpName
wpPassword2
wpPassword"
wpRetype
wpEmail
wpRemember
wpCreateaccount

I am aware that changing all the « wp » entities to « mw » entities will break a lot of tools as the « id="wpTextbox1" » bidirectional editing help etc. However I liked to post this note.

Best regards Reinhardt [[user:Gangleri]]


Version: unspecified
Severity: enhancement

Details

Reference
bz12744

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:01 PM
bzimport set Reference to bz12744.
bzimport added a subscriber: Unknown Object (MLST).

wp == "wiki post" here, similar to wg "wiki global", ws "wiki session", etc.