diff options
author | Robin Krahl <me@robin-krahl.de> | 2014-11-01 16:02:31 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2014-11-01 16:02:31 +0100 |
commit | 6f251c2526004faa55e4bcb9935aad38bfed7a48 (patch) | |
tree | 9e774fe95a9ba02aa85af595e199203249bcf1e9 /mediawiki.lrdevplugin/Info.lua | |
parent | 0d2d08472aa09dd001b532698e04b0f02e0a44c6 (diff) | |
download | LrMediaWiki-6f251c2526004faa55e4bcb9935aad38bfed7a48.tar.gz LrMediaWiki-6f251c2526004faa55e4bcb9935aad38bfed7a48.tar.bz2 |
Move file description template into a separate file
Move the file description template from the constant
`MediaWikiInterface.fileDescriptionPattern` to the file
`description.txt` in the main directory of the plug-in. This allows
better customization of the file description.
- add `MediaWikiInterface.loadFileDescriptionTemplate` that tries to
read the file description template from the `description.txt` file
- call `MediaWikiInterface.loadFileDescriptionTemplate` before the
description preview and before the export
Fix https://github.com/ireas/LrMediaWiki/issues/29
Diffstat (limited to 'mediawiki.lrdevplugin/Info.lua')
0 files changed, 0 insertions, 0 deletions