Last modified: 2011-10-16 12:50:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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