Last modified: 2011-03-13 18:06:02 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 T15111, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13111 - (not written yet) in the title attribute of links to non-existing pages
(not written yet) in the title attribute of links to non-existing pages
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-22 18:14 UTC by Carl Fürstenberg
Modified: 2011-03-13 18:06 UTC (History)
5 users (show)

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


Attachments

Description Carl Fürstenberg 2008-02-22 18:14:01 UTC
The addition of (not written yet) breaks multitude of scripts and bots and should be removed until consensus has been aqquired to have that string in the title.
Comment 1 Bryan Tong Minh 2008-02-22 18:22:54 UTC
(changed title)

Some more clarification: the title attribute of the <a> tag is frequently used by scripts to determine the pagename the link is pointing to, and those will break.
Comment 2 Victor Vasiliev 2008-02-22 19:17:18 UTC
Fixed in r31196.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-02-22 19:41:56 UTC
Reopening.  This fix should not stay in trunk.  Any bot that relies on title is relying on incidental functionality that no one ever guaranteed would be stable, and it's the bot that should be fixed.  href is the correct attribute to rely on for this.  If you need to resolve redirects, you can use the proper API we provide for things like this.
Comment 4 Carl Fürstenberg 2008-02-22 20:00:20 UTC
(In reply to comment #3)
> Reopening.  This fix should not stay in trunk.  Any bot that relies on title is
> relying on incidental functionality that no one ever guaranteed would be
> stable, and it's the bot that should be fixed.  href is the correct attribute
> to rely on for this.  If you need to resolve redirects, you can use the proper
> API we provide for things like this.
> 

As long the urls are not fully consistent (sometimes with title attribute, sometimes without), it's better that at least something is simple and static.
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-02-22 20:51:27 UTC
What do you mean?
Comment 6 Andrew Garrett 2008-02-22 23:50:38 UTC
Concur with Simetrical. MediaWiki's USER interface should be designed, first and foremost, to service the needs of users. We have an API interface for bots to use. Those bots that use the standard user interface for tasks which the API interface can handle adequately should not expect any special consideration. Having somebody revert a patch by a senior developer without discussion counts as "special consideration" in my book, especially when very simple fixes can be applied to the bot code to parse and normalise a title contained about ten characters later in the HTML code.

I would support a WONTFIX resolution.
Comment 7 Tim Starling 2008-02-23 02:38:03 UTC
Carl, can you give a list of broken bots? Maybe we can help to fix the open source ones.
Comment 8 Victor Vasiliev 2008-02-23 07:53:30 UTC
(In reply to comment #7)
> Carl, can you give a list of broken bots? Maybe we can help to fix the open
> source ones.
> 

Some pywikipedia bots was broken (see welcome.py on pywikipedia repo). Of course, all these bots must use API (I agree with Andrew), but we should give some time so JavaScript developers may rewrite their scripts.
Comment 9 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-02-24 00:49:28 UTC
The reversion was reverted in r31218 by VasilievVV, with the observation that it can be disabled on sites that don't want it by changing [[MediaWiki:Red-link-title]] to "$1".  Resolving WONTFIX.

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


Navigation
Links