Mediawiki ref4/6/2023 > Every page that's dependent on Categories can't find them until the page that has it is refreshed, because the parser for MW doesn't know to force the Templates for SMW. but on the other is a pain in the butt, if you can't do a mass refresh of every page. > Which kinda makes sense on one hand (SMW and MW aren't the same thing, and the MW parser doesn't parse SMW - so SMW has to force it, but can only do so after it is refreshed). > The problem with this is when the DB gets whacked, you have to go to each page, and refresh it (a couple times) for |Categories=X, Y, Z value to get mapped to ]]] ![]() > What happens is that I use the |Categories=X, Y, Z - to define Categories. > On Jun 26, 2022, at 2:39 PM, David Every wrote: But at least if Categories are native, MW parser means it can find the page, and eventually it will get touched/loaded/refreshed, and the SMW values might get set.ĭoes that sounds right? Wrong? Is there a way to rebuild the database AND have it refresh all the pages and avoid the mess? Since all the values are not set - and won't get set until every page is refreshed/purged. This also seems bigger than Categories for SMW. The only solution I could figure out is to PageAll for every page, then write something to iterate every page, and purge them manually? And since you can't find them, you can't refresh them. This is a major problem, because in order to find them, they need to come up in an ask (my ask is an index of all the pages) - and they won't, until they are refreshed first. Every page that's not touched/purged/refreshed doesn't have Categories mapped - it only has the template - so none of them can be found, until every page is purged/touched/refreshed first. * But if you flush the database (as you need to do every now and then, due to quirks/errors). * You refresh/touch/purge the page and the SMW parser/template is run, and it maps all the categories, and thus works: it can be found via the ask. * If you put - and that gets mapped to ] - it hasn't really processed the template so you can't Query for it. Because the MW parser sees that Category:1 exists for that page. * Then later you Ask for all items with Category:1, it'll show up. * if you put: ]] in the Wiki page directly, that MW parser sees it and maps it. Basically, it seems like "Categories" as a field in SMW (and I assume Cargo?) is majorly flawed and people should be warned away from using it to ever set Categories. I'm going to make some edits in SMW documentation. Nobody responded to either of the prior posts. Maybe you have a caching issue? Have you tried disabling all caching?īetreff: Categories= doesn't work right. Wikitech - Technical documentation for Wikimedia Foundation infrastructure and services. This is the default space for publishing technical documents about Wikimedia technology. I often set categories within templates and they get set correctly and can be queried correctly. MediaWiki - MediaWiki software documentation and technical documentation for many other Wikimedia technology projects. I don't think this is the default behavior. Stilizime CSS të aplikuara te stampat CS1|2 Lista që lidh emrat e zakonshëm të gabuar të parametrave me emrat përkatës të saktë Moduli:Citation/CS1/Date validation/sandboxįunksionet e vlerësimit të formatit të datësįunksionet që mbështesin identifikuesit e emëruar (ISBN, DOI, PMID, etj.)įunksionet që japin metadatat e një stampe CS1|2 ![]() Lista e parametrave aktivë dhe të vjetëruar të CS1|2 Because of this, references can come and go over the course of a pages lifetime. One of the features of Wikipedia is that pages can be edited and each version is given a unique ID. This includes all Wikipedia sites, plus some other sites. Tabelat e përkthimit mbajtësit e gabimeve dhe identifikuesve The Wikipedia Agent monitors all WikiMedia properties that are exposed via the MediaWiki Event Stream. Moduli:Citation/CS1/Configuration/sandbox Këto faqe përmbajnë mbështetjen e modulit për stampat e citimit CS1|2: një listë e mbajtësve të identifikuesve si ISBN, DOI, etj., dhe mënyrën e formatimit të tyre.një listë e kushteve të gabimeve që specifikon çfarë teksti të shfaqet, çfarë kategorie duhet të përfshihet (nëse duhet), dhe çfarë pjese të faqes së ndihmës së zgjidhjeve të gabimeve të shfaqet.tabela përkthimi që përmbajnë shumicën e vlerave me fjalë që mund të përfshihen në citimin e bazuar në Lua.Kjo faqe konfigurimi përmban të dhëna të ndryshme që kontrollojnë funksionimin e Modulit:Citation/CS1 dhe rrjedhimisht mënyrën e gjenerimit të citimeve të bazuara në Lua.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |