Page MenuHomePhabricator

"Bad title" message when publishing page: "The requested page title contains invalid characters: "%D7"."
Closed, DuplicatePublicBug

Description

Steps to Reproduce:

  • install google chrome Version 73.0.3683.75 (Official Build) (64-bit) (windows 7)
  • open page on hewiki, whose name contains at least one hebrew character, with at least one section (e.g., click "random page" repeatedly, until you find such)
  • edit a section with wikieditor (2010) (no need to change anything)
  • click "Publish changes"

Actual Results:
Page is saved (well, you won't be able to tell with null edit, but with real edit it is saved), and browser is directed to page with "Bad title" message.
full bad title page text:

Bad title
Jump to navigationJump to search
The requested page title contains invalid characters: "%D7".

Return to עמוד ראשי.

URL of bad title page:
https://he.wikipedia.org/wiki/%25D7%2595%25D7%2599%25D7%25A7%25D7%2599%25D7%25A4%25D7%2593%25D7%2599%25D7%2594:%25D7%2593%25D7%259C%25D7%25A4%25D7%25A7_%25D7%2599%25D7%2599%25D7%25A2%25D7%2595%25D7%25A5#%D7%9C%D7%90_%D7%9E%D7%A6%D7%9C%D7%99%D7%97_%D7%9C%D7%A7%D7%A9%D7%A8_%D7%9C%D7%95%D7%99%D7%A7%D7%99%D7%A6%D7%A8%D7%A4%D7%AA%D7%99%D7%AA

(did not know which team to assign this bug, so no tags on initial report)
Peace

Event Timeline

Kipod created this task.Mar 14 2019, 3:19 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 14 2019, 3:19 PM
Kipod updated the task description. (Show Details)Mar 14 2019, 3:20 PM
Kipod updated the task description. (Show Details)

What is eikieditor and where to get it and how to use it?

Ah sorry I guess you mean WikiEditor and that was a typo and not some gadget that I don't know? :)
Can you reproduce that also with other pages or only that article?

IKhitron added a subscriber: IKhitron.EditedMar 14 2019, 3:25 PM

A lot of complains in ruwiki, starting from yesterday.

Kipod added a comment.Mar 14 2019, 3:36 PM

this happens with any page save/publish, including null edit.
and yes, "eikieditor" is typo, i meant wikieditor. i specified it explicitly b/c we have "visual editor", and "wikieditor 2017".
TBH, i did not try with those - maybe same issue there too. will report if i have more info.

are "reproduction instructions" unclear?
did anyone reproduce successfully?

peace

Kipod updated the task description. (Show Details)Mar 14 2019, 3:36 PM
  1. I use Chromium 71.
  2. I go to https://he.wikipedia.org/w/index.php?title=834&action=edit&debug=true to get the 2010 WikiEditor.
  3. I click on the שמירה ופרסום button for a null edit.
  4. I get do not get a "bad title" error. Cannot reproduce.

Any errors in the browser's developer tools? See https://www.mediawiki.org/wiki/Help:Locating_broken_scripts

Kipod updated the task description. (Show Details)Mar 14 2019, 3:43 PM
Aklapper renamed this task from "Bad title" message when publishing page to "Bad title" message when publishing page: "The requested page title contains invalid characters: "%D7".".Mar 14 2019, 3:44 PM
Kipod added a comment.Mar 14 2019, 3:47 PM

UPDATE

  • further experiments point to section edit (updated repro instructions). i did not see this happen on full page edit.
  • with (beta preference) code editor 2017 ("New wikitext mode"), i did not see the issue
  • seems to be reliably reproducible with section edit, wikieditor, when beta option turned off.

peace

Aklapper added a comment.EditedMar 14 2019, 3:47 PM
  1. I use Chromium 71
  2. No beta features enabled on https://he.wikipedia.org/wiki/מיוחד:העדפות#mw-prefsection-betafeatures
  3. I go to https://he.wikipedia.org/w/index.php?title=834&action=edit&section=2&debug=true to get the 2010 WikiEditor.
  4. I click on the שמירה ופרסום button for a null edit.
  5. I still do not get a "bad title" error...

See my question in the previous comment about developer tools' console output.

Kipod added a comment.EditedMar 14 2019, 3:57 PM

indeed, it does not happen on the page you linked (i thought it has something to do with debug=true, but no, it does not happen even without).
try
https://he.wikipedia.org/w/index.php?title=%D7%9E%D7%A0%D7%90%D7%A0%D7%93%D7%A8%D7%95%D7%A1_%D7%A8%D7%98%D7%95%D7%A8&action=edit&section=2

this happened on every single page i opened with "random" so far, this is why i wrote "reliable repro". maybe the fact that the page you tried with contains no hebrew characters is a clue....

i updated the "repro instructions" accordingly

as to debug console: the message i see on the "bad title" page is:

Failed to load resource: the server responded with a status of 400 ()

peace

Kipod updated the task description. (Show Details)Mar 14 2019, 4:10 PM
Kipod updated the task description. (Show Details)
Aklapper added a comment.EditedMar 14 2019, 4:14 PM

And I still cannot reproduce with https://he.wikipedia.org/w/index.php?title=%D7%9E%D7%A0%D7%90%D7%A0%D7%93%D7%A8%D7%95%D7%A1_%D7%A8%D7%98%D7%95%D7%A8&action=edit&section=2 :(

Failed to load resource: the server responded with a status of 400 ()

Which exact URL is that message triggered by?

Also wondering if there is any pattern. For example that URL seems to have brackets in the title?

A lot of complains in ruwiki, starting from yesterday.

@IKhitron: Any links to discussions? Any info which browsers and browser versions people use?

Ammarpad added subscribers: Amire80, Ammarpad.EditedMar 14 2019, 4:31 PM

Cc Amir.

IKhitron added a comment.EditedMar 14 2019, 5:31 PM

@IKhitron: Any links to discussions? Any info which browsers and browser versions people use?

Sure. See here for example. Looks like Chrome only. And they say that there is no problem in 49.0.2623.112.

Kipod added a comment.EditedMar 14 2019, 5:59 PM

@Aklapper :
the url in devtools is:

https://he.wikipedia.org/wiki/%25D7%259E%25D7%2599%25D7%259B%25D7%2590%25D7%2599%25D7%259C_%25D7%25A1%25D7%259C%25D7%2598%25D7%2599%25D7%25A7%25D7%2595%25D7%2591-%25D7%25A9%25D7%25A6%2527%25D7%2593%25D7%25A8%25D7%2599%25D7%259F#%D7%91%D7%99%D7%95%D7%92%D7%A8%D7%A4%D7%99%D7%94

as to "i still can't reproduce", forgive my french, but this is plain silly.
you did not follow the reproduction instructions, did you?
you said "I use Chromium 71."
reproduction instructions says:
"install google chrome Version 73.0.3683.75 (Official Build) (64-bit) (windows 7)"
nobody claimed that this happens with "Chromium" (whatever this is), or even chrome version 71.

this is something that started recently, and as far as we know, is browser/version dependent (e.g., does not happens with firefox, or chrome 72 on mac), so please install latest chrome if you want to reproduce.

peace.

greg added a subscriber: greg.Mar 14 2019, 6:54 PM

A lot of complains in ruwiki, starting from yesterday.

"starting from yesterday" (so wednesday-ish) doesn't line up with it being related to the MW train. ruwiki is a part of "group2" which means it gets the update on Thursdays, which happened for this new version at 13:10 UTC today: https://tools.wmflabs.org/sal/log/AWl8UuWLA1BDhGjCSszy

Of course, it could have only been noticed yesterday even though it happened last Thursday? Maybe?

There is one complain from March 10.

so it's not necessarily related to mw update - more likely chrome change.

@IKhitron - can you ask the person that reported on the 10th if they are on "beta channel" for chrome? the main version was updated on march 13, the beta on march 8.

peace

I do not think it's Chrome. A couple of people said thay did not update the browser a lot of time. Do you still want me to ask?

@IKhitron - if it's not chrome, then can you ask them for browser+version? you sure it's the same report?

peace

You did not understand me. It was Chrome in that report, but because of updating lack, I do not think that browser is the problem.

Aklapper changed the task status from Open to Stalled.Mar 15 2019, 11:24 AM

T218393 might be the reason for this? If so T218310 should be merged into T218393.

IKhitron added a comment.EditedMar 15 2019, 12:17 PM

Aklapper, I'm sure that those two are the same problem.

Kipod added a comment.EditedMar 15 2019, 2:00 PM

@Aklapper - while T218393 is of higher quality and contains enough information to fix the problem, i still take some (modest) amount of pride at being first.... ;)

(before submitting the ticket i did try to search if the problem was already reported. not sure if my search would have found the other ticket anyway, but the fact is, it didn't even exist yet....)

yes, those two look practically the same issue - only diff is that in hewiki we see %d7, and ruwiki reports %d0 - this is exactly as expected, as cyrilic chars UTF8 code begins with D0 and hebrew with D7.

as to merging tickets - it's your field, do what you think is right.

peace.

:D That all makes sense. Thanks again for reporting this, definitely been helpful to get the bits and pieces together!