[08:53:50] I have scribunto installed, but my api is not evaluating ... this is a fresh install. Take the following example: [08:53:55] http://localhost/mediawiki/api.php?action=parse&disablelimitreport=t&contentmodel=wikitext&prop=text&format=json&text={{chem|H|2|O}} [08:54:00] produces : [08:57:07] https://paste.ubuntu.com/p/PhDbmt8GQY/ [08:57:54] Am I missing something here? [08:58:58] That looks like ParserFunctions not Scribunto [09:01:46] Reedy: thanks for the hint [09:01:50] * Woodpecker looks for that [09:03:16] !e ParserFunctions [09:03:16] https://www.mediawiki.org/wiki/Extension:ParserFunctions [09:04:47] Reedy: How can I thank you? Worked perfectly [09:05:13] What are my options? ;P [09:07:09] mmmmmmmm I could make you an audiobook from any wikipedia article, upload it to youtube. Any topic you are interested in? [09:11:07] YouTube!? [09:29:55] Reedy: Yeah. Its what I do, and what I use mediawiki for [09:32:04] Reedy: https://www.youtube.com/watch?v=7CP2M1BJnH4&index=32&list=PLbXllvsx1cXJa10QlMKLaa-kdrjc-VZlw [12:08:51] hi, anyone knows extension that support auto complete for template parameters? and maybe doc hint [12:10:52] for doc hints, i guess extension:TemplateData [12:11:05] used for doc hints in Extension:VisualEditor [12:20:17] looks great, ty! [12:41:08] =o [14:14:22] https://en.wikisource.org/w/index.php?title=Page:Compendium_of_US_Copyright_Office_Practices,_II_(1984).pdf/9&action=edit [14:14:31] Why is this showing up with lint errors? [14:14:42] ALL the opening and closing tags are matched [14:14:54] It's a shame the parser can't cope [14:15:24] what is the error? [14:15:42] It's claiming there are missing end tags [14:16:17] There are NOT missing end tags because I wrote the pair of templates used [14:16:33] and they when used in the /s /e combination on pages should be matched [14:17:10] Either the parser is badly designed, or the analysis tool is ignoring noinclude portions. [14:17:35] I don't see the error [14:18:15] So why then with the analysis tool enabled am I seeing an error? [14:18:47] when I bring up the edit form [14:18:49] ? [14:19:05] It's ocurring in EDIT mode specfically [14:20:13] https://en.wikisource.org/w/index.php?title=Page:LunarLandingMIssionSymposium1966_1978075303.pdf/345&action=edit [14:20:21] Is another page where it also shows [14:20:29] what analysis tool [14:21:02] Krenair: Moment I'm trying to find the name [14:21:27] User:PerfektesChaos/js/lintHint/r.js [14:21:48] When VIEWING balanced pages, it doesn't appear [14:22:07] but the error it's flagging DOES appear when I click EDIT [14:22:20] This is confusing to say the least [14:22:46] this is someone's user script [14:22:48] that's not an official tool [14:22:50] blame the maintainer of that tool (?) [14:23:02] If the error is present, it should be present on both the view and the edit right? [14:23:44] Vulpix: The tool is working [14:23:48] what does the documentation of that tool say about this? [14:23:55] It doesn't [14:23:57] I did check [14:24:51] at some point, but can't find the documentation right now [14:24:56] I thought you hadn't ruled out the tool misbehaving [14:25:41] https://en.wikipedia.org/wiki/User:PerfektesChaos/js/lintHint [14:25:58] maybe you should find someone that uses the tool, to be able to say (from experience, if there's no documentation available) if the took reports errors on edit mode only or also in view mode [14:26:18] Krenair: To me it seems that something is rendered differently in Edit mode vs view mode [14:26:45] Found the documentation [14:27:17] https://en.wikipedia.org/wiki/User:PerfektesChaos/js/lintHint#Wikisource [14:27:24] Seems it's not analysing the whole page [14:27:45] in EDIT mode [14:28:10] I wouldn't expect a user script from wikipedia to be able to cope with wikisource's Page namespace [14:28:33] the #wpTextbox1 will just be the page body [14:29:13] if you open
s inside the main body, but only close them inside the noinclude footer, don't you have a problem if that page ever gets transcluded? [14:29:48] foxlit: Yes, but in any transclusion they should be balanced out [14:30:32] An opening tag {{template/s}} will be blanced by a {{template/e}} on another page [14:30:40] Krenair: That may be ture [14:30:43] *true [14:31:11] in general, using people's user scripts or gadgets and expecting them to work is risky [14:31:14] but I'm finding many many LinterErrors in relation to Wikisource that are down to the parser not being designed for handling multi-page splits [14:31:32] copying them across wikis and using them on pages with different content models is unlikely to work properly [14:31:43] I'm tired of playing, "hunt the bodge" to get it working [14:32:25] Krenair: This was a script I was SPECIALLY recomended to use [14:32:26] that seems really fragile: the other page has no automatic way of telling how many start tags there were on the transcluded page, so if that ever changes, someone would have to manually go through all the transclusions [14:32:45] foxlit: That's how wikisource does it [14:32:47] (BADLY) [14:32:49] > using people's user scripts or gadgets and expecting them to work is risky --> Well, or at least go blame the user responsible for it and not MediaWiki :) [14:33:31] Vulpix: In viewing mode the tool works [14:33:37] ShakespeareFan00, by who? [14:33:47] doesn't make it MediaWiki's problem ShakespeareFan00 [14:33:54] Krenair: A user at Wikisource [14:34:08] Krenair: OKay sorry [14:34:29] had that user had success in using it on wikisource? [14:34:32] We've established that there seems to be something different in the analysis seen between EDIT and VIEW mode [14:34:37] Krenair: yes.. [14:34:48] you may wish to work with them to figure out the difference [14:34:53] but they were not using as complex formatting as I was [14:35:20] I'll leave a note for the tool maintainer? [14:35:36] that would be the most reasonable thing to do, yes [14:35:52] it's explained in the docs you linked: "On Page: source code editing the current main text (“body”) can be checked directly." [14:36:48] foxklit: It's not in EDIT mode checking the headers and footers it seems [14:37:01] (I.E It's stripping out the noinclude portion [14:37:02] ) [14:37:05] yes, that's exactly what that sentence says it does. [14:37:13] Ah.. [14:37:29] Now I know what to tell the tool maintainer... [14:37:31] :) [14:37:46] That on Wikisource, it needs an additional function [14:38:00] to consider the header/footer content [14:38:53] The use of noinclude in a single text field vs a proper seperation of headers/footers which would be possible if the DB schema was tweaked... [14:39:04] doesn't help [14:39:20] but that's a long rant, I've not been able to impress on developers [14:40:34] and would need the ProofreadPage extension to be rather extensively re-worked [14:41:21] Ideally the headers and footers should be using a pusedo tag, and not a [14:41:48] Does anyone here have a test wiki? [14:47:19] I had some thoughts on what Proofreadpage should be extended to do and wondered if they were as an interest [14:56:46] Krenair, Vulpix, foxlit: Apologies... [14:57:13] I shouldn't have been as conforntational [14:57:17] *confrontational [14:57:32] Having read the documentation for the tool, I think it needs an update [14:57:35] ShakespeareFan00, a test wiki with ProofreadPage installed? [14:57:39] Yep [14:57:46] yep we have https://en.wikisource.beta.wmflabs.org/wiki/Main_Page [14:57:57] Well... Ideally a 'modifed' version of Proofread Page [14:58:08] That splits the header/footer handlign differently [14:58:20] I'd need to find a dev to make the changes though [14:59:44] Okay [15:00:00] I'll have to write a phabricator ticket first though [15:00:09] The changes desired are fairly extensive [15:04:01] yeah [15:11:34] Krenair: In respect of the LintHint tool - https://de.wikipedia.org/wiki/Benutzer_Diskussion:PerfektesChaos#LIntHint..._Option_to_check_entire_source_code,_from_EDIT_form... [15:11:46] I'd appreciate some additional 2 cents from other users [15:12:04] The tool could be extended to look for other things [15:12:08] that's a very wikisource-centric way of wording it [15:13:05] Krenair: Mostly because that was the specfic use case I had in respect of what gets checked [15:13:47] If I was being more general , it would have been to ask from an option to strip noignore tags and check the entrity [15:13:54] of what was present [15:14:02] noinclude tags sorry [15:14:28] Actually, you've just suggested another feature Linthint needs [15:15:38] which is a "transclude" check [15:16:01] as I can think of a few pages (like templates) that render differently on transclusion [17:35:13] salve [17:35:26] ho bisogno d'aiuto [17:35:38] c'è qualcuno che può darmi una mano? [17:37:54] forse [18:00:45] FoxT: https://www.mediawiki.org/w/index.php?title=Requests_for_comment%2FExtension_management_feedback%2FFinding&type=revision&diff=2785245&oldid=2785183