|
|
Custom Search
true gort
The replacement for the ptitle system looks like it is about ready. Some semi-live testing would be handy.
There is a "punctuate title" button on the Tools menu for each article page. Pressing that will take you to the screen to set up punctuation for the title.
Updating the title will — here's the "semi-live" part — take you to a "test_pmwiki" version of the page, which should show you the substitution.
If your test value for the punctuated version is illegal (changes the spelling of the title beyond adding punctuation), it should take you back to the punctuation-izer.
There are about 500 substitutions already set up. I'll provide a list, in a few minutes. Any page having a reference to an article on that list should show the punctuated version, when viewed via "test_pmwiki.php". You can just add "test_" to the url, to see if it works.
If this works out performance-wise, we'll be installing it for everywhere a title shows up (Recent Changes, Inbound Links, Forums, etc.).
Thanks in advance for the testing help! Any questions would also be welcome.
edited to add: here's that listedited 18th Aug '09 10:47:16 PM by FastEddie ![]() Naïveté
Cool beans, Fast Eddie.
I just tried this out with Mai-HiME... the punct'er doesn't seem to believe that the spaceless title is acceptable (i.e. as opposed to Mai-Hi ME, which WikiWord capitalization would indicate).
edited 18th Aug '09 10:49:24 PM by Anemotaxis true gort
Yeah. The underlying title has to be a straight-up wikiword. It won't work on ptitles, because those are going away.
I'll run a thing, if testing goes well, to move the text of all ptitled articles into the regular wikiword redirect it is supposed to have. Pretty sure I'll have to make some.
Edited to add: Not sure what you mean, DQZ.
edited 18th Aug '09 10:56:34 PM by FastEddie ![]() Naïveté
Ah, okay. I wasn't aware that hyphenated titles also counted as ptitles.
I went looking through the list — in cases like Twenty Four becoming 24, where the punctuated title isn't actually just a punctuated version of the actual title, are those titles set manually without the punct'er? Is there anything keeping that punctuated title from being changed to something punct-valid that would require administrative string-pushing to restore?
(Sorry to barrage you with questions... I guess this is what testers do. edited 18th Aug '09 10:59:48 PM by Anemotaxis true gort
woops. Wrong thread.
edited 18th Aug '09 11:03:21 PM by FastEddie true gort
@Anemotaxis: Hmm, yeah. Things like Twenty Four, where the punctuated version is radically different, are a problem. Guess I'll have to build a table of allowed exceptions.
Good find!
![]() Nice! I like it. I started at the top of Universal Tropes and haven't run into any problems so far
If I had a piece of chalk, I'd work it out on a wall, if I had a wall.
![]() Naïveté
Apostrophes in titles get an extraneous backslash escape (hereedited 19th Aug '09 12:19:23 AM by Anemotaxis true gort
Fixed. Thanks.
![]() edited 19th Aug '09 8:34:58 AM by Nyktos
true gort
Do you mean the alt titles line? Or the browser address bar?
true gort
That's legit, in the address bar. The URL of the page will be the unpunctuated version. The page tab label... that could stand a fix.
The case-sensitive issue (the xkcd example) is fixed.
edited 19th Aug '09 8:45:45 AM by FastEddie ![]()
![]() O frabjous day!
Cool, thanks! I tried it on the non-ptitled work Are You Being Served (test link)![]() edited 19th Aug '09 9:42:09 AM by Nyktos
Dazed and Confused
Should be working on Uncharted Drakes Fortune.
EDIT: Or not. Something seems to have gone wrong there: it won't accept the punctuation for some reason.
edited 19th Aug '09 11:50:02 AM by The Jackal "Wilson was boring. At least he didn't suck like Hoover did." - Kinkajou
![]() O frabjous day!
It seems to be working for me ("Uncharted: Drake's Fortune"![]() Jackal, the page your link went to had a backslash between the e and the '
If I had a piece of chalk, I'd work it out on a wall, if I had a wall.
Dazed and Confused
@Rasalas: I was looking at the regular page, not the test_pmwiki page. Thanks for pointing that out.
@Madragura: The slash randomly appears on the punctuate title screen for some reason, but the title should be fine if you take it out manually.
"Wilson was boring. At least he didn't suck like Hoover did." - Kinkajou
![]() Chaotic Lawful
As Nyktos pointed out, diacritical marks don't work. I tried to correct Schéma by making a new page as Schema and using the punctuater, but apparently changing e to é counts as a spelling change. This needs to be fixed along with graves, circumflexes, umlauts, cedils, tildes, and all those weird symbols used in Polish; I imagine that the technology will be implemented before anyone starts on a Vietnamese translation.
Question: Will we still need to use the X markup to make a link out of a piece of punctuated text? Or will curly brackets suffice.
No story truly starts until a naked man climbs off his sister long enough to defenestrate a 6 year old boy. - Oscredwin
true gort
Diacriticals are being a pain. There are three ways to do each one (two html entites, and a keyboard substitution), so the part of the code that makes an equivalence check needs more fiddling with.
I think we'll have to take out the case-insensitivity fix (the 'Xkcd' example above), because the fix causes a major performance hit.
@VB: Not sure I get the question. A link will always be formed from the unpunctuated title.
edited 19th Aug '09 8:11:11 PM by FastEddie true gort
Okay. I think it is set up so that diacriticals can be used in the display title. It only allows accented characters that have an unaccented equivalent, but it does allow those.
total posts: 70
|