[08:46:06] is there a site notice thing which is namespace specific? like a second notice. particularly for wikipedia draft namespace I would like it to have extra guidance (how to find an article talk page for example) [08:46:47] it needs to be separate from the usual notices and only appear on draft articles, even if the user closed a site notice recently [08:53:37] on any page in the name space, or just the edit windows? [08:54:02] you could probably do a template that is included on all pages in the namespace [08:57:06] Maybe just the edit window editnotice would be enough. That'd be an easy way; I'll look around to see whether it works. [09:27:22] HELP [09:27:52] Can someone help me?? [09:27:52] Hi Sezo, just ask! There is no need to ask if you can ask, if you already asked the question please wait for someone to respond [09:29:12] hello [09:29:29] someone help me in wiki [09:30:23] yes? [09:32:31] Hi Sezo, what is the problem? [10:32:03] Platonides: I thought you had disallowed creating such usernames https://translatewiki.net/wiki/Special:Contributions/2001:B07:2EE:4464:FEAA:14FF:FE97:C6C2 [10:32:12] Did things break with AuthManager? [10:44:21] there is no user by that name there, though? it's just an ipv6 address. [11:50:06] How to configure and remove index.php from url [11:50:09] ?? [11:50:17] Itš my general issue now\ [11:52:40] !shorturls [11:52:40] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [12:06:03] MatmaRex: In practice it not works for me [12:06:12] i need real pratical approach to get working [12:07:08] it really does not get any more practical than http://shorturls.redwerks.org/ [12:08:39] MatmaRex: In practice it not works for m [12:08:44] I need naother approach [12:08:47] another [12:47:44] MatmaRex: but it's in the log [12:49:29] Nemo_bis: in what log? [12:49:39] https://translatewiki.net/wiki/Special:Log/2001:B07:2EE:4464:FEAA:14FF:FE97:C6C2 has nothing [12:50:37] I don't know indeed [12:51:08] rakkaudella doesn't know either [12:51:36] I had seen the IP in https://translatewiki.net/w/i.php?title=Special:RecentChanges&translations=filter [12:52:20] Now there's 131.175.28.130 [12:52:55] Oh silly me, this is my own IP [12:54:31] Then could be a partial account creation/deletion [13:01:38] This was already fixed once but I can't find the report [13:09:51] how to I add "private, must-revalidate, max-age=0" Cache-Control to all mediawiki pages? [13:10:34] Right now I see "public, max-age=300, s-maxage=300" in all pages [13:13:02] hello: i don't think that's configurable. why would you want that? [13:14:28] Hi MatmaRex, basically I would like Mediawiki to send "cache-control: private" to completly disable caching on browser [13:14:55] yes, that is what this would do, but i still don't understand why [13:15:10] anyway, i don't think it's configurable. perhaps set up a reverse proxy in front of mediawiki? [13:16:31] Yes, but Mediawiki isn't sending "cache-control:private" for all pages. It is sending this only for pages like Special:UserLogin [13:17:30] Isn't there a way to configure this inside mediawiki so that for everypage it has to send "cache-control: private" instead of "cache-control: public" [13:18:29] I thought Cache-control headers can be confgiured [13:18:37] *configured [13:20:04] not afaik [13:21:10] okay, thank you :) [13:24:50] MatmaRex: Any hints here - https://doc.wikimedia.org/mediawiki-core/master/php/classOutputPage.html [13:25:29] One line says "Put long Cache-Control max-age headers on responses for improved cache performance." [19:01:15] is it possible to stylize and export a wiki page using a plugin? say to DOCX or PDF ? [19:15:52] !e Collection | jbc8 [19:15:52] jbc8: https://www.mediawiki.org/wiki/Extension:Collection_ [19:16:00] thank you [19:16:08] And also see the new ElectronPDF extension that is currently being developed [19:36:50] how hard is it to export a document to XML or JSON? [19:38:41] Depends if you want a json wrapping wikitext, or an actual syntax tree in json/xml [19:38:48] for the former see Special:Export, and also the api [19:39:01] for the later see parsoid (Its HTML5 not xml. its also complex to set up) [20:10:55] Nemo_bis: what MatmaRex said :) [21:37:00] Hi. I just upgraded from 1.26 to 1.27.1. I have a custom skin designed. A few styles are broken beyond fixing. I believe they are loaded from the default Mediawiki resources. Can I get a link on phabricator that shows what CSS files are changed from 1.26 to 1.27? [21:37:54] umm, you'd probably have to clone the git repo, and then use git diff [21:39:26] I will try to do it, but I have no experience in doing so. [21:40:22] Mainly, the styles of some elements like (preferences page, ul, li items on main page, and the list styles for category pages are changed). [21:41:42] Tried examining the common styles in the core folders and legacy shared.css. They are unchanged from the prev version. Is there any other folders that contains stylesheets that modifies the basic elements? [21:44:56] Good evening. I would like to know how to delete a page that i created several years agao? [21:45:18] TridenRake: Everything with a .css or .less extension in the resources folder [21:45:49] Okay, that's helpful. :) I will analyze them. [21:45:54] Thank you. [21:46:03] EonM: Depends what wiki. For most wikimedia projects, if you have a good reason you can put {{delete|Reason here}} on the page [21:46:47] The reason is that I could not log into my previous profile as I have a new email address. Secondly the information is not all 100% correct. [21:47:14] so fix it? :) [21:47:34] also note that you don't need the old email address if you remember your password… [21:47:45] EonM: This is the help channel for all mediawiki installs, you might have better luck at a help channel specificly for the wiki in question [21:48:05] Thanks, tried that allready and did not remeber the old password. I just created a new profile... [21:48:34] Thanks bawolff! [22:22:45] bawolff, Git diff seems harder than I thought. Is there any other way I can check the all the changes made? [22:23:08] git diff 1.26.0 1.27.0 [22:23:13] i think is the command or something [22:23:20] There will be a lot of changes [22:23:33] you can also use github, might have a friendly interface [22:24:17] Correct me if I am wrong, 1. I shud download two of the snapshots. 2. Place it in a folder with git initialized. 3. Run the command from git shell? [22:24:33] sorry for being too noobish! [22:24:43] not quite [22:24:54] This is going to be a little learning curve [22:25:02] you run git clone [22:25:09] sorry, url to git repo [22:25:20] and that downloads every version of mediawiki ever [22:25:27] and git can then compare them [22:26:01] if you download just snapshots, you can use the diff -r command (if on mac or linux) [22:26:09] sorry i can't explain better, kind of in the middle of something [22:26:25] No issues. :) Thank you so much. I can catch up from here. [23:52:40] Where are the API manuals for mediawiki? I can only seem to find "guides" and "tutorials" [23:54:53] tmg: on the api.php entry point [23:55:14] https://en.wikipedia.org/w/api.php?action=help&recursivesubmodules=1 [23:55:31] this is the complete documentation of all available options, at least for the extensions installed on English Wikipedia