Last modified: 2013-04-13 13:32:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49189, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47189 - Better handling of module and its documentation header and footer
Better handling of module and its documentation header and footer
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
usability
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-13 01:57 UTC by Danny B.
Modified: 2013-04-13 13:32 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Danny B. 2013-04-13 01:57:24 UTC
Add scribunto-doc-page-footer as the module footer with the same behavior as scribunto-doc-page-header ($1 passed), but empty message by default.

Some wikis like/want to have the doc below the code.
Comment 1 Danny B. 2013-04-13 02:15:17 UTC
Sorry, wrong title copied due to poor messages naming. Actually, due to this mistake, I would also suggest better naming consistence of the messages:


(new) scribunto-module-header
  contains by default just "$1", where $1 passed value is is one of:
    * scribunto-doc-page-does-not-exist
    * scribunto-doc-page-show
  depending on the doc state

(new) scribunto-module-footer
  is by default empty, but has $1 passed as above


(same) scribunto-doc-page-header
  contains by default some short info
  $1 is module name with namespace prefix

(new) scribunto-doc-page-footer
  is by default empty, but has $1 passed as above


(same) scribunto-doc-page-show
(same) scribunto-doc-page-does-not-exist
(same) scribunto-doc-page-name


This structure will allow better and more flexible handling of headers and footers of both module and its documentation.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links