Last modified: 2014-07-01 10:18: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 T68723, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66723 - The protorel attribute in the siteinfo API is set to "true", not "".
The protorel attribute in the siteinfo API is set to "true", not "".
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: C. Scott Ananian
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-17 14:54 UTC by C. Scott Ananian
Modified: 2014-07-01 10:18 UTC (History)
4 users (show)

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


Attachments

Description C. Scott Ananian 2014-06-17 14:54:02 UTC
The siteinfo API uses an empty string to indicate presence of an attribute.  The "protorel" property was being set to 'true' instead.  Change it to '' to be consistent.
Comment 1 Gerrit Notification Bot 2014-06-17 14:54:37 UTC
Change 140132 had a related patch set uploaded by Cscott:
The siteinfo API uses '' as an attribute value, not `true`.

https://gerrit.wikimedia.org/r/140132
Comment 2 Gerrit Notification Bot 2014-06-17 14:57:28 UTC
Change 140130 had a related patch set uploaded by Cscott:
The siteinfo API uses '' as a value to indicate true.

https://gerrit.wikimedia.org/r/140130
Comment 3 Gerrit Notification Bot 2014-06-18 14:03:37 UTC
Change 140132 merged by jenkins-bot:
The siteinfo API uses '' as an attribute value, not `true`.

https://gerrit.wikimedia.org/r/140132
Comment 4 C. Scott Ananian 2014-06-18 14:27:53 UTC
Not fixed until the corresponding Parsoid patch is merged ( https://gerrit.wikimedia.org/r/140130 ).
Comment 5 Gerrit Notification Bot 2014-06-18 14:53:35 UTC
Change 140130 merged by jenkins-bot:
The siteinfo API uses '' as a value to indicate true.

https://gerrit.wikimedia.org/r/140130
Comment 6 Brad Jorsch 2014-06-18 14:56:22 UTC
(In reply to C. Scott Ananian from comment #4)
> Not fixed until the corresponding Parsoid patch is merged

This bug is filed against the API, which is fixed, and says nothing about Parsoid. There's no reason that Parsoid not being fixed should hold an API bug open. The issue in Parsoid should probably have its own bug depending on this one.

Although the point is moot now since I see your Parsoid patch has been +2ed.
Comment 7 Gerrit Notification Bot 2014-06-26 22:36:05 UTC
Change 142444 had a related patch set uploaded by Cscott:
Fix parserTest setup: siteinfo API returns '' to indicate true.

https://gerrit.wikimedia.org/r/142444
Comment 8 Gerrit Notification Bot 2014-06-27 22:54:18 UTC
Change 142444 merged by jenkins-bot:
Fix parserTest setup: siteinfo API returns '' to indicate true.

https://gerrit.wikimedia.org/r/142444
Comment 9 C. Scott Ananian 2014-06-30 17:57:50 UTC
Sorry, Brad, when I file a bug, and it is assigned to me, and the issue applies to both Parsoid and core I usually use the same bug # for both components and try to arrange that the patches be merged together.  I don't like for the bug to disappear from my bugzilla radar until that has happened.

I probably should have changed the component of the bug over to Parsoid after the core patch landed.  Or opened a new bug, but that actually obscures the connection between the parsoid and core changes.
Comment 10 Brad Jorsch 2014-06-30 18:02:45 UTC
(In reply to C. Scott Ananian from comment #9)
> I probably should have changed the component of the bug over to Parsoid
> after the core patch landed.

That would've worked for me, although it would mean that someone trying to do statistics on API bugs wouldn't find it.
Comment 11 Andre Klapper 2014-07-01 10:18:50 UTC
(In reply to C. Scott Ananian from comment #9)
> Or opened a new bug, but that actually
> obscures the connection between the parsoid and core changes.

That's what originally the "Blocks" and "Depends on" fields were for in Bugzilla (but the [ab]use in this Bugzilla is pretty broad).

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


Navigation
Links