[02:02:52] Hi, I'd like 'editbugs' permission, so I can claim bugs on Bugzilla. [02:12:17] Can anyone help me obtain 'editbugs' permission? [03:08:00] I uh, what. [03:08:49] I sure hope there's no documentation telling people they need the "editbugs" permission... [03:25:34] I want to empty my bot's watchlist it shows server error. can anyone help me to empty it? [03:25:47] my bot's name is Fawikibot [03:27:11] I tried Special:EditWatchlist/clear but it shows server error [03:33:40] Request from 5.53.33.140 via cp3030 cp3030, Varnish XID 218464776 Error: 503, Service Unavailable at Wed, 16 Aug 2017 03:33:16 GMT [03:47:13] reza1615: This is on a Wikimedia wiki or a personal wiki? [03:47:25] fa.wikipedia.org [03:47:37] I think there's some API method you can use to clear the watchlist without loading it. [03:47:49] I used Special:EditWatchlist/clear [03:47:55] and it shows server error [03:48:25] Yes. [03:49:09] You can file a Phabricator task and someone can do it for you. [03:49:15] If it's not possible via index.php or api.php. [03:50:20] I thought there was some api.php method for this, but I don't see it off-hand. [08:56:29] mediawiki full XML export per dumpexport.php: i am new to xpath and i have a problem selecting all pages related to the namespace 2002. --> xmlstarlet sel -t -v '/mediawiki/page[ns=2002]' ~/full.xml gives no results. any hints? [09:11:48] found the solution without xpath ---> dumpexport supports filtering. --filter=namspace:2002 did the job [12:03:14] question: i'm looking for code or an extension that allows to quickly set up an easy multi-OS download page served from inside mediawiki? Does anything like that exist? (I've searched but can't think of the term exactly to find what I'm looking for) [12:04:00] right now I'm redoing this page: https://www.freecadweb.org/wiki/Sandbox:Download (sad I know) [12:08:49] anyone? [13:19:27] is there a way to get the wikitext of a page via the api without the

wrap? [13:24:38] Kunda_, what would the "extension" code actually do, in cotrast to your handwritten easy multi-OS download page? [13:26:23] to answer my own question, I needed to add &wrapoutputclass= [14:41:56] andre__, i just imagined it would make the process more streamlined? [14:42:48] Kunda_, only slightly related thing coming to my mind is https://www.mediawiki.org/wiki/Special:ExtensionDistributor [14:44:57] andre__, yea..that could work as well [14:45:24] andre__: when you got a minute could you please check fatalmonitor for me? [14:45:50] TabbyCat: Post the ID in #wikimedia-tech ? [14:52:03] The ExtensionDistributor extension generates .tar.gz snapshots of extensions in the git repository and distributes them. It is intended for use on www.mediawiki.org. See Special:ExtensionDistributor to see how it works. [15:12:36] Hi! Just wondering if this is the appropriate location to ask a question about a mediawiki installation. [15:25:16] !ask | KSM [15:25:16] KSM: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [15:26:41] Ok, wanted to make sure this was the right place. Basically, I installed MediaWiki following the installation screens, but there are no registered users, including the admin account I theoretically created during the installation. [15:27:08] What can be done about that? Becuase I'm sure if I create an account normally, it will lack the appropriate permissions, right? [15:27:24] KSM: do you have access to the command line / ssh? [15:27:48] well first let's verify that you actually don't have a user: go so Special:ListUsers on your wiki [15:28:25] Yeah, there's nothing listed there. [15:28:35] ok [15:28:42] so do you have access to command line / ssh? [15:29:45] I believe so. This is the first time I've done this. I can access the files online and edit them, and there's a command line box with it. That's what you mean, right? [15:30:01] uh... no idea [15:30:26] screenshot it? [15:31:06] or if you tell me what host you're using I can maybe dig up some instructions [15:33:10] I'm using MS Azure [15:33:19] There's a service in it called Kudu [15:39:01] https://1drv.ms/i/s!AmkI3T16M7nThOdo-YV-oOcvaCRJnw [15:40:00] ok [15:40:22] KSM: type "where php" into that black box (without the quotes) [15:40:44] tell me if it gives you a path or if it says "Could not find files for the given pattern(s)" [15:41:07] It gave me a path D:\Program Files (x86)\PHP\v5.6\php.exe [15:41:10] awesome [15:41:24] go to your maintenance folder [15:41:45] the prompt should change to D:\home\site\wwwroot\maintenance> [15:41:52] yep [15:42:06] then type php createAndPromote.php --bureaucrat --sysop username password [15:42:14] change username and password to the username and password you want to use [15:42:17] leave everything else the same [15:42:57] that will create an admin account for you, with the username and password you specified [15:43:56] Ok, yep it did [15:44:03] then you should be all set :) [15:44:10] just to be super safe [15:44:17] go ahead and also run php update.php --quick [15:45:02] that should hopefully make sure anything else the installer didn't do gets fixed [15:45:28] Alright, cool. Thanks! [15:45:56] (for reference, that update.php script is what you can also use to upgrade mediawiki after you extract a new version) [15:46:05] it's a bit faster than using the web upgrader [15:46:49] So I'd just transfer the files and then run that script? [15:47:08] yep [15:48:02] Alright, awesome [15:48:22] Thanks a lot! [15:53:32] May I link to a MediaWiki related error on a page, that our not MWF-affiliated wiki is having? [15:53:56] MWF = Wikimedia ? [15:54:07] yes, this is a general MediaWiki software support channel. [15:54:07] WMF* yes [15:55:08] I have the capacity to read the entire FAQ etc. but my account is jumbled up and I do not use WMF or Wikipedia much, so here is the link [15:55:17] https://pathofexile.gamepedia.com/index.php?title=Vendor_recipe_system&action=history [15:56:00] I have found that this is a known issue on mediawiki, but looking at phabricator never gets me a clear overall view of all the issues related to this and the status etc. [15:56:27] our Wiki uses MediaWiki 1.29 [15:56:48] WikiMedia 1.29... I get confused. [15:57:28] MediaWiki* [15:58:08] lol [15:59:38] TheLOLxd2: I suspect there may be some weird [[link]] in one of the revision summary of that page [16:00:45] so this is a know issue? what's the phabricator task for this? [16:02:38] well, https://phabricator.wikimedia.org/T137147 notes that it is resolved with MediaWiki 1.28, and has been moved to the "backlog" [16:02:59] and it notes that it may relate to https://gerrit.wikimedia.org/r/#/c/293038/ [16:03:29] I'm not sure if that's the same issue, I'm not taking that much effort looking at bugs that our staff can not solve. [16:03:59] it may not be the same issue [16:05:20] the issue was fixed for bad user links, but this may be a problem with internal links in edit summaries [16:07:48] is this something our staff can resolve, our is a MediaWiki patch needed, Vulpix? [16:11:51] if it's a problem with edit summary, a staff can resolve by updating a row on a table (if they find the cause and how to solve). A patch is of course needed so it doesn't happen again [16:12:44] Would you be willing to report it? [16:16:07] Apparently, it is the same problem... I can see a user named " Harest"... [16:17:59] would be good to know how a user could have been created with that space in front... [16:27:20] TheLOLxd2: I've reproduced it on WMF wikis as well, reopening [16:35:13] Thanks :) [16:37:17] done [17:58:19] hello [17:58:42] i just installed mediawiki and it's pretty nice [17:59:17] Glad you like it, bewbs! [17:59:54] i have a small issue though [18:00:00] the logo isn't displaying [18:00:27] !logo [18:00:28] The logo that appears in the top left of each page is from $wgLogo in LocalSettings.php. To change this you change the value of $wgLogo to point to the URL of your own logo. See . Be sure $wgLogo is set to an absolute path, starting with "/" (or a protocol "http:"/"https:"). Using pretty URLs a relative path will behave oddly. 135x135 pixels [18:00:29] i updated the localsettings [18:00:35] yes did that [18:00:45] is there any caching by chance? [18:01:34] Hmm, there is caching but I'm not sure if it'd affect the logo like that. Try changing the URL to the original logo back and see if it reappears? [18:02:06] it doesn't change at all [18:02:09] the original logo that is [18:02:25] even after i edited the localsettings [18:02:35] $wgScriptPath = "/wiki4"; [18:02:35] $wgLogo = "{$wgScriptPath}/images/logo.jpg"; [18:02:38] bewbs: The original logo appears or not? [18:02:46] the original logo appears [18:03:09] possibly browser cache [18:03:13] did you clear that? [18:03:25] yeah, i went to antoher computer just in case [18:03:29] ok [18:03:45] that's hte correct format right? [18:03:53] try restarting the webserver (i.e. restart apache or IIS or whatever it's running on) [18:04:00] you don't need to restart the entire server, just that service [18:04:27] lemme know if that works [18:05:07] one sec [18:05:27] (if it does, that indicates that the issue was a php opcode cache) [18:05:36] going to try something else first, as i have like 50 people accessing the site atm [18:05:39] meaning the server didn't even realize you changed LocalSettings.php [18:05:58] and won't until a few hours from now, as the cache is likely configured to not check file timestamps [18:07:36] restarted [18:07:41] no dice [18:08:01] i really botched this one [18:08:09] hmm [18:08:13] is your wiki public? [18:08:19] yes [18:08:26] can you provide a link? [18:08:35] http://nasomi.com/wiki4/index.php?title=Main_Page [18:08:46] That would be very weird [18:09:01] Is your LocalSettings.php on a networked file system or something like that? [18:09:08] negative [18:09:33] The logo is changed for me [18:09:41] really? [18:09:53] not for me... [18:09:55] weird [18:09:55] oh nevermind [18:10:00] It is not changed for me [18:10:09] I had images disabled [18:10:12] on my browser [18:10:23] i see "Set $wgLogo to the URL path..." [18:10:28] under the logo [18:11:19] hmm [18:11:19] You do have a weird nondefault query part on the url [18:11:30] ? [18:11:34] http://nasomi.com/wiki4/resources/assets/wiki.png?de8c8 [18:11:45] I'm not sure where the de8c8 is coming from [18:11:51] resourceloader perhaps [18:11:53] unless someone added that to mediawiki recently [18:12:11] bewbs: just to test something, can you add the following somewhere to your LocalSettings.php? [18:12:17] sure [18:12:29] if ( isset( $_GET['a'] ) ) { echo "hi"; die; } [18:12:49] anywhere in particular? [18:12:54] after the otherwise no [18:13:11] done [18:13:27] ok, so it isn't an opcode cache issue [18:13:32] http://nasomi.com/wiki4/index.php?title=Main_Page&a=1 [18:13:35] says "hi" [18:13:45] you can remove that line now [18:14:12] the file does exist [18:14:31] bewbs: Just to check, you don't have multiple $wgLogo lines in your LocalSettings.php or something like that [18:14:46] oh [18:14:47] yes [18:14:53] that'll do it [18:15:22] doesn't autoresize huh [18:15:35] nope [18:15:46] well that works [18:15:48] thank you [18:47:42] hmm [18:48:55] i thought it was the sidebar [18:49:19] What Links Here on the page, what would htat be called? [18:51:12] "What links here" is a special page/utility to show what other pages link to the page that you are looking at (internally) using [[pagename]] [18:51:38] yes, i want to edit that [18:51:51] what links here, upload file, related changes, etc [18:51:58] that whole sidebar thing [18:52:03] i assumed was called hte sidebar [18:52:09] You need permissions from like a wiki admin to do that [18:52:18] i own the site [18:52:55] have you looked at mediawiki's help page on this subject? [18:53:27] i'm searching but i haven't found it if it's there yet [18:53:29] bewbs: The toolbox of the sidebar can't be directly edited (easily anyways) [18:53:33] the rest of the sidebar can be [18:53:36] !sidebar [18:53:36] To edit the navigation menu on the left, edit page [[MediaWiki:Sidebar]] on your wiki using its special syntax (see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar for details). If you need more control, you can use the SkinBuildSidebar hook (https://www.mediawiki.org/wiki/Manual:Hooks/SkinBuildSidebar). [18:53:53] i did the sidebar first [18:53:58] which is good [18:54:07] but it's not showing anywhere [18:54:43] "If the sidebar on your wiki disappears, it can sometimes be due to $wgScriptPath being improperly set." [18:54:59] bewbs: It doesn't have the right syntax. MediaWiki:sidebar is not a normal page, it needs a specific syntax [18:55:09] ooh [18:55:48] TheLOLxd2: that's umm, not true. The links might not work if $wgScriptPath is wrong, The entire site might not work, but it wouldn't break just the sidebar [18:56:05] okay, I had an issue myself but let me navigate phabricator again before posting here. [18:56:21] bawolff that's quoting https://www.mediawiki.org/wiki/Sidebar [18:56:28] You would need to edit that. [18:58:17] fixed :) [18:59:49] i'm still not clear where hte sidebar is supposed to be [19:00:30] like mediawiki site, you have main page, get mediawiki, get extentions, etc. [19:01:22] whatever sort of sitewide navigation you want to have [19:02:07] yes, i made one. but it doesn't show what i did [19:02:38] you messed up the formatting [19:02:49] see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar [19:02:49] My issue is the following: Due to the MediaWiki 1.29 upgrade, our non-affiliated-with-WMF Wiki has the following issue:"There is a bug that was introduced recently where if you use Visual Editor and edit a __NOTOC__ page, it will automatically change this to __FORCETOC__." [19:02:55] you have to format it EXACTLY as that page describes [19:03:33] in other words, you need the * or ** in front of entries [19:04:21] pages like https://feheroes.gamepedia.com/index.php?title=Kagero/Strategy have a problem with this issue. [19:04:43] aht here we go [19:04:46] thank you [19:06:25] is there a cheat sheet for formatting somewhere? [19:07:44] nvm [19:09:18] Bawolff could you have a look at my issue, please? [19:09:33] Sorry, I don't know anything about visual editor [19:44:45] i like the layout of hte existing skin, but i want to edit some colors to blend more with my site. is there a global place to do that or am i in the css? [19:45:22] You can do per skin custom css on the page MediaWiki:Vector.css on your wiki (which is better then editing the skin css file, as it is retained on upgrade) [19:46:07] thank you [19:46:28] do i just input regular css stuff there or does it have a format [19:47:13] regular css [19:52:31] Hi guys, I'm helping out mananging a mediawiki instance and we are experiencing huge amounts of spam bot account creation despite having questy captcha enabled. We are even suspecting they can create accounts despite $wgGroupPermissions['*']['createaccount'] = false; set. We are running 1.28.0. At this point we are pretty clueless what else to do, any tips? [19:53:21] the background is one window, what is hte forground called? [19:54:32] i've found non-googlable questions to be the answer to spambots [19:55:03] i used to have russian spambots like crazy [19:56:22] !spam [19:56:22] For information about combating and handling spam in MediaWiki, see . [19:56:40] But its a hard problem to solve [19:59:27] does mediawiki support Q&A on account creation? [19:59:57] Thanks, I already read through the page and found helpful things, probably need to sort out questions [20:08:38] noc0lour, you can see new account creations at [[Special:Log/newusers]] [20:21:33] MaxSem: That helps, and it seems there is no bug and bots can't create accounts when I set the wgGroupPermissions to no account creation for anyone