[07:30:44] Hello! does anyone know an example that queries `SELECT ... UNION ... SELECT ... ORDER BY ...` by the modern and MediaWiki-friendly way, like using SelectQueryBuilder class? [08:47:23] lens0021: It wouldn't surprise me if there's no direct way. We don't use unions much in MW [08:48:15] But you can build the selects using SelectQueryBuilder... And put them through Database::unionQueries... But doesn't really get you the trailing order by [14:09:38] Reedy: ok I am willing to use the trailing order by, thank you [17:50:29] hello everyone [17:51:23] I am trying to create coding using this extension: https://www.mediawiki.org/wiki/Extension:HTML_Tags [17:52:09] $wgHTMLTagsAttributes['a'] = [ 'href', 'class' ]; AND $wgHTMLTagsAttributes['fieldset'] = []; allow for html [17:53:34] how would I code this??? [17:53:43] [17:53:45] [18:00:23] can i use this javascript with this extension? [18:11:37] is this forum for asking questions? [18:28:59] man, what is this forum used for, a few years ago i had great successs in getting help [18:31:25] whyDontRussiansS, it depends on who is online and who knows the answer :) [18:31:49] i got it! ya [18:31:57] thanks rubin goodbye! [20:17:20] urbanecm, Reedy: can I get a +2 on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/699513 [21:29:46] Hi, I want to show a page that summarize some lists I have on my site, for example I have a page named: "Books in my store" inside it I have few lists by genre and the name of the books, like: "Drama (2): A, B" and I have another page name :"Doors in my store" - same concept. [21:30:23] I search for the best and easy way that when I'm adding a book\door to the relevant page this change will propagate to the main page [21:30:59] and the number (sum) that I show there will be updated accordingly [21:31:43] There is any way to set a "property" for a page and query this property from another page? [21:40:44] built-in, using Categories is your best bet. For example, categorize your Drama pages as [[Category:Drama]]. The category page lists everything categorized that way for automatically viewing the list [21:41:12] and you can use the {{PAGESINCATEGORY:Drama}} magic word to count the number of pages in the category [21:41:20] That means I have to open a page per book/item [21:41:30] if you need more power than that, check out Extension:Cargo or Semantic MediaWiki [21:41:47] Cargo is arguably easier to use/set up than SMW [21:43:48] yes, using categories means you'd need one page per item [21:45:21] TY