Last modified: 2011-10-16 12:50:50 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 T12877, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10877 - metadata for diff-page in JS output
metadata for diff-page in JS output
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-10 19:06 UTC by Carl Fürstenberg
Modified: 2011-10-16 12:50 UTC (History)
0 users

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


Attachments

Description Carl Fürstenberg 2007-08-10 19:06:20 UTC
the diff-page is relativly difficult to read per machine, especially as it's layout isn't static, but changes depending on who made the edit, or if it's the latest edit etc...

So I propose a JS variable for diff pages, to ease up the parsing. it doesn't need to include much, but at a minimum the exact ids.

The syntax would be like:
wgMetadata = {oldid:150446343, newid:150446351};
for 
http://en.wikipedia.org/w/index.php?title=Wikipedia%3ASandbox&diff=cur&oldid=prev
(at current time that is)
Comment 1 Rob Church 2007-08-10 19:10:59 UTC
Seems to me that it would be better to offer machine-readable diffs, or use external diffing in that situation, since the diff isn't supposed to be read by a machine.
Comment 2 Carl Fürstenberg 2011-10-16 12:50:50 UTC
This bug is irrelevant since long time back

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


Navigation
Links