Albin Larsson

Results 316 comments of Albin Larsson

`self.wikitext` is a wikicode object, `self.page` is a pywikibot page object ``` def addPropertyToTemplate(self, template, property, value, msg): for t in self.wikitext.filter_templates(): if t.name.matches(template): t.add(property, value) self.page.text = str(self.wikitext) self.page.save(msg)...

It was a typo and yes `t` is a template object. `value` contains no whitespace at all(`t`, `value`, and `property` both when this occurred and not).

I will have a hard time creating a minimal working example as it's a inconsistent issue [here](https://commons.wikimedia.org/w/index.php?limit=50&title=Special%3AContributions&contribs=user&target=Abbe98+Bot&namespace=&tagfilter=OAuth+CID%3A+429&year=2016&month=-1) is the contribution log for reference.

I guess a possible hack would be to append the last parameter with a line-break/whitespace? I'm not familiar with the AWB source code.

I'm having this issue too and the data change rate does not need to be very fast for it to happen.

Yes this is something that should be implemented. For the current view, I suggest a new function `current_view` and for accessing all views/queries I suggest that we would expand the...

@joshmoore that's a very good point! `DiscoverQueries` reads query files and that's tricky to get away from as it's necessary for large projects depending on parameterized queries(otherwise the same query...

@joshmoore I think it's better to make it a part of the `current_view` variable, however, something generic that has been thought of is a `read_file` function that could read any...

I'm all for adding it, if `read_file` becomes a reality we just make it an alias and deprecate it over a few releases. Maybe `read_query` is a better name as...

`snowman server` might need some Docker EXPOSE magic.