User talk:SPage (WMF)/Archive 1

Subpages
More tests on subpages:

test test
Anonymous hello

2 break
Trying to understand.

line 1 line 2

line 3 with two breaks before

HTML5 named entities
Regarding the sub-section you added just now at HTML5: Would it not be better to encode  as   instead of as  ? The advice at List of XML and HTML character entity references is to use numeric references for apostrophes, because the named entity was never defined in legacy HTML (unlike,  ,  , and  , which are the only entities defined in both XML/XHTML and legacy HTML). It seems wiser to restrict output to numeric entities (which are guaranteed to parse) whenever named entities might not validate or render, even if current browsers don't mind. — Richardguk (talk) 21:45, 6 September 2012 (UTC)
 * Good question, legacy HTML vs numeric. You're right, that's what Sanitizer.php does and there are lots of numeric references in our code and no &amp;apos;. Except it's not decimal 27 (&#27;), it's 39 (&#39;) which is hexadecimal 27 (&#x27;). FWIW I have never had to encode apostrophe. I was just distilling the wikitech-l discussion because it was news to me and seemed important. -- S Page (WMF) (talk) 22:06, 6 September 2012 (UTC)
 * Thanks for the helpful response – and for spotting my own hex/dec parsing failure, inadvertently proving that numeric entities are not foolproof when I am typing them! — Richardguk (talk) 22:20, 6 September 2012 (UTC)

Cloak request
Hey there, you requested the cloak, but did not send a memo to us. Please do this:

As for what cloak will appear, it then will be something like *!*@wikimedia/s-page-wmf, as this is the name with which you are requesting the cloak, if you'd own user:SPage, you can make the confirming edit with that account, and I will get you a cloak with that name. Just let me know. -Barras (talk) 10:09, 6 October 2012 (UTC)
 * I did this a few days ago, but retrying in Pidgin IRC client there's no /ms command, and /msg doesn't know of "wmfgc". Anyway, sounds like it's coming, thanks. -- S Page (WMF) (talk) 19:58, 11 October 2012 (UTC)
 * Try  instead of   when your IRC client does this. Same goes for /cs -> ChanServ, /ns -> NickServ, etc.-- Krenair  (talk &bull; contribs) 20:18, 11 October 2012 (UTC)

welcomecreation
Hello, thank you very much for your list of wikis and instructions: I've used them for MediaWiki_1.21/wmf5 and notified those 200 wikis which customized it, plus about 250 wikis which don't yet have translations. --Nemo 21:37, 5 December 2012 (UTC)
 * Usually, the extensive release notes are only on wiki, but a bullet point mentioning the bug name and giving a couple lines of advice on how to keep customisations should surely be included in the release notes file IMHO. --Nemo 08:04, 6 December 2012 (UTC)

Setting up centralauth
Hi how can I setup centralauth because two websites are runescape-wikisaur.tk and random-wikisaur.tk and the database are paladox_wiki and paladox_enwiki 86.159.74.81 17:40, 4 August 2013 (UTC)
 * I'm no expert, I barely managed to fake it on one wiki :-) . We've updated Extension:CentralAuth with more info but there are a lot of moving pieces. Try asking on the wikitech-l mailing list, or on . -- S Page (WMF) (talk) 02:02, 5 August 2013 (UTC)

Requests for comment/Allow styling in templates
Hi, Requests for comment/Allow styling in templates is being considered as one of the RFCs to be discussed at the RFC review on 2013-11-06 via IRC. You are receiving this notification because you edited or discussed this RFC. We hope to see you there.--Qgil (talk) 00:43, 5 November 2013 (UTC)

mediawiki-ui: buttons problems
Hi S.

I've seen your changes on Wikimedia Foundation Design/Patterns and components about mediawiki-ui.

French Wikipedia currently use the Agora styles. Since yesterday, we don't have our big blue buttons on many pages (including important ones like the how-to-do an article page) and the new style doesn't work either.

Is it normal? How can I fix it?

Thanks, Trizek (talk) 14:55, 8 November 2013 (UTC)


 * If you need a CSS or JS module, you must tell the ResourceLoader about it. If you rely on someone else loading it then when they change, the module isn't around. When I go to a fr-wiki Article au hasard and in a JavaScript console I enter mw.loader.getState( 'mediawiki.ui' );, it responds "registered", not "ready". Try mw.loader.load( 'mediawiki.ui' ) and see if that improves the look, it seems to help on https://fr.wikipedia.org/wiki/Aide:Premiers_pas/2. To ensure the module is loaded, see ResourceLoader/Migration guide (users) or maybe you can   it in MediaWiki:common.css. -- S Page (WMF) (talk) 05:28, 9 November 2013 (UTC)
 * Thank you! mw.loader.load( 'mediawiki.ui' ) works when I use it in Firebug.
 * Just to confirm, I have to import mw.loader.load( 'mediawiki.ui' ) on the common.css?
 * And thank you for the notification :) Trizek (talk) 11:39, 9 November 2013 (UTC)
 * Done! Everything works now. Thank you! Trizek (talk) 10:59, 10 November 2013 (UTC)

API Help Template
That's a handy feature and I think it'll be great for documenting current versions of parameters, but I'm concerned that if we move to that exclusively, we'll lose a lot of the other information currently available on the page, like information on what version a parameter was introduced in, deprecated in, or removed from. That's important information for people like me who are developing bot frameworks and need to know historical information so that a bot can be universal rather than bleeding-edge only. Most of the non-MediaWiki wikis I deal with, and that I would expect my bot to be able to deal with, are still running on 1.19 and I've seen wikis running on versions as old as 1.15. In some cases, people have also added notes to the parameter documentation that the API simply doesn't include.

Before deprecating the current documentation methods, we'll need to figure out how to integrate the information currently on the page with the auto-documentation. – Robin Hood  (talk)  19:49, 23 February 2015 (UTC)


 * Thanks for your interest and working on the API pages, these are good points. I'm not removing documentation until I see Special:ApiHelp/somemodule isn't missing anything, so it's going slowly. I created T90528 about showing version information. We can always append and prepend more information to the wiki page, one reason I used Api help instead of a simple transclusion is to organize improvements like this. -- SPage (WMF) (talk) 05:15, 24 February 2015 (UTC)


 * Good plan. Templates give us at least some degree of flexibility. The API:Opensearch page brings up another point (besides the obvious formatting issue): documentation should probably be tweaked a bit for non-fixed parameters like namespace. The values given in the documentation obviously won't all be valid on another wiki. – Robin Hood  (talk)  06:09, 24 February 2015 (UTC)

API modules as subpages
On my talk page, you suggested moving the Properties pages to being subpages of API:Properties or possibly API:Query (in which case, I would assume Properties, Lists, and Meta would become subpages of Query, and each submodule would become a subpage of those). I don't mind doing all the moves over the next little while and then updating the links in the modules, but I'd like to get a firm plan of what to do before we start so there's no wasted effort. Thoughts? – Robin Hood  (talk)  19:50, 3 March 2015 (UTC)