The Gramps wiki database is currently being backed up. Please check back in a couple of hours.

User talk:Daleathan

From Gramps
Jump to: navigation, search

Thanks for the encouragement Dale!

Thanks for the encouragement Dale!

I noticed that you added the Icon template (among others) --- thanks for that too!

Sam888 has resolved the problem with MediaWiki refusing to serve context too heavily laden with graphics with the last update. (He's planning another update this weekend.) So it would be nice to finish populating the icon & iconset pages. (I'm hoping to use some icons to alleviate to large blocks of unbroken text.) But the process for uploading the family of icon sizes & SVGs is unclear. Can you help?

(I wonder if putting all the instructional text in the icon template into a transclusion noincludes would boost the performance of the icon template? It wouldn't make much difference on pages with a couple of icons... but when there are dozens?)

We're thinking about ways to suppress superseded pages while leaving them accessible for users of old revs of Gramps.

I'm sketching out a template for a warning box that uses the noindex & nocat magic words, IDs the Gramps version, the page that superseded the page & the current page kid different from the updated page.

Looking forward to hearing back from you. -Brian

Bamaustin (talk) 02:57, 28 April 2020 (UTC)

Your welcome, the only way to improve the icon template is for the webmaster(That is Sam888 right?) to install Lua scripting and then we can use the current version of the icon template that is written in Lua the benefits are improved performance and simpler to program the templates. Daleathan (talk) 23:32, 29 May 2020 (UTC)

Report writing tutorial

I just started exploring the Report writing tutorial and am trying to correlate the code snippets to working code samples in the Gramps GitHub repository.

It's a bit ugly to follow because the snippets are out of sequence. Even if they were in order, the current wiki snippets are pseudo code cannot be Frankensteined into a working sample report Gramplet. And the built-in Database Summary Gramplet doesn't directly correspond either. Perhaps a working sample Report could be made from the snippets and be made available for download? Once it is posted to GitHub, we can hotlink the snippets to a directly to the line numbers that correspond.

I messaged Sam to see if we could start to use a hotlink targeting extension. I would allow us to link to the lines of code & open in a target browser window (instead redirecting the existing browser window) to avoid interrupting the sequential flow of the tutorial.

So, if this extension was installed, we could define a CSS class and the markup could look something like:

<span class="samplecode">[https://github.com/gramps-project/gramps/blob/master/gramps/plugins/textreport/summary.py#L297 line 297]</span>

Perhaps that could even be simplified into a parameterized template.

Bamaustin (talk) 05:46, 10 May 2020 (UTC)

Same as above if Lua script was installed we could use the existing mediawiki/wikipedia templates. Daleathan (talk) 23:34, 29 May 2020 (UTC)

Sync Association

Dale, thanks for the doc update. I am new to git but I think I just did the initial Sync Association commit to the maintenance/gramps51 branch. If you still cannot see it, let me know.

Your welcome, thanks --Daleathan (talk) 05:50, 21 September 2020 (UTC)