Last modified: 2014-02-12 23:47:47 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 T52136, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50136 - Cannot edit my vector.css user page
Cannot edit my vector.css user page
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
beta (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Jon
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-24 21:49 UTC by Jon
Modified: 2014-02-12 23:47 UTC (History)
9 users (show)

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


Attachments

Description Jon 2013-06-24 21:49:44 UTC
When I go to edit
https://en.m.wikipedia.org/wiki/User:Jdlrobson/vector.css
and click edit I get a response:

{"servedby":"mw1142","error":{"code":"rvnosuchsection","info":"There is no section 0 in r561422068"}}

Which causes an infinite length of ajax requests.

I thought this might be due to the '/' symbol but I seem to be able to edit mediawiki.org/wiki/MobileFrontend/Deployment
Comment 1 Jon 2013-06-27 17:14:11 UTC
See also bug 50301 for the infinite ajax request part of this bug.
This bug is now about not being able to load the editor for this page.
Comment 2 Jon 2013-06-29 00:42:34 UTC
An api request is made to
/w/api.php?format=json&action=query&prop=revisions&rvprop=content%7Ctimestamp&titles=User%3AJdlrobson%2Fvector.css&rvsection=1

which returns
{"error":{"code":"rvnosuchsection","info":"There is no section 1 in r2887"}}
Comment 3 Jon 2013-06-29 00:44:44 UTC
Apparently dropping rvsection solves this problem.
I'm not sure what other pages this effects.
Comment 4 Alex Monk 2013-06-29 20:24:37 UTC
I think only pages with the wikitext content model can have sections.
Comment 5 Liangent 2013-06-29 21:01:10 UTC
(In reply to comment #4)
> I think only pages with the wikitext content model can have sections.

Looks like a regression since the introduction of ContentHandler.

We accepted a non-ideal legacy usage of having links in js pages parsed & stored in pagelinks table to keep backward compatibility. Can the concept of section in js pages (and css) be another one?
Comment 6 Gerrit Notification Bot 2013-07-10 23:49:01 UTC
Change 73127 had a related patch set uploaded by Jdlrobson:
Bug 50136: Allow editing of things other than wikitext

https://gerrit.wikimedia.org/r/73127
Comment 7 Gerrit Notification Bot 2013-07-12 22:10:57 UTC
Change 73127 merged by jenkins-bot:
Bug 50136: Allow editing of things other than wikitext

https://gerrit.wikimedia.org/r/73127

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


Navigation
Links